Go to the documentation of this file.
16 #define NI52_ATTENTION 1
24 #define NI52_MAGICVAL1 0x00
25 #define NI52_MAGICVAL2 0x55
30 #define SCP_DEFAULT_ADDRESS 0xfffff4
79 #define RUC_MASK 0x0070
80 #define RUC_NOP 0x0000
81 #define RUC_START 0x0010
82 #define RUC_RESUME 0x0020
83 #define RUC_SUSPEND 0x0030
84 #define RUC_ABORT 0x0040
88 #define CUC_START 0x01
89 #define CUC_RESUME 0x02
90 #define CUC_SUSPEND 0x03
91 #define CUC_ABORT 0x04
102 #define STAT_MASK 0xf0
105 #define STAT_CNA 0x20
106 #define STAT_RNR 0x10
108 #define CU_STATUS 0x7
109 #define CU_SUSPEND 0x1
110 #define CU_ACTIVE 0x2
112 #define RU_STATUS 0x70
113 #define RU_SUSPEND 0x10
114 #define RU_NOSPACE 0x20
115 #define RU_READY 0x40
134 #define RFD_LAST 0x80
135 #define RFD_SUSP 0x40
136 #define RFD_COMPL 0x80
138 #define RFD_BUSY 0x40
139 #define RFD_ERR_LEN 0x10
140 #define RFD_ERR_CRC 0x08
141 #define RFD_ERR_ALGN 0x04
142 #define RFD_ERR_RNR 0x02
143 #define RFD_ERR_OVR 0x01
145 #define RFD_ERR_FTS 0x0080
146 #define RFD_ERR_NEOP 0x0040
147 #define RFD_ERR_TRUN 0x0020
148 #define RFD_MATCHADD 0x0002
149 #define RFD_COLLDET 0x0001
163 #define RBD_LAST 0x8000
164 #define RBD_USED 0x4000
165 #define RBD_MASK 0x3fff
170 #define STAT_COMPL 0x8000
171 #define STAT_BUSY 0x4000
172 #define STAT_OK 0x2000
177 #define CMD_NOP 0x0000
178 #define CMD_IASETUP 0x0001
179 #define CMD_CONFIGURE 0x0002
180 #define CMD_MCSETUP 0x0003
181 #define CMD_XMIT 0x0004
182 #define CMD_TDR 0x0005
183 #define CMD_DUMP 0x0006
184 #define CMD_DIAGNOSE 0x0007
189 #define CMD_LAST 0x8000
190 #define CMD_SUSPEND 0x4000
191 #define CMD_INT 0x2000
272 #define TCMD_ERRMASK 0x0fa0
273 #define TCMD_MAXCOLLMASK 0x000f
274 #define TCMD_MAXCOLL 0x0020
275 #define TCMD_HEARTBEAT 0x0040
276 #define TCMD_DEFERRED 0x0080
277 #define TCMD_UNDERRUN 0x0100
278 #define TCMD_LOSTCTS 0x0200
279 #define TCMD_NOCARRIER 0x0400
280 #define TCMD_LATECOLL 0x0800
290 #define TDR_LNK_OK 0x8000
291 #define TDR_XCVR_PRB 0x4000
292 #define TDR_ET_OPN 0x2000
293 #define TDR_ET_SRT 0x1000
294 #define TDR_TIMEMASK 0x07ff
306 #define TBD_LAST 0x8000