ncr53c9xreg.h Source File
Back to the index.
Go to the documentation of this file.
47 #define NCRCMD_DMA 0x80
48 #define NCRCMD_NOP 0x00
49 #define NCRCMD_FLUSH 0x01
50 #define NCRCMD_RSTCHIP 0x02
51 #define NCRCMD_RSTSCSI 0x03
52 #define NCRCMD_RESEL 0x40
53 #define NCRCMD_SELNATN 0x41
54 #define NCRCMD_SELATN 0x42
55 #define NCRCMD_SELATNS 0x43
56 #define NCRCMD_ENSEL 0x44
57 #define NCRCMD_DISSEL 0x45
58 #define NCRCMD_SELATN3 0x46
59 #define NCRCMD_RESEL3 0x47
60 #define NCRCMD_SNDMSG 0x20
61 #define NCRCMD_SNDSTAT 0x21
62 #define NCRCMD_SNDDATA 0x22
63 #define NCRCMD_DISCSEQ 0x23
64 #define NCRCMD_TERMSEQ 0x24
65 #define NCRCMD_TCCS 0x25
66 #define NCRCMD_DISC 0x27
67 #define NCRCMD_RECMSG 0x28
68 #define NCRCMD_RECCMD 0x29
69 #define NCRCMD_RECDATA 0x2a
70 #define NCRCMD_RECCSEQ 0x2b
71 #define NCRCMD_ABORT 0x04
72 #define NCRCMD_TRANS 0x10
73 #define NCRCMD_ICCS 0x11
74 #define NCRCMD_MSGOK 0x12
75 #define NCRCMD_TRPAD 0x18
76 #define NCRCMD_SETATN 0x1a
77 #define NCRCMD_RSTATN 0x1b
80 #define NCRSTAT_INT 0x80
81 #define NCRSTAT_GE 0x40
82 #define NCRSTAT_PE 0x20
83 #define NCRSTAT_TC 0x10
84 #define NCRSTAT_VGC 0x08
85 #define NCRSTAT_PHASE 0x07
87 #define NCR_SELID 0x04
88 #define NCR_BUSID_HME 0x10
89 #define NCR_BUSID_HME32 0x40
92 #define NCRINTR_SBR 0x80
93 #define NCRINTR_ILL 0x40
94 #define NCRINTR_DIS 0x20
95 #define NCRINTR_BS 0x10
96 #define NCRINTR_FC 0x08
97 #define NCRINTR_RESEL 0x04
98 #define NCRINTR_SELATN 0x02
99 #define NCRINTR_SEL 0x01
101 #define NCR_TIMEOUT 0x05
103 #define NCR_STEP 0x06
104 #define NCRSTEP_MASK 0x07
105 #define NCRSTEP_DONE 0x04
107 #define NCR_SYNCTP 0x06
110 #define NCR_FFLAG 0x07
111 #define NCRFIFO_SS 0xe0
112 #define NCRFIFO_FF 0x1f
114 #define NCR_SYNCOFF 0x07
118 #define NCR_CFG1 0x08
119 #define NCRCFG1_SLOW 0x80
120 #define NCRCFG1_SRR 0x40
121 #define NCRCFG1_PTEST 0x20
122 #define NCRCFG1_PARENB 0x10
123 #define NCRCFG1_CTEST 0x08
124 #define NCRCFG1_BUSID 0x07
136 #define NCR_TEST 0x0a
138 #define NCR_CFG2 0x0b
139 #define NCRCFG2_RSVD 0xa0
140 #define NCRCFG2_FE 0x40
141 #define NCRCFG2_DREQ 0x10
142 #define NCRCFG2_SCSI2 0x08
143 #define NCRCFG2_BPA 0x04
144 #define NCRCFG2_RPE 0x02
145 #define NCRCFG2_DPE 0x01
147 #define NCRCFG2_HMEFE 0x10
148 #define NCRCFG2_HME32 0x80
151 #define NCR_CFG3 0x0c
152 #define NCRCFG3_RSVD 0xe0
153 #define NCRCFG3_IDM 0x10
154 #define NCRCFG3_QTE 0x08
155 #define NCRCFG3_CDB 0x04
156 #define NCRCFG3_FSCSI 0x02
157 #define NCRCFG3_FCLK 0x01
167 #define NCR_ESPCFG3 0x0c
168 #define NCRESPCFG3_IDM 0x80
169 #define NCRESPCFG3_QTE 0x40
170 #define NCRESPCFG3_CDB 0x20
171 #define NCRESPCFG3_FSCSI 0x10
172 #define NCRESPCFG3_SRESB 0x08
173 #define NCRESPCFG3_FCLK 0x04
174 #define NCRESPCFG3_ADMA 0x02
175 #define NCRESPCFG3_T8M 0x01
178 #define NCR_F9XCFG3 0x0c
179 #define NCRF9XCFG3_IDM 0x80
180 #define NCRF9XCFG3_QTE 0x40
181 #define NCRF9XCFG3_CDB 0x20
182 #define NCRF9XCFG3_FSCSI 0x10
183 #define NCRF9XCFG3_FCLK 0x08
184 #define NCRF9XCFG3_SRESB 0x04
185 #define NCRF9XCFG3_ADMA 0x02
186 #define NCRF9XCFG3_T8M 0x01
189 #define NCRFASCFG3_OBAUTO 0x80
190 #define NCRFASCFG3_EWIDE 0x40
191 #define NCRFASCFG3_IDBIT3 0x20
192 #define NCRFASCFG3_IDRESCHK 0x10
193 #define NCRFASCFG3_QUENB 0x08
194 #define NCRFASCFG3_CDB10 0x04
195 #define NCRFASCFG3_FASTSCSI 0x02
196 #define NCRFASCFG3_FASTCLK 0x01
199 #define NCR_CFG4 0x0d
200 #define NCRCFG4_CRS1 0x80
201 #define NCRCFG4_RSVD 0x7b
202 #define NCRCFG4_ACTNEG 0x04
212 #define NCRJMP_RSVD 0xc0
213 #define NCRJMP_ROMSZ 0x20
214 #define NCRJMP_J4 0x10
215 #define NCRJMP_J3 0x08
216 #define NCRJMP_J2 0x04
217 #define NCRJMP_J1 0x02
218 #define NCRJMP_J0 0x01
220 #define NCR_PIOFIFO 0x04
222 #define NCR_PSTAT 0x08
223 #define NCRPSTAT_PERR 0x80
224 #define NCRPSTAT_SIRQ 0x40
225 #define NCRPSTAT_ATAI 0x20
226 #define NCRPSTAT_FEMPT 0x10
227 #define NCRPSTAT_F13 0x08
228 #define NCRPSTAT_F23 0x04
229 #define NCRPSTAT_FFULL 0x02
230 #define NCRPSTAT_PIOM 0x01
232 #define NCR_PIOI 0x0b
233 #define NCRPIOI_RSVD 0xe0
234 #define NCRPIOI_EMPTY 0x10
235 #define NCRPIOI_13 0x08
236 #define NCRPIOI_23 0x04
237 #define NCRPIOI_FULL 0x02
238 #define NCRPIOI_FINV 0x01
240 #define NCR_CFG5 0x0d
241 #define NCRCFG5_CRS1 0x80
242 #define NCRCFG5_SRAM 0x40
243 #define NCRCFG5_AADDR 0x20
244 #define NCRCFG5_PTRINC 0x10
245 #define NCRCFG5_LOWPWR 0x08
246 #define NCRCFG5_SINT 0x04
247 #define NCRCFG5_INTP 0x02
248 #define NCRCFG5_AINT 0x01
250 #define NCR_SIGNTR 0x0e
253 #define NCR_AMDCFG3 0x0c
254 #define NCRAMDCFG3_IDM 0x80
255 #define NCRAMDCFG3_QTE 0x40
256 #define NCRAMDCFG3_CDB 0x20
257 #define NCRAMDCFG3_FSCSI 0x10
258 #define NCRAMDCFG3_FCLK 0x08
259 #define NCRAMDCFG3_RSVD 0x07
262 #define NCR_AMDCFG4 0x0d
263 #define NCRAMDCFG4_GE 0xc0
264 #define NCRAMDCFG4_GE12NS 0x00
265 #define NCRAMDCFG4_GE25NS 0x80
266 #define NCRAMDCFG4_GE35NS 0x40
267 #define NCRAMDCFG4_GE0NS 0xc0
268 #define NCRAMDCFG4_PWD 0x20
269 #define NCRAMDCFG4_RSVD 0x13
270 #define NCRAMDCFG4_RAE 0x08
271 #define NCRAMDCFG4_RADE 0x04
276 #define NCR_RCL NCR_TCH
278 #define NCR_UID NCR_RCL
282 #define NCR_STAT2 NCR_CCF
283 #define NCRFAS_STAT2_SEQCNT 0x01
284 #define NCRFAS_STAT2_FLATCHED 0x02
285 #define NCRFAS_STAT2_CLATCHED 0x04
286 #define NCRFAS_STAT2_CACTIVE 0x08
287 #define NCRFAS_STAT2_SCSI16 0x10
288 #define NCRFAS_STAT2_ISHUTTLE 0x20
289 #define NCRFAS_STAT2_OSHUTTLE 0x40
290 #define NCRFAS_STAT2_EMPTY 0x80
Generated on Tue Mar 24 2020 14:04:48 for GXemul by
1.8.17