182fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham/**************************************************************************** 282fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham **************************************************************************** 382fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** 482fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** This header was automatically generated from a Linux kernel header 582fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** of the same name, to make information necessary for userspace to 682fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** call into the kernel available to libc. It contains only constants, 782fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** structures, and macros generated from the original header, and thus, 882fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** contains no copyrightable information. 982fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** 1082fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** To edit the content of this header, modify the corresponding 1182fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** source file (e.g. under external/kernel-headers/original/) then 1282fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** run bionic/libc/kernel/tools/update_all.py 1382fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** 1482fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** Any manual change here will be lost the next time this script will 1582fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** be run. You've been warned! 1682fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham *** 1782fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham **************************************************************************** 1882fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham ****************************************************************************/ 1982fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham#ifndef __ASM_MIPS_DEC_IOASIC_ADDRS_H 2082fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham#define __ASM_MIPS_DEC_IOASIC_ADDRS_H 2182fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham#define IOASIC_SLOT_SIZE 0x00040000 22c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_SYS_ROM (0*IOASIC_SLOT_SIZE) 23c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_IOCTL (1*IOASIC_SLOT_SIZE) 25c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_ESAR (2*IOASIC_SLOT_SIZE) 26c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_LANCE (3*IOASIC_SLOT_SIZE) 27c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_SCC0 (4*IOASIC_SLOT_SIZE) 28c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_VDAC_HI (5*IOASIC_SLOT_SIZE) 30c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_SCC1 (6*IOASIC_SLOT_SIZE) 31c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_VDAC_LO (7*IOASIC_SLOT_SIZE) 32c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_TOY (8*IOASIC_SLOT_SIZE) 33c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_ISDN (9*IOASIC_SLOT_SIZE) 35c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_ERRADDR (9*IOASIC_SLOT_SIZE) 36c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_CHKSYN (10*IOASIC_SLOT_SIZE) 37c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_ACC_BUS (10*IOASIC_SLOT_SIZE) 38c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_MCR (11*IOASIC_SLOT_SIZE) 40c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_FLOPPY (11*IOASIC_SLOT_SIZE) 41c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_SCSI (12*IOASIC_SLOT_SIZE) 42c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_FDC_DMA (13*IOASIC_SLOT_SIZE) 43c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_SCSI_DMA (14*IOASIC_SLOT_SIZE) 45c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IOASIC_RES_15 (15*IOASIC_SLOT_SIZE) 46c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCSI_DMA_P 0x00 47c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCSI_DMA_BP 0x10 48c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_LANCE_DMA_P 0x20 50c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCC0A_T_DMA_P 0x30 51c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCC0A_R_DMA_P 0x40 52c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCC1A_T_DMA_P 0x50 53c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCC1A_R_DMA_P 0x60 55c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_AB_T_DMA_P 0x50 56c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_AB_R_DMA_P 0x60 57c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_FLOPPY_DMA_P 0x70 58c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_ISDN_T_DMA_P 0x80 60c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_ISDN_T_DMA_BP 0x90 61c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_ISDN_R_DMA_P 0xa0 62c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_ISDN_R_DMA_BP 0xb0 63c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_DATA_0 0xc0 65c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_DATA_1 0xd0 66c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_DATA_2 0xe0 67c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_DATA_3 0xf0 68c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SSR 0x100 70c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SIR 0x110 71c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SIMR 0x120 72c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SAR 0x130 73c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_ISDN_T_DATA 0x140 75c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_ISDN_R_DATA 0x150 76c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_LANCE_SLOT 0x160 77c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCSI_SLOT 0x170 78c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCC0A_SLOT 0x180 80c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCC1A_SLOT 0x190 81c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_AB_SLOT 0x190 82c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_FLOPPY_SLOT 0x1a0 83c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCSI_SCR 0x1b0 85c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCSI_SDR0 0x1c0 86c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_SCSI_SDR1 0x1d0 87c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_FCTR 0x1e0 88c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_REG_RES_31 0x1f0 90c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_SCC0A_TX_DMA_EN (1<<31) 91c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_SCC0A_RX_DMA_EN (1<<30) 92c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_RES_27 (1<<27) 93c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_RES_26 (1<<26) 95c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_RES_25 (1<<25) 96c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_RES_24 (1<<24) 97c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_RES_23 (1<<23) 98c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_SCSI_DMA_DIR (1<<18) 100c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_SCSI_DMA_EN (1<<17) 101c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_LANCE_DMA_EN (1<<16) 102c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_SCC1A_TX_DMA_EN (1<<29) 103c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_SCC1A_RX_DMA_EN (1<<28) 105c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_RES_22 (1<<22) 106c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_RES_21 (1<<21) 107c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_RES_20 (1<<20) 108c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_RES_19 (1<<19) 110c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_AB_TX_DMA_EN (1<<29) 111c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_AB_RX_DMA_EN (1<<28) 112c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_FLOPPY_DMA_DIR (1<<22) 113c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_FLOPPY_DMA_EN (1<<21) 115c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_ISDN_TX_DMA_EN (1<<20) 116c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define IO_SSR_ISDN_RX_DMA_EN (1<<19) 117c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define KN0X_IO_SSR_DIAGDN (1<<15) 118c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define KN0X_IO_SSR_SCC_RST (1<<11) 120c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define KN0X_IO_SSR_RTC_RST (1<<10) 121c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define KN0X_IO_SSR_ASC_RST (1<<9) 122c95eb57405d3d2f0e6cfab313aa74b1bad280452Elliott Hughes#define KN0X_IO_SSR_LANCE_RST (1<<8) 12382fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 12482fa43febc9d679ae6276f6bf992b9b345bb5815Raghu Gandham#endif 125