Lines Matching +full:0 +full:x2000
15 #define NI52_RESET 0 /* writing to this address, resets the i82586 */
24 #define NI52_MAGICVAL1 0x00 /* magic-values for ni5210 card */
25 #define NI52_MAGICVAL2 0x55
30 #define SCP_DEFAULT_ADDRESS 0xfffff4
40 u8 sysbus; /* 0=16Bit,1=8Bit */
79 #define RUC_MASK 0x0070 /* mask for RU commands */
80 #define RUC_NOP 0x0000 /* NOP-command */
81 #define RUC_START 0x0010 /* start RU */
82 #define RUC_RESUME 0x0020 /* resume RU after suspend */
83 #define RUC_SUSPEND 0x0030 /* suspend RU */
84 #define RUC_ABORT 0x0040 /* abort receiver operation immediately */
86 #define CUC_MASK 0x07 /* mask for CU command */
87 #define CUC_NOP 0x00 /* NOP-command */
88 #define CUC_START 0x01 /* start execution of 1. cmd on the CBL */
89 #define CUC_RESUME 0x02 /* resume after suspend */
90 #define CUC_SUSPEND 0x03 /* Suspend CU */
91 #define CUC_ABORT 0x04 /* abort command operation immediately */
93 #define ACK_MASK 0xf0 /* mask for ACK command */
94 #define ACK_CX 0x80 /* acknowledges STAT_CX */
95 #define ACK_FR 0x40 /* ack. STAT_FR */
96 #define ACK_CNA 0x20 /* ack. STAT_CNA */
97 #define ACK_RNR 0x10 /* ack. STAT_RNR */
102 #define STAT_MASK 0xf0 /* mask for cause of interrupt */
103 #define STAT_CX 0x80 /* CU finished cmd with its I bit set */
104 #define STAT_FR 0x40 /* RU finished receiving a frame */
105 #define STAT_CNA 0x20 /* CU left active state */
106 #define STAT_RNR 0x10 /* RU left ready state */
108 #define CU_STATUS 0x7 /* CU status, 0=idle */
109 #define CU_SUSPEND 0x1 /* CU is suspended */
110 #define CU_ACTIVE 0x2 /* CU is active */
112 #define RU_STATUS 0x70 /* RU status, 0=idle */
113 #define RU_SUSPEND 0x10 /* RU suspended */
114 #define RU_NOSPACE 0x20 /* RU no resources */
115 #define RU_READY 0x40 /* RU is ready */
134 #define RFD_LAST 0x80 /* last: last rfd in the list */
135 #define RFD_SUSP 0x40 /* last: suspend RU after */
136 #define RFD_COMPL 0x80
137 #define RFD_OK 0x20
138 #define RFD_BUSY 0x40
139 #define RFD_ERR_LEN 0x10 /* Length error (if enabled length-checking */
140 #define RFD_ERR_CRC 0x08 /* CRC error */
141 #define RFD_ERR_ALGN 0x04 /* Alignment error */
142 #define RFD_ERR_RNR 0x02 /* status: receiver out of resources */
143 #define RFD_ERR_OVR 0x01 /* DMA Overrun! */
145 #define RFD_ERR_FTS 0x0080 /* Frame to short */
146 #define RFD_ERR_NEOP 0x0040 /* No EOP flag (for bitstuffing only) */
147 #define RFD_ERR_TRUN 0x0020 /* (82596 only/SF mode) indicates truncated frame */
148 #define RFD_MATCHADD 0x0002 /* status: Destinationaddress !matches IA (only 82596) */
149 #define RFD_COLLDET 0x0001 /* Detected collision during reception */
163 #define RBD_LAST 0x8000 /* last buffer */
164 #define RBD_USED 0x4000 /* this buffer has data */
165 #define RBD_MASK 0x3fff /* size-mask for length */
170 #define STAT_COMPL 0x8000 /* status: frame/command is complete */
171 #define STAT_BUSY 0x4000 /* status: frame/command is busy */
172 #define STAT_OK 0x2000 /* status: frame/command is ok */
177 #define CMD_NOP 0x0000 /* NOP */
178 #define CMD_IASETUP 0x0001 /* initial address setup command */
179 #define CMD_CONFIGURE 0x0002 /* configure command */
180 #define CMD_MCSETUP 0x0003 /* MC setup command */
181 #define CMD_XMIT 0x0004 /* transmit command */
182 #define CMD_TDR 0x0005 /* time domain reflectometer (TDR) command */
183 #define CMD_DUMP 0x0006 /* dump command */
184 #define CMD_DIAGNOSE 0x0007 /* diagnose command */
189 #define CMD_LAST 0x8000 /* indicates last command in the CBL */
190 #define CMD_SUSPEND 0x4000 /* suspend CU after this CB */
191 #define CMD_INT 0x2000 /* generate interrupt after execution */
225 u8 adr_len; /* adr_len(0-2),al_loc(3),pream(4-5),loopbak(6-7)*/
226 u8 priority; /* lin_prio(0-2),exp_prio(4-6),bof_metd(7) */
229 u8 time_high; /* slot time high(0-2) and max. retries(4-7) */
230 u8 promisc; /* promisc-mode(0) , et al (1-7) */
231 u8 carr_coll; /* carrier(0-3)/collision(4-7) stuff */
245 u8 mc_list[0][6]; /* pointer to 6 bytes entries */
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 /* No link problem identified */
291 #define TDR_XCVR_PRB 0x4000 /* indicates a transceiver problem */
292 #define TDR_ET_OPN 0x2000 /* open, no correct termination */
293 #define TDR_ET_SRT 0x1000 /* TDR detected a short circuit */
294 #define TDR_TIMEMASK 0x07ff /* mask for the time field */
306 #define TBD_LAST 0x8000 /* EOF-Flag, indicates last buffer in list */