FreeBSD/Linux Kernel Cross Reference
sys/dev/ic/i82596reg.h
1 /* $OpenBSD: i82596reg.h,v 1.6 2008/09/01 17:30:56 deraadt Exp $ */
2 /* $NetBSD: i82586reg.h,v 1.7 1998/02/28 01:07:45 pk Exp $ */
3
4 /*-
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Paul Kranenburg.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
16 * 2. Redistributions in binary form must reproduce the above copyright
17 * notice, this list of conditions and the following disclaimer in the
18 * documentation and/or other materials provided with the distribution.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
21 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
31 */
32
33 /*-
34 * Copyright (c) 1992, University of Vermont and State Agricultural College.
35 * Copyright (c) 1992, Garrett A. Wollman.
36 * All rights reserved.
37 *
38 * Redistribution and use in source and binary forms, with or without
39 * modification, are permitted provided that the following conditions
40 * are met:
41 * 1. Redistributions of source code must retain the above copyright
42 * notice, this list of conditions and the following disclaimer.
43 * 2. Redistributions in binary form must reproduce the above copyright
44 * notice, this list of conditions and the following disclaimer in the
45 * documentation and/or other materials provided with the distribution.
46 * 3. All advertising materials mentioning features or use of this software
47 * must display the following acknowledgement:
48 * This product includes software developed by the University of
49 * Vermont and State Agricultural College and Garrett A. Wollman.
50 * 4. Neither the name of the University nor the name of the author
51 * may be used to endorse or promote products derived from this software
52 * without specific prior written permission.
53 *
54 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
55 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
56 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
57 * ARE DISCLAIMED. IN NO EVENT SHALL THE UNIVERSITY OR AUTHOR BE LIABLE
58 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
59 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
60 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
61 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
62 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
63 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
64 * SUCH DAMAGE.
65 */
66
67 /*
68 * Intel 82586/82596 Ethernet chip
69 * Register, bit, and structure definitions.
70 *
71 * Written by GAW with reference to the Clarkson Packet Driver code for this
72 * chip written by Russ Nelson and others.
73 */
74
75 /*
76 * NOTE, the structure definitions in here are for reference only.
77 * We use integer offsets exclusively to access the i82586/596 data structures.
78 */
79
80 /*
81 * This is the master configuration block.
82 * It tells the hardware where all the rest of the stuff is.
83 *-
84 struct __ie_sys_conf_ptr {
85 u_int16_t mbz; // must be zero
86 u_int8_t ie_bus_use; // true if 8-bit only
87 u_int8_t mbz2[5]; // must be zero
88 u_int32_t ie_iscp_ptr; // 24-bit physaddr of ISCP
89 } __packed;
90
91 */
92 #define IE_SCP_SZ 12 /* keep paragraph alignment */
93 #define IE_SCP_BUS_USE(base) ((base) + 2)
94 #define IE_SCP_TEST(base) ((base) + 4)
95 #define IE_SCP_ISCP(base) ((base) + 8)
96
97 /*
98 * Note that this is wired in hardware; the SCP is always located here, no
99 * matter what.
100 */
101 #define IE_SCP_ADDR 0xfffff4
102
103 /*
104 * The tells the hardware where all the rest of the stuff is, too.
105 * FIXME: some of these should be re-commented after we figure out their
106 * REAL function.
107 *-
108 struct __ie_int_sys_conf_ptr {
109 u_int8_t ie_busy; // zeroed after init
110 u_int8_t mbz;
111 u_int16_t ie_scb_offset; // 16-bit physaddr of next struct
112 caddr_t ie_base; // 24-bit physaddr for all 16-bit vars
113 } __packed;
114 */
115 #define IE_ISCP_SZ 16
116 #define IE_ISCP_BUSY(base) ((base) + 0)
117 #define IE_ISCP_SCB(base) ((base) + 2)
118 #define IE_ISCP_BASE(base) ((base) + 4)
119
120 /*
121 * SYSBUS byte definitions
122 * bit0 is not checked
123 * bit6 is always 1
124 */
125 #define IE_SYSBUS_82586 0x00
126 #define IE_SYSBUS_32SEG 0x02
127 #define IE_SYSBUS_LINEAR 0x04
128 #define IE_SYSBUS_TRG 0x08
129 #define IE_SYSBUS_LOCK 0x10
130 #define IE_SYSBUS_INTLOW 0x20
131 #define IE_SYSBUS_BE 0x80
132
133 /*
134 * This FINALLY tells the hardware what to do and where to put it.
135 *-
136 struct __ie_sys_ctl_block {
137 u_int16_t ie_status; // status word
138 u_int16_t ie_command; // command word
139 u_int16_t ie_command_list; // 16-pointer to command block list
140 u_int16_t ie_recv_list; // 16-pointer to receive frame list
141 u_int16_t ie_err_crc; // CRC errors
142 u_int16_t ie_err_align; // Alignment errors
143 u_int16_t ie_err_resource; // Resource errors
144 u_int16_t ie_err_overrun; // Overrun errors
145 } __packed;
146 */
147 #define IE_SCB_SZ 16
148 #define IE_SCB_STATUS(base) ((base) + 0)
149 #define IE_SCB_CMD(base) ((base) + 2)
150 #define IE_SCB_CMDLST(base) ((base) + 4)
151 #define IE_SCB_RCVLST(base) ((base) + 6)
152 #define IE_SCB_ERRCRC(base) ((base) + 8)
153 #define IE_SCB_ERRALN(base) ((base) + 10)
154 #define IE_SCB_ERRRES(base) ((base) + 12)
155 #define IE_SCB_ERROVR(base) ((base) + 14)
156
157 /* Command values */
158 #define IE_RUC_MASK 0x0070 /* mask for RU command */
159 #define IE_RUC_NOP 0 /* for completeness */
160 #define IE_RUC_START 0x0010 /* start receive unit command */
161 #define IE_RUC_RESUME 0x0020 /* resume a suspended receiver command */
162 #define IE_RUC_SUSPEND 0x0030 /* suspend receiver command */
163 #define IE_RUC_ABORT 0x0040 /* abort current receive operation */
164
165 #define IE_CUC_MASK 0x0700 /* mask for CU command */
166 #define IE_CUC_NOP 0 /* included for completeness */
167 #define IE_CUC_START 0x0100 /* do-command command */
168 #define IE_CUC_RESUME 0x0200 /* resume a suspended cmd list */
169 #define IE_CUC_SUSPEND 0x0300 /* suspend current command */
170 #define IE_CUC_ABORT 0x0400 /* abort current command */
171
172 #define IE_ACK_COMMAND 0xf000 /* mask for ACK command */
173 #define IE_ACK_CX 0x8000 /* ack IE_ST_CX */
174 #define IE_ACK_FR 0x4000 /* ack IE_ST_FR */
175 #define IE_ACK_CNA 0x2000 /* ack IE_ST_CNA */
176 #define IE_ACK_RNR 0x1000 /* ack IE_ST_RNR */
177
178 #define IE_ACTION_COMMAND(x) (((x) & IE_CUC_MASK) == IE_CUC_START)
179 /* is this command an action command? */
180
181 #define IE_ST_WHENCE 0xf000 /* mask for cause of interrupt */
182 #define IE_ST_CX 0x8000 /* command with I bit completed */
183 #define IE_ST_FR 0x4000 /* frame received */
184 #define IE_ST_CNA 0x2000 /* all commands completed */
185 #define IE_ST_RNR 0x1000 /* receive not ready */
186
187 #define IE_CUS_MASK 0x0700 /* mask for command unit status */
188 #define IE_CUS_ACTIVE 0x0200 /* command unit is active */
189 #define IE_CUS_SUSPEND 0x0100 /* command unit is suspended */
190
191 #define IE_RUS_MASK 0x0070 /* mask for receiver unit status */
192 #define IE_RUS_SUSPEND 0x0010 /* receiver is suspended */
193 #define IE_RUS_NOSPACE 0x0020 /* receiver has no resources */
194 #define IE_RUS_READY 0x0040 /* receiver is ready */
195
196 #define IE_ST_BITS \
197 "\020\020cx\017fr\016cna\015rnr\012cact\011csusp\07rrdy\06rnsp\05rsusp"
198
199 /*
200 * This is filled in partially by the chip, partially by us.
201 *-
202 struct __ie_recv_frame_desc {
203 u_int16_t ie_fd_status; // status for this frame
204 u_int16_t ie_fd_last; // end of frame list flag
205 u_int16_t ie_fd_next; // 16-pointer to next RFD
206 u_int16_t ie_fd_buf_desc; // 16-pointer to list of buffer descs
207 struct __ie_en_addr dest; // destination ether
208 struct __ie_en_addr src; // source ether
209 u_int16_t ie_length; // 802 length/Ether type
210 u_short mbz; // must be zero
211 } __packed;
212 */
213 #define IE_RFRAME_SZ 24
214 #define IE_RFRAME_ADDR(base,i) ((base) + (i) * 64)
215 #define IE_RFRAME_STATUS(b,i) (IE_RFRAME_ADDR(b,i) + 0)
216 #define IE_RFRAME_LAST(b,i) (IE_RFRAME_ADDR(b,i) + 2)
217 #define IE_RFRAME_NEXT(b,i) (IE_RFRAME_ADDR(b,i) + 4)
218 #define IE_RFRAME_BUFDESC(b,i) (IE_RFRAME_ADDR(b,i) + 6)
219 #define IE_RFRAME_EDST(b,i) (IE_RFRAME_ADDR(b,i) + 8)
220 #define IE_RFRAME_ESRC(b,i) (IE_RFRAME_ADDR(b,i) + 14)
221 #define IE_RFRAME_ELEN(b,i) (IE_RFRAME_ADDR(b,i) + 20)
222
223 /* "last" bits */
224 #define IE_FD_EOL 0x8000 /* last rfd in list */
225 #define IE_FD_SUSP 0x4000 /* suspend RU after receipt */
226
227 /* status field bits */
228 #define IE_FD_COMPLETE 0x8000 /* frame is complete */
229 #define IE_FD_BUSY 0x4000 /* frame is busy */
230 #define IE_FD_OK 0x2000 /* frame is ok */
231 #define IE_FD_CRC 0x0800 /* CRC error */
232 #define IE_FD_ALGN 0x0400 /* Alignment error */
233 #define IE_FD_RNR 0x0200 /* receiver out of resources here */
234 #define IE_FD_OVR 0x0100 /* DMA overrun */
235 #define IE_FD_SHORT 0x0080 /* Short frame */
236 #define IE_FD_NOEOF 0x0040 /* no EOF (?) */
237 #define IE_FD_ERRMASK /* all error bits */ \
238 (IE_FD_CRC|IE_FD_ALGN|IE_FD_RNR|IE_FD_OVR|IE_FD_SHORT|IE_FD_NOEOF)
239 #define IE_FD_STATUSBITS \
240 "\2\20complt\17busy\16ok\14crc\13algn\12rnr\11ovr\10short\7noeof"
241
242 /*
243 * linked list of buffers...
244 *-
245 struct __ie_recv_buf_desc {
246 u_int16_t ie_rbd_status; // status for this buffer
247 u_int16_t ie_rbd_next; // 16-pointer to next RBD
248 caddr_t ie_rbd_buffer; // 24-pointer to buffer for this RBD
249 u_int16_t ie_rbd_length; // length of the buffer
250 u_int16_t mbz; // must be zero
251 } __packed;
252 */
253 #define IE_RBD_SZ 12
254 #define IE_RBD_ADDR(base,i) ((base) + (i) * 32)
255 #define IE_RBD_STATUS(b,i) (IE_RBD_ADDR(b,i) + 0)
256 #define IE_RBD_NEXT(b,i) (IE_RBD_ADDR(b,i) + 2)
257 #define IE_RBD_BUFADDR(b,i) (IE_RBD_ADDR(b,i) + 4)
258 #define IE_RBD_BUFLEN(b,i) (IE_RBD_ADDR(b,i) + 8)
259
260 /* RBD status fields */
261 #define IE_RBD_LAST 0x8000 /* last buffer */
262 #define IE_RBD_USED 0x4000 /* this buffer has data */
263 #define IE_RBD_CNTMASK 0x3fff /* byte count of buffer data */
264
265 /* RDB `End Of List' flag; encoded in `buffer length' field */
266 #define IE_RBD_EOL 0x8000 /* last buffer */
267
268
269 /*
270 * All commands share this in common.
271 *-
272 struct __ie_cmd_common {
273 u_int16_t ie_cmd_status; // status of this command
274 u_int16_t ie_cmd_cmd; // command word
275 u_int16_t ie_cmd_link; // link to next command
276 } __packed;
277 */
278 #define IE_CMD_COMMON_SZ 6
279 #define IE_CMD_COMMON_STATUS(base) ((base) + 0)
280 #define IE_CMD_COMMON_CMD(base) ((base) + 2)
281 #define IE_CMD_COMMON_LINK(base) ((base) + 4)
282
283 #define IE_STAT_COMPL 0x8000 /* command is completed */
284 #define IE_STAT_BUSY 0x4000 /* command is running now */
285 #define IE_STAT_OK 0x2000 /* command completed successfully */
286 #define IE_STAT_ABORT 0x1000 /* command was aborted */
287 #define IE_STAT_BITS "\020\020complete\017busy\016ok\015abort"
288
289 #define IE_CMD_NOP 0x0000 /* NOP */
290 #define IE_CMD_IASETUP 0x0001 /* initial address setup */
291 #define IE_CMD_CONFIG 0x0002 /* configure command */
292 #define IE_CMD_MCAST 0x0003 /* multicast setup command */
293 #define IE_CMD_XMIT 0x0004 /* transmit command */
294 #define IE_CMD_TDR 0x0005 /* time-domain reflectometer command */
295 #define IE_CMD_DUMP 0x0006 /* dump command */
296 #define IE_CMD_DIAGNOSE 0x0007 /* diagnostics command */
297
298 #define IE_CMD_LAST 0x8000 /* this is the last command in the list */
299 #define IE_CMD_SUSPEND 0x4000 /* suspend CU after this command */
300 #define IE_CMD_INTR 0x2000 /* post an interrupt after completion */
301
302 /*
303 * No-op commands; just like COMMON but "indexable"
304 */
305 #define IE_CMD_NOP_SZ IE_CMD_COMMON_SZ
306 #define IE_CMD_NOP_ADDR(base,i) ((base) + (i) * 32)
307 #define IE_CMD_NOP_STATUS(b,i) (IE_CMD_NOP_ADDR(b,i) + 0)
308 #define IE_CMD_NOP_CMD(b,i) (IE_CMD_NOP_ADDR(b,i) + 2)
309 #define IE_CMD_NOP_LINK(b,i) (IE_CMD_NOP_ADDR(b,i) + 4)
310
311
312 /*
313 * This is the command to transmit a frame.
314 *-
315 struct __ie_xmit_cmd {
316 struct __ie_cmd_common com; // common part
317 #define __ie_xmit_status com.ie_cmd_status
318
319 u_int16_t ie_xmit_desc; // pointer to buffer descriptor
320 struct __ie_en_addr ie_xmit_addr; // destination address
321 u_int16_t ie_xmit_length; // 802.3 length/Ether type field
322 } __packed;
323 */
324 #define IE_CMD_XMIT_SZ (IE_CMD_COMMON_SZ + 10)
325 #define IE_CMD_XMIT_ADDR(base,i) ((base) + (i) * 32)
326 #define IE_CMD_XMIT_STATUS(b,i) (IE_CMD_XMIT_ADDR(b,i) + 0)
327 #define IE_CMD_XMIT_CMD(b,i) (IE_CMD_XMIT_ADDR(b,i) + 2)
328 #define IE_CMD_XMIT_LINK(b,i) (IE_CMD_XMIT_ADDR(b,i) + 4)
329 #define IE_CMD_XMIT_DESC(b,i) \
330 (IE_CMD_XMIT_ADDR(b,i) + IE_CMD_COMMON_SZ + 0)
331 #define IE_CMD_XMIT_EADDR(b,i) \
332 (IE_CMD_XMIT_ADDR(b,i) + IE_CMD_COMMON_SZ + 2)
333 #define IE_CMD_XMIT_LEN(b,i) \
334 (IE_CMD_XMIT_ADDR(b,i) + IE_CMD_COMMON_SZ + 8)
335
336 #define IE_XS_MAXCOLL 0x000f /* number of collisions during transmit */
337 #define IE_XS_EXCMAX 0x0020 /* exceeded maximum number of collisions */
338 #define IE_XS_SQE 0x0040 /* SQE positive */
339 #define IE_XS_DEFERRED 0x0080 /* transmission deferred */
340 #define IE_XS_UNDERRUN 0x0100 /* DMA underrun */
341 #define IE_XS_LOSTCTS 0x0200 /* Lost CTS */
342 #define IE_XS_NOCARRIER 0x0400 /* No Carrier */
343 #define IE_XS_LATECOLL 0x0800 /* Late collision */
344
345 #define IE_XS_BITS \
346 "\020\014ltcoll\013nocar\012lostcts\011underrun\010xsdef\07sqe\06excoll"
347
348 /*
349 * This is a buffer descriptor for a frame to be transmitted.
350 *-
351 struct __ie_xmit_buf {
352 u_int16_t ie_xmit_flags; // see below
353 u_int16_t ie_xmit_next; // 16-pointer to next desc
354 caddr_t ie_xmit_buf; // 24-pointer to the actual buffer
355 } __packed;
356 */
357 #define IE_XBD_SZ 8
358 #define IE_XBD_ADDR(base,i) ((base) + (i) * 32)
359 #define IE_XBD_FLAGS(b,i) (IE_XBD_ADDR(b,i) + 0)
360 #define IE_XBD_NEXT(b,i) (IE_XBD_ADDR(b,i) + 2)
361 #define IE_XBD_BUF(b,i) (IE_XBD_ADDR(b,i) + 4)
362
363 #define IE_TBD_EOL 0x8000 /* this TBD is the last one */
364 #define IE_TBD_CNTMASK 0x3fff /* The rest of the `flags' word
365 is actually the length. */
366
367
368 /*
369 * Multicast setup command.
370 *-
371 struct __ie_mcast_cmd {
372 struct __ie_cmd_common com; // common part
373 #define ie_mcast_status com.ie_cmd_status
374
375 // size (in bytes) of multicast addresses
376 u_int16_t ie_mcast_bytes;
377 struct __ie_en_addr ie_mcast_addrs[IE_MAXMCAST + 1];// space for them
378 } __packed;
379 */
380 #define IE_CMD_MCAST_SZ (IE_CMD_COMMON_SZ + 2 /* + XXX */)
381 #define IE_CMD_MCAST_BYTES(base) ((base) + IE_CMD_COMMON_SZ + 0)
382 #define IE_CMD_MCAST_MADDR(base) ((base) + IE_CMD_COMMON_SZ + 2)
383
384 /*
385 * Time Domain Reflectometer command.
386 *-
387 struct __ie_tdr_cmd {
388 struct __ie_cmd_common com; // common part
389 #define ie_tdr_status com.ie_cmd_status
390 u_short ie_tdr_time; // error bits and time
391 } __packed;
392 */
393 #define IE_CMD_TDR_SZ (IE_CMD_COMMON_SZ + 2)
394 #define IE_CMD_TDR_TIME(base) ((base) + IE_CMD_COMMON_SZ + 0)
395
396 #define IE_TDR_SUCCESS 0x8000 /* TDR succeeded without error */
397 #define IE_TDR_XCVR 0x4000 /* detected a transceiver problem */
398 #define IE_TDR_OPEN 0x2000 /* detected an open */
399 #define IE_TDR_SHORT 0x1000 /* TDR detected a short */
400 #define IE_TDR_TIME 0x07ff /* mask for reflection time */
401
402 #define IE_TDR_BITS "\020\020success\017xcvr\016open\015short"
403
404 /*
405 * Initial Address Setup command
406 *-
407 struct __ie_iasetup_cmd {
408 struct __ie_cmd_common com;
409 #define ie_iasetup_status com.ie_cmd_status
410 struct __ie_en_addr ie_address;
411 } __packed;
412 */
413 #define IE_CMD_IAS_SZ (IE_CMD_COMMON_SZ + 6)
414 #define IE_CMD_IAS_EADDR(base) ((base) + IE_CMD_COMMON_SZ + 0)
415
416 /*
417 * Configuration command
418 *-
419 struct __ie_config_cmd {
420 struct __ie_cmd_common com; // common part
421 #define ie_config_status com.ie_cmd_status
422
423 u_int8_t ie_config_count; // byte count (0x0c)
424 u_int8_t ie_fifo; // fifo (8)
425 u_int8_t ie_save_bad; // save bad frames (0x40)
426 u_int8_t ie_addr_len; // address length (0x2e) (AL-LOC == 1)
427 u_int8_t ie_priority; // priority and backoff (0x0)
428 u_int8_t ie_ifs; // inter-frame spacing (0x60)
429 u_int8_t ie_slot_low; // slot time, LSB (0x0)
430 u_int8_t ie_slot_high; // slot time, MSN, and retries (0xf2)
431 u_int8_t ie_promisc; // 1 if promiscuous, else 0
432 u_int8_t ie_crs_cdt; // CSMA/CD parameters (0x0)
433 u_int8_t ie_min_len; // min frame length (0x40)
434 u_int8_t ie_junk; // stuff for 82596 (0xff)
435 } __packed;
436 */
437 #define IE_CMD_CFG_SZ (IE_CMD_COMMON_SZ + 12)
438 #define IE_CMD_CFG_CNT(base) ((base) + IE_CMD_COMMON_SZ + 0)
439 #define IE_CMD_CFG_FIFO(base) ((base) + IE_CMD_COMMON_SZ + 1)
440 #define IE_CMD_CFG_SAVEBAD(base) ((base) + IE_CMD_COMMON_SZ + 2)
441 #define IE_CMD_CFG_ADDRLEN(base) ((base) + IE_CMD_COMMON_SZ + 3)
442 #define IE_CMD_CFG_PRIORITY(base) ((base) + IE_CMD_COMMON_SZ + 4)
443 #define IE_CMD_CFG_IFS(base) ((base) + IE_CMD_COMMON_SZ + 5)
444 #define IE_CMD_CFG_SLOT_LOW(base) ((base) + IE_CMD_COMMON_SZ + 6)
445 #define IE_CMD_CFG_SLOT_HIGH(base) ((base) + IE_CMD_COMMON_SZ + 7)
446 #define IE_CMD_CFG_PROMISC(base) ((base) + IE_CMD_COMMON_SZ + 8)
447 #define IE_CMD_CFG_CRSCDT(base) ((base) + IE_CMD_COMMON_SZ + 9)
448 #define IE_CMD_CFG_MINLEN(base) ((base) + IE_CMD_COMMON_SZ + 10)
449 #define IE_CMD_CFG_JUNK(base) ((base) + IE_CMD_COMMON_SZ + 11)
Cache object: c0fd21fb4fd04d8b4b6ebf2e0235b696
|