Go to the documentation of this file.
18 #ifndef __ASM_MIPS_DEC_IOASIC_ADDRS_H
19 #define __ASM_MIPS_DEC_IOASIC_ADDRS_H
21 #define IOASIC_SLOT_SIZE 0x00040000
26 #define IOASIC_SYS_ROM (0*IOASIC_SLOT_SIZE)
27 #define IOASIC_IOCTL (1*IOASIC_SLOT_SIZE)
28 #define IOASIC_ESAR (2*IOASIC_SLOT_SIZE)
29 #define IOASIC_LANCE (3*IOASIC_SLOT_SIZE)
30 #define IOASIC_SCC0 (4*IOASIC_SLOT_SIZE)
31 #define IOASIC_VDAC_HI (5*IOASIC_SLOT_SIZE)
32 #define IOASIC_SCC1 (6*IOASIC_SLOT_SIZE)
33 #define IOASIC_VDAC_LO (7*IOASIC_SLOT_SIZE)
34 #define IOASIC_TOY (8*IOASIC_SLOT_SIZE)
35 #define IOASIC_ISDN (9*IOASIC_SLOT_SIZE)
36 #define IOASIC_ERRADDR (9*IOASIC_SLOT_SIZE)
37 #define IOASIC_CHKSYN (10*IOASIC_SLOT_SIZE)
38 #define IOASIC_ACC_BUS (10*IOASIC_SLOT_SIZE)
39 #define IOASIC_MCR (11*IOASIC_SLOT_SIZE)
40 #define IOASIC_FLOPPY (11*IOASIC_SLOT_SIZE)
41 #define IOASIC_SCSI (12*IOASIC_SLOT_SIZE)
42 #define IOASIC_FDC_DMA (13*IOASIC_SLOT_SIZE)
43 #define IOASIC_SCSI_DMA (14*IOASIC_SLOT_SIZE)
44 #define IOASIC_RES_15 (15*IOASIC_SLOT_SIZE)
52 #define IO_REG_SCSI_DMA_P 0x00
53 #define IO_REG_SCSI_DMA_BP 0x10
54 #define IO_REG_LANCE_DMA_P 0x20
55 #define IO_REG_SCC0A_T_DMA_P 0x30
56 #define IO_REG_SCC0A_R_DMA_P 0x40
59 #define IO_REG_SCC1A_T_DMA_P 0x50
60 #define IO_REG_SCC1A_R_DMA_P 0x60
63 #define IO_REG_AB_T_DMA_P 0x50
64 #define IO_REG_AB_R_DMA_P 0x60
65 #define IO_REG_FLOPPY_DMA_P 0x70
66 #define IO_REG_ISDN_T_DMA_P 0x80
67 #define IO_REG_ISDN_T_DMA_BP 0x90
68 #define IO_REG_ISDN_R_DMA_P 0xa0
69 #define IO_REG_ISDN_R_DMA_BP 0xb0
72 #define IO_REG_DATA_0 0xc0
73 #define IO_REG_DATA_1 0xd0
74 #define IO_REG_DATA_2 0xe0
75 #define IO_REG_DATA_3 0xf0
78 #define IO_REG_SSR 0x100
79 #define IO_REG_SIR 0x110
80 #define IO_REG_SIMR 0x120
81 #define IO_REG_SAR 0x130
84 #define IO_REG_ISDN_T_DATA 0x140
85 #define IO_REG_ISDN_R_DATA 0x150
88 #define IO_REG_LANCE_SLOT 0x160
89 #define IO_REG_SCSI_SLOT 0x170
90 #define IO_REG_SCC0A_SLOT 0x180
93 #define IO_REG_SCC1A_SLOT 0x190
96 #define IO_REG_AB_SLOT 0x190
97 #define IO_REG_FLOPPY_SLOT 0x1a0
100 #define IO_REG_SCSI_SCR 0x1b0
101 #define IO_REG_SCSI_SDR0 0x1c0
102 #define IO_REG_SCSI_SDR1 0x1d0
103 #define IO_REG_FCTR 0x1e0
104 #define IO_REG_RES_31 0x1f0
115 #define IO_SSR_SCC0A_TX_DMA_EN (1<<31)
116 #define IO_SSR_SCC0A_RX_DMA_EN (1<<30)
117 #define IO_SSR_RES_27 (1<<27)
118 #define IO_SSR_RES_26 (1<<26)
119 #define IO_SSR_RES_25 (1<<25)
120 #define IO_SSR_RES_24 (1<<24)
121 #define IO_SSR_RES_23 (1<<23)
122 #define IO_SSR_SCSI_DMA_DIR (1<<18)
123 #define IO_SSR_SCSI_DMA_EN (1<<17)
124 #define IO_SSR_LANCE_DMA_EN (1<<16)
127 #define IO_SSR_SCC1A_TX_DMA_EN (1<<29)
128 #define IO_SSR_SCC1A_RX_DMA_EN (1<<28)
129 #define IO_SSR_RES_22 (1<<22)
130 #define IO_SSR_RES_21 (1<<21)
131 #define IO_SSR_RES_20 (1<<20)
132 #define IO_SSR_RES_19 (1<<19)
135 #define IO_SSR_AB_TX_DMA_EN (1<<29)
136 #define IO_SSR_AB_RX_DMA_EN (1<<28)
137 #define IO_SSR_FLOPPY_DMA_DIR (1<<22)
138 #define IO_SSR_FLOPPY_DMA_EN (1<<21)
139 #define IO_SSR_ISDN_TX_DMA_EN (1<<20)
140 #define IO_SSR_ISDN_RX_DMA_EN (1<<19)
146 #define KN0X_IO_SSR_DIAGDN (1<<15)
147 #define KN0X_IO_SSR_SCC_RST (1<<11)
148 #define KN0X_IO_SSR_RTC_RST (1<<10)
149 #define KN0X_IO_SSR_ASC_RST (1<<9)
150 #define KN0X_IO_SSR_LANCE_RST (1<<8)