2 * DO NOT EDIT - This file is automatically generated.
10 #define ENAUTOATNO 0x08
11 #define ENAUTOATNI 0x04
12 #define ENAUTOATNP 0x02
25 #define BITBUCKET 0x80
52 #define SXFR_ULTRA2 0x7f
57 #define SCSIOFFSET 0x05
58 #define SOFS_ULTRA2 0x7f
66 #define OPTIONMODE 0x08
67 #define AUTORATEEN 0x80
68 #define AUTOACKEN 0x40
69 #define ATNMGMNTEN 0x20
70 #define BUSFREEREV 0x10
71 #define EXPPHASEDIS 0x08
72 #define SCSIDATL_IMGEN 0x04
73 #define AUTO_MSGOUT_DE 0x02
74 #define DIS_MSGIN_DUALEDGE 0x01
79 #define CLRSELINGO 0x10
81 #define CLRSPIORDY 0x02
95 #define CLRSELTIMEO 0x80
97 #define CLRSCSIRSTI 0x20
98 #define CLRBUSFREE 0x08
99 #define CLRSCSIPERR 0x04
100 #define CLRPHASECHG 0x02
101 #define CLRREQINIT 0x01
106 #define SCSIRSTI 0x20
107 #define PHASEMIS 0x10
109 #define SCSIPERR 0x04
110 #define PHASECHG 0x02
116 #define WIDE_RES 0x20
118 #define EXP_ACTIVE 0x10
119 #define CRCVALERR 0x08
120 #define CRCENDERR 0x04
121 #define CRCREQERR 0x02
122 #define DUAL_EDGE_ERROR 0x01
128 #define SCSIID_ULTRA2 0x0f
134 #define ENSELINGO 0x10
138 #define ENSPIORDY 0x02
139 #define ENDMADONE 0x01
142 #define ENSELTIMO 0x80
143 #define ENATNTARG 0x40
144 #define ENSCSIRST 0x20
145 #define ENPHASEMIS 0x10
146 #define ENBUSFREE 0x08
147 #define ENSCSIPERR 0x04
148 #define ENPHASECHG 0x02
149 #define ENREQINIT 0x01
151 #define SCSIBUSL 0x12
153 #define SCSIBUSH 0x13
157 #define SELTIMER 0x18
166 #define SELID_MASK 0xf0
172 #define SOFTCMDEN 0x20
173 #define HAS_BRDCTL 0x10
177 #define SSPIOCPS 0x01
189 #define BRDRW_ULTRA2 0x02
191 #define BRDSTB_ULTRA2 0x01
195 #define EXTARBACK 0x80
196 #define EXTARBREQ 0x40
205 #define DIAGLEDEN 0x80
206 #define DIAGLEDON 0x40
207 #define AUTOFLUSHDIS 0x20
213 #define SRAM_BASE 0x20
215 #define TARG_SCSIRATE 0x20
217 #define ULTRA_ENB 0x30
219 #define DISC_DSB 0x32
223 #define DMAPARAMS 0x35
224 #define PRELOADEN 0x80
227 #define SDMAENACK 0x10
230 #define HDMAENACK 0x08
231 #define DIRECTION 0x04
232 #define FIFOFLUSH 0x02
233 #define FIFORESET 0x01
235 #define SEQ_FLAGS 0x36
236 #define IDENTIFY_SEEN 0x80
237 #define SCBPTR_VALID 0x20
239 #define AMTARGET 0x08
240 #define WIDE_BUS 0x02
241 #define TWIN_BUS 0x01
243 #define SAVED_TCL 0x37
245 #define SG_COUNT 0x38
249 #define LASTPHASE 0x3d
250 #define P_MESGIN 0xe0
251 #define PHASE_MASK 0xe0
252 #define P_STATUS 0xc0
253 #define P_MESGOUT 0xa0
254 #define P_COMMAND 0x80
257 #define P_DATAIN 0x40
259 #define P_BUSFREE 0x01
260 #define P_DATAOUT 0x00
262 #define WAITING_SCBH 0x3e
264 #define DISCONNECTED_SCBH 0x3f
266 #define FREE_SCBH 0x40
268 #define HSCB_ADDR 0x41
270 #define SCBID_ADDR 0x45
272 #define TMODE_CMDADDR 0x49
274 #define KERNEL_QINPOS 0x4d
280 #define TMODE_CMDADDR_NEXT 0x50
283 #define RETURN_1 0x51
284 #define SEND_MSG 0x80
285 #define SEND_SENSE 0x40
286 #define SEND_REJ 0x20
287 #define MSGOUT_PHASEMIS 0x10
290 #define RETURN_2 0x52
292 #define LAST_MSG 0x53
294 #define PREFETCH_CNT 0x54
296 #define SCSICONF 0x5a
297 #define TERM_ENB 0x80
298 #define RESET_SCSI 0x40
299 #define HWSCSIID 0x0f
302 #define HOSTCONF 0x5d
304 #define HA_274_BIOSCTRL 0x5f
305 #define BIOSMODE 0x30
306 #define BIOSDISABLED 0x30
307 #define CHANNEL_B_PRIMARY 0x08
310 #define PERRORDIS 0x80
311 #define PAUSEDIS 0x40
313 #define FASTMODE 0x10
314 #define BRKADRINTEN 0x08
316 #define SEQRESET 0x02
321 #define SEQADDR0 0x62
323 #define SEQADDR1 0x63
324 #define SEQADDR1_MASK 0x01
334 #define ALLZEROS 0x6a
346 #define FUNCTION1 0x6e
350 #define TARG_OFFSET 0x70
356 #define DSCOMMAND0 0x84
357 #define INTSCBRAMSEL 0x08
359 #define USCBSIZE32 0x02
360 #define CIOPARCKEN 0x01
362 #define DSCOMMAND 0x84
363 #define CACHETHEN 0x80
364 #define DPARCKEN 0x40
365 #define MPARCKEN 0x20
366 #define EXTREQLCK 0x10
377 #define DSPCISTATUS 0x86
378 #define DFTHRSH_100 0xc0
387 #define CHIPRSTACK 0x01
396 #define SEQINT_MASK 0xf1
397 #define DATA_OVERRUN 0xe1
398 #define MSGIN_PHASEMIS 0xd1
399 #define TRACEPOINT2 0xc1
400 #define SEQ_SG_FIXUP 0xb1
401 #define AWAITING_MSG 0xa1
402 #define RESIDUAL 0x81
403 #define BAD_STATUS 0x71
404 #define REJECT_MSG 0x61
405 #define WIDE_RESIDUE 0x51
406 #define EXTENDED_MSG 0x41
407 #define NO_MATCH 0x31
408 #define NO_IDENT 0x21
409 #define SEND_REJECT 0x11
410 #define INT_PEND 0x0f
411 #define BRKADRINT 0x08
413 #define CMDCMPLT 0x02
414 #define BAD_PHASE 0x01
418 #define CLRPARERR 0x10
419 #define CLRBRKADRINT 0x08
420 #define CLRSCSIINT 0x04
421 #define CLRCMDINT 0x02
422 #define CLRSEQINT 0x01
425 #define CIOPARERR 0x80
426 #define PCIERRSTAT 0x40
429 #define SQPARERR 0x08
430 #define ILLOPCODE 0x04
431 #define DSCTMOUT 0x02
432 #define ILLSADDR 0x02
433 #define ILLHADDR 0x01
437 #define DFSTATUS 0x94
438 #define PRELOAD_AVAIL 0x80
439 #define DWORDEMP 0x20
440 #define MREQPEND 0x10
442 #define DFTHRESH 0x04
443 #define FIFOFULL 0x02
450 #define SCBCNT_MASK 0x1f
456 #define SCSIDATL_IMG 0x9c
458 #define QOUTFIFO 0x9d
460 #define CRCCONTROL1 0x9d
461 #define CRCONSEEN 0x80
462 #define CRCVALCHKEN 0x40
463 #define CRCENDCHKEN 0x20
464 #define CRCREQCHKEN 0x10
465 #define TARGCRCENDEN 0x08
466 #define TARGCRCCNTEN 0x04
468 #define SCSIPHASE 0x9e
469 #define SP_STATUS 0x20
470 #define SP_COMMAND 0x10
471 #define SP_MSG_IN 0x08
472 #define SP_MSG_OUT 0x04
473 #define SP_DATA_IN 0x02
474 #define SP_DATA_OUT 0x01
479 #define ALT_MODE 0x80
481 #define SCB_CONTROL 0xa0
482 #define MK_MESSAGE 0x80
485 #define DISCONNECTED 0x04
486 #define SCB_TAG_TYPE 0x03
488 #define SCB_BASE 0xa0
495 #define SCB_TARGET_STATUS 0xa2
497 #define SCB_SGCOUNT 0xa3
499 #define SCB_SGPTR 0xa4
501 #define SCB_RESID_SGCNT 0xa8
503 #define SCB_RESID_DCNT 0xa9
505 #define SCB_DATAPTR 0xac
507 #define SCB_DATACNT 0xb0
509 #define SCB_CMDPTR 0xb4
511 #define SCB_CMDLEN 0xb8
515 #define SCB_NEXT 0xba
517 #define SCB_PREV 0xbb
519 #define SCB_BUSYTARGETS 0xbc
521 #define SEECTL_2840 0xc0
526 #define STATUS_2840 0xc1
527 #define EEPROM_TF 0x80
528 #define BIOS_SEL 0x60
538 #define CCSGADDR 0xea
541 #define CCSGDONE 0x80
544 #define CCSGRESET 0x01
546 #define CCSCBRAM 0xec
548 #define CCSCBADDR 0xed
550 #define CCSCBCTL 0xee
551 #define CCSCBDONE 0x80
555 #define CCSCBDIR 0x04
556 #define CCSCBRESET 0x01
558 #define CCSCBCNT 0xef
560 #define CCSCBPTR 0xf1
562 #define HNSCB_QOFF 0xf4
564 #define HESCB_QOFF 0xf5
566 #define SNSCB_QOFF 0xf6
568 #define SESCB_QOFF 0xf7
570 #define SDSCB_QOFF 0xf8
572 #define QOFF_CTLSTA 0xfa
573 #define ESTABLISH_SCB_AVAIL 0x80
574 #define SCB_AVAIL 0x40
575 #define SNSCB_ROLLOVER 0x20
576 #define SDSCB_ROLLOVER 0x10
577 #define SESCB_ROLLOVER 0x08
578 #define SCB_QSIZE 0x07
579 #define SCB_QSIZE_256 0x06
581 #define DFF_THRSH 0xfb
582 #define WR_DFTHRSH 0x70
583 #define WR_DFTHRSH_MAX 0x70
584 #define WR_DFTHRSH_90 0x60
585 #define WR_DFTHRSH_85 0x50
586 #define WR_DFTHRSH_75 0x40
587 #define WR_DFTHRSH_63 0x30
588 #define WR_DFTHRSH_50 0x20
589 #define WR_DFTHRSH_25 0x10
590 #define RD_DFTHRSH_MAX 0x07
591 #define RD_DFTHRSH 0x07
592 #define RD_DFTHRSH_90 0x06
593 #define RD_DFTHRSH_85 0x05
594 #define RD_DFTHRSH_75 0x04
595 #define RD_DFTHRSH_63 0x03
596 #define RD_DFTHRSH_50 0x02
597 #define RD_DFTHRSH_25 0x01
598 #define WR_DFTHRSH_MIN 0x00
599 #define RD_DFTHRSH_MIN 0x00
601 #define SG_CACHEPTR 0xfc
602 #define SG_USER_DATA 0xfc
603 #define LAST_SEG 0x02
604 #define LAST_SEG_DONE 0x01
607 #define CMD_GROUP2_BYTE_DELTA 0xfa
608 #define MAX_OFFSET_8BIT 0x0f
609 #define BUS_16_BIT 0x01
610 #define QINFIFO_OFFSET 0x02
611 #define CMD_GROUP5_BYTE_DELTA 0x0b
612 #define CMD_GROUP_CODE_SHIFT 0x05
613 #define MAX_OFFSET_ULTRA2 0x7f
614 #define MAX_OFFSET_16BIT 0x08
615 #define BUS_8_BIT 0x00
616 #define QOUTFIFO_OFFSET 0x01
617 #define UNTAGGEDSCB_OFFSET 0x00
618 #define CCSGRAM_MAXSEGS 0x10
619 #define SCB_LIST_NULL 0xff
620 #define SG_SIZEOF 0x08
621 #define CMD_GROUP4_BYTE_DELTA 0x04
622 #define CMD_GROUP0_BYTE_DELTA 0xfc
623 #define HOST_MSG 0xff
624 #define BUS_32_BIT 0x02
625 #define CCSGADDR_MAX 0x80
628 /* Downloaded Constant Definitions */
629 #define TMODE_NUMCMDS 0x00