Go to the documentation of this file.
43 #define inia100_REVID "Initio INI-A100U2W SCSI device driver; Revision: 1.02d"
46 #define ORC_MAXQUEUE 245
47 #define ORC_MAXTAGS 64
49 #define ORC_MAXQUEUE 25
53 #define TOTAL_SG_ENTRY 32
54 #define MAX_TARGETS 16
67 #define DISC_NOT_ALLOW 0x80
68 #define DISC_ALLOW 0xC0
71 #define ORC_OFFSET_SCB 16
72 #define ORC_MAX_SCBS 250
73 #define MAX_CHANNELS 2
74 #define MAX_ESCB_ELE 64
75 #define TCF_DRV_255_63 0x0400
80 #define ORC_CMD_NOP 0x00
81 #define ORC_CMD_VERSION 0x01
82 #define ORC_CMD_ECHO 0x02
83 #define ORC_CMD_SET_NVM 0x03
84 #define ORC_CMD_GET_NVM 0x04
85 #define ORC_CMD_GET_BUS_STATUS 0x05
86 #define ORC_CMD_ABORT_SCB 0x06
87 #define ORC_CMD_ISSUE_SCB 0x07
92 #define ORC_GINTS 0xA0
94 #define ORC_GIMSK 0xA1
98 #define ORC_GSTAT 0xA3
100 #define ORC_HDATA 0xA4
101 #define ORC_HCTRL 0xA5
104 #define HOSTSTOP 0x02
106 #define ORC_HSTUS 0xA6
109 #define ORC_NVRAM 0xA7
114 #define ORC_PQUEUE 0xA8
115 #define ORC_PQCNT 0xA9
116 #define ORC_RQUEUE 0xAA
117 #define ORC_RQUEUECNT 0xAB
118 #define ORC_FWBASEADR 0xAC
120 #define ORC_EBIOSADR0 0xB0
121 #define ORC_EBIOSADR1 0xB1
122 #define ORC_EBIOSADR2 0xB2
123 #define ORC_EBIOSDATA 0xB3
125 #define ORC_SCBSIZE 0xB7
126 #define ORC_SCBBASE0 0xB8
127 #define ORC_SCBBASE1 0xBC
129 #define ORC_RISCCTL 0xE0
130 #define PRGMRST 0x002
131 #define DOWNLOAD 0x001
132 #define ORC_PRGMCTR0 0xE2
133 #define ORC_PRGMCTR1 0xE3
134 #define ORC_RISCRAM 0xEC
177 #define ORC_EXECSCSI 0x00
178 #define ORC_BUSDEVRST 0x01
181 #define ORCSCB_COMPLETE 0x00
182 #define ORCSCB_POST 0x01
185 #define SCF_DISINT 0x01
187 #define SCF_NO_DCHK 0x00
189 #define SCF_DOUT 0x10
190 #define SCF_NO_XF 0x18
191 #define SCF_POLL 0x40
194 #define HOST_SEL_TOUT 0x11
195 #define HOST_DO_DU 0x12
196 #define HOST_BUS_FREE 0x13
197 #define HOST_BAD_PHAS 0x14
198 #define HOST_INV_CMD 0x16
199 #define HOST_SCSI_RST 0x1B
200 #define HOST_DEV_RST 0x1C
204 #define TARGET_CHK_COND 0x02
205 #define TARGET_BUSY 0x08
206 #define TARGET_TAG_FULL 0x28
222 #define TCS_DF_NODASD_SUPT 0x20
223 #define TCS_DF_NOSCSI_SUPT 0x40
249 #define HCF_SCSI_RESET 0x01
250 #define HCF_PARITY 0x02
251 #define HCF_LVDS 0x10
255 #define TCF_EN_255 0x08
256 #define TCF_EN_TAG 0x10
257 #define TCF_BUSY 0x20
258 #define TCF_DISCONNECT 0x40
259 #define TCF_SPIN_UP 0x80
262 #define HCS_AF_IGNORE 0x01
263 #define HCS_AF_DISABLE_RESET 0x10
264 #define HCS_AF_DISABLE_ADPT 0x80
341 #define NBC_BIOSENABLE 0x01
342 #define NBC_CDROM 0x02
343 #define NBC_REMOVABLE 0x04
346 #define NBB_TARGET_MASK 0x0F
347 #define NBB_CHANL_MASK 0xF0
350 #define NCC_BUSRESET 0x01
351 #define NCC_PARITYCHK 0x02
352 #define NCC_LVDS 0x10
353 #define NCC_ACTTERM1 0x20
354 #define NCC_ACTTERM2 0x40
355 #define NCC_AUTOTERM 0x80
358 #define NTC_PERIOD 0x07
359 #define NTC_1GIGA 0x08
360 #define NTC_NO_SYNC 0x10
361 #define NTC_NO_WIDESYNC 0x20
362 #define NTC_DISC_ENABLE 0x40
363 #define NTC_SPINUP 0x80
366 #define NBC_DEFAULT (NBC_ENABLE)
367 #define NCC_DEFAULT (NCC_BUSRESET | NCC_AUTOTERM | NCC_PARITYCHK)
368 #define NCC_MAX_TAGS 0x20
369 #define NCC_RESET_TIME 0x0A
370 #define NTC_DEFAULT (NTC_1GIGA | NTC_NO_WIDESYNC | NTC_DISC_ENABLE)