Go to the documentation of this file.
50 #define SEQ_DMA_MODE 0x80
51 #define SEQ_TARGET 0x40
53 #define SEQ_ACTIVE_NEG 0x10
55 #define SEQ_ARBITRATE 1
64 #define SEQ_ENBPARITY 0x0a
65 #define SEQ_DISPARITY 0x0b
66 #define SEQ_ENBRESEL 0x0c
67 #define SEQ_DISRESEL 0x0d
68 #define SEQ_RESETMESH 0x0e
69 #define SEQ_FLUSHFIFO 0x0f
84 #define BS0_PHASE (BS0_MSG+BS0_CD+BS0_IO)
86 #define BP_DATAIN BS0_IO
87 #define BP_COMMAND BS0_CD
88 #define BP_STATUS (BS0_CD+BS0_IO)
89 #define BP_MSGOUT (BS0_MSG+BS0_CD)
90 #define BP_MSGIN (BS0_MSG+BS0_CD+BS0_IO)
93 #define EXC_SELWATN 0x20
94 #define EXC_SELECTED 0x10
95 #define EXC_RESELECTED 0x08
96 #define EXC_ARBLOST 0x04
97 #define EXC_PHASEMM 0x02
98 #define EXC_SELTO 0x01
101 #define ERR_UNEXPDISC 0x40
102 #define ERR_SCSIRESET 0x20
103 #define ERR_SEQERR 0x10
104 #define ERR_PARITY 0x01
107 #define INT_ERROR 0x04
108 #define INT_EXCEPTION 0x02
109 #define INT_CMDDONE 0x01
112 #define SYNC_OFF(x) ((x) >> 4)
113 #define SYNC_PER(x) ((x) & 0xf)
114 #define SYNC_PARAMS(o, p) (((o) << 4) | (p))
115 #define ASYNC_PARAMS 2