iPXE
amd8111e.h
Go to the documentation of this file.
1/*
2 * Advanced Micro Devices Inc. AMD8111E Linux Network Driver
3 * Copyright (C) 2003 Advanced Micro Devices
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301, USA.
19 *
20 * You can also choose to distribute this program under the terms of
21 * the Unmodified Binary Distribution Licence (as given in the file
22 * COPYING.UBDL), provided that you have satisfied its requirements.
23 * USA
24
25Module Name:
26
27 amd8111e.h
28
29Abstract:
30
31 AMD8111 based 10/100 Ethernet Controller driver definitions.
32
33Environment:
34
35 Kernel Mode
36
37Revision History:
38 3.0.0
39 Initial Revision.
40 3.0.1
41*/
42
43FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
44
45#ifndef _AMD811E_H
46#define _AMD811E_H
47
48/* Command style register access
49
50Registers CMD0, CMD2, CMD3,CMD7 and INTEN0 uses a write access technique called command style access. It allows the write to selected bits of this register without altering the bits that are not selected. Command style registers are divided into 4 bytes that can be written independently. Higher order bit of each byte is the value bit that specifies the value that will be written into the selected bits of register.
51
52eg., if the value 10011010b is written into the least significant byte of a command style register, bits 1,3 and 4 of the register will be set to 1, and the other bits will not be altered. If the value 00011010b is written into the same byte, bits 1,3 and 4 will be cleared to 0 and the other bits will not be altered.
53
54*/
55
56/* Offset for Memory Mapped Registers. */
57/* 32 bit registers */
58
59#define ASF_STAT 0x00 /* ASF status register */
60#define CHIPID 0x04 /* Chip ID regsiter */
61#define MIB_DATA 0x10 /* MIB data register */
62#define MIB_ADDR 0x14 /* MIB address register */
63#define STAT0 0x30 /* Status0 register */
64#define INT0 0x38 /* Interrupt0 register */
65#define INTEN0 0x40 /* Interrupt0 enable register*/
66#define CMD0 0x48 /* Command0 register */
67#define CMD2 0x50 /* Command2 register */
68#define CMD3 0x54 /* Command3 resiter */
69#define CMD7 0x64 /* Command7 register */
70
71#define CTRL1 0x6C /* Control1 register */
72#define CTRL2 0x70 /* Control2 register */
73
74#define XMT_RING_LIMIT 0x7C /* Transmit ring limit register */
75
76#define AUTOPOLL0 0x88 /* Auto-poll0 register */
77#define AUTOPOLL1 0x8A /* Auto-poll1 register */
78#define AUTOPOLL2 0x8C /* Auto-poll2 register */
79#define AUTOPOLL3 0x8E /* Auto-poll3 register */
80#define AUTOPOLL4 0x90 /* Auto-poll4 register */
81#define AUTOPOLL5 0x92 /* Auto-poll5 register */
82
83#define AP_VALUE 0x98 /* Auto-poll value register */
84#define DLY_INT_A 0xA8 /* Group A delayed interrupt register */
85#define DLY_INT_B 0xAC /* Group B delayed interrupt register */
86
87#define FLOW_CONTROL 0xC8 /* Flow control register */
88#define PHY_ACCESS 0xD0 /* PHY access register */
89
90#define STVAL 0xD8 /* Software timer value register */
91
92#define XMT_RING_BASE_ADDR0 0x100 /* Transmit ring0 base addr register */
93#define XMT_RING_BASE_ADDR1 0x108 /* Transmit ring1 base addr register */
94#define XMT_RING_BASE_ADDR2 0x110 /* Transmit ring2 base addr register */
95#define XMT_RING_BASE_ADDR3 0x118 /* Transmit ring2 base addr register */
96
97#define RCV_RING_BASE_ADDR0 0x120 /* Transmit ring0 base addr register */
98
99#define PMAT0 0x190 /* OnNow pattern register0 */
100#define PMAT1 0x194 /* OnNow pattern register1 */
101
102/* 16bit registers */
103
104#define XMT_RING_LEN0 0x140 /* Transmit Ring0 length register */
105#define XMT_RING_LEN1 0x144 /* Transmit Ring1 length register */
106#define XMT_RING_LEN2 0x148 /* Transmit Ring2 length register */
107#define XMT_RING_LEN3 0x14C /* Transmit Ring3 length register */
108
109#define RCV_RING_LEN0 0x150 /* Receive Ring0 length register */
110
111#define SRAM_SIZE 0x178 /* SRAM size register */
112#define SRAM_BOUNDARY 0x17A /* SRAM boundary register */
113
114/* 48bit register */
115
116#define PADR 0x160 /* Physical address register */
117
118#define IFS1 0x18C /* Inter-frame spacing Part1 register */
119#define IFS 0x18D /* Inter-frame spacing register */
120#define IPG 0x18E /* Inter-frame gap register */
121/* 64bit register */
122
123#define LADRF 0x168 /* Logical address filter register */
124
125
126/* Register Bit Definitions */
127typedef enum {
128
129 ASF_INIT_DONE = (1 << 1),
131
133
134typedef enum {
135
136 MIB_CMD_ACTIVE = (1 << 15 ),
137 MIB_RD_CMD = (1 << 13 ),
138 MIB_CLEAR = (1 << 12 ),
139 MIB_ADDRESS = (1 << 0) | (1 << 1) | (1 << 2) | (1 << 3)|
140 (1 << 4) | (1 << 5),
142
143
144typedef enum {
145
146 PMAT_DET = (1 << 12),
147 MP_DET = (1 << 11),
148 LC_DET = (1 << 10),
149 SPEED_MASK = (1 << 9)|(1 << 8)|(1 << 7),
150 FULL_DPLX = (1 << 6),
151 LINK_STATS = (1 << 5),
153 MIIPD = (1 << 3),
154 RX_SUSPENDED = (1 << 2),
155 TX_SUSPENDED = (1 << 1),
156 RUNNING = (1 << 0),
157
159
160#define PHY_SPEED_10 0x2
161#define PHY_SPEED_100 0x3
162
163/* INT0 0x38, 32bit register */
164typedef enum {
165
166 INTR = (1 << 31),
167 PCSINT = (1 << 28),
168 LCINT = (1 << 27),
169 APINT5 = (1 << 26),
170 APINT4 = (1 << 25),
171 APINT3 = (1 << 24),
172 TINT_SUM = (1 << 23),
173 APINT2 = (1 << 22),
174 APINT1 = (1 << 21),
175 APINT0 = (1 << 20),
176 MIIPDTINT = (1 << 19),
177 MCCINT = (1 << 17),
178 MREINT = (1 << 16),
179 RINT_SUM = (1 << 15),
180 SPNDINT = (1 << 14),
181 MPINT = (1 << 13),
182 SINT = (1 << 12),
183 TINT3 = (1 << 11),
184 TINT2 = (1 << 10),
185 TINT1 = (1 << 9),
186 TINT0 = (1 << 8),
187 UINT = (1 << 7),
188 STINT = (1 << 4),
189 RINT0 = (1 << 0),
190
191}INT0_BITS;
192
193typedef enum {
194
195 VAL3 = (1 << 31), /* VAL bit for byte 3 */
196 VAL2 = (1 << 23), /* VAL bit for byte 2 */
197 VAL1 = (1 << 15), /* VAL bit for byte 1 */
198 VAL0 = (1 << 7), /* VAL bit for byte 0 */
199
200}VAL_BITS;
201
202typedef enum {
203
204 /* VAL3 */
205 LCINTEN = (1 << 27),
206 APINT5EN = (1 << 26),
207 APINT4EN = (1 << 25),
208 APINT3EN = (1 << 24),
209 /* VAL2 */
210 APINT2EN = (1 << 22),
211 APINT1EN = (1 << 21),
212 APINT0EN = (1 << 20),
213 MIIPDTINTEN = (1 << 19),
214 MCCIINTEN = (1 << 18),
215 MCCINTEN = (1 << 17),
216 MREINTEN = (1 << 16),
217 /* VAL1 */
218 SPNDINTEN = (1 << 14),
219 MPINTEN = (1 << 13),
220 TINTEN3 = (1 << 11),
221 SINTEN = (1 << 12),
222 TINTEN2 = (1 << 10),
223 TINTEN1 = (1 << 9),
224 TINTEN0 = (1 << 8),
225 /* VAL0 */
226 STINTEN = (1 << 4),
227 RINTEN0 = (1 << 0),
228
229 INTEN0_CLEAR = 0x1F7F7F1F, /* Command style register */
230
232
233typedef enum {
234 /* VAL2 */
235 RDMD0 = (1 << 16),
236 /* VAL1 */
237 TDMD3 = (1 << 11),
238 TDMD2 = (1 << 10),
239 TDMD1 = (1 << 9),
240 TDMD0 = (1 << 8),
241 /* VAL0 */
242 UINTCMD = (1 << 6),
243 RX_FAST_SPND = (1 << 5),
244 TX_FAST_SPND = (1 << 4),
245 RX_SPND = (1 << 3),
246 TX_SPND = (1 << 2),
247 INTREN = (1 << 1),
248 RUN = (1 << 0),
249
250 CMD0_CLEAR = 0x000F0F7F, /* Command style register */
251
252}CMD0_BITS;
253
254typedef enum {
255
256 /* VAL3 */
257 CONDUIT_MODE = (1 << 29),
258 /* VAL2 */
259 RPA = (1 << 19),
260 DRCVPA = (1 << 18),
261 DRCVBC = (1 << 17),
262 PROM = (1 << 16),
263 /* VAL1 */
264 ASTRP_RCV = (1 << 13),
265 RCV_DROP0 = (1 << 12),
266 EMBA = (1 << 11),
267 DXMT2PD = (1 << 10),
268 LTINTEN = (1 << 9),
269 DXMTFCS = (1 << 8),
270 /* VAL0 */
271 APAD_XMT = (1 << 6),
272 DRTY = (1 << 5),
273 INLOOP = (1 << 4),
274 EXLOOP = (1 << 3),
275 REX_RTRY = (1 << 2),
276 REX_UFLO = (1 << 1),
277 REX_LCOL = (1 << 0),
278
279 CMD2_CLEAR = 0x3F7F3F7F, /* Command style register */
280
281}CMD2_BITS;
282
283typedef enum {
284
285 /* VAL3 */
287 /* VAL2 */
288 JUMBO = (1 << 21),
289 VSIZE = (1 << 20),
290 VLONLY = (1 << 19),
291 VL_TAG_DEL = (1 << 18),
292 /* VAL1 */
293 EN_PMGR = (1 << 14),
294 INTLEVEL = (1 << 13),
295 FORCE_FULL_DUPLEX = (1 << 12),
296 FORCE_LINK_STATUS = (1 << 11),
297 APEP = (1 << 10),
298 MPPLBA = (1 << 9),
299 /* VAL0 */
300 RESET_PHY_PULSE = (1 << 2),
301 RESET_PHY = (1 << 1),
302 PHY_RST_POL = (1 << 0),
303
304}CMD3_BITS;
305
306
307typedef enum {
308
309 /* VAL0 */
310 PMAT_SAVE_MATCH = (1 << 4),
311 PMAT_MODE = (1 << 3),
312 MPEN_SW = (1 << 1),
313 LCMODE_SW = (1 << 0),
314
315 CMD7_CLEAR = 0x0000001B /* Command style register */
316
317}CMD7_BITS;
318
319
320typedef enum {
321
322 RESET_PHY_WIDTH = (0xF << 16) | (0xF<< 20), /* 0x00FF0000 */
323 XMTSP_MASK = (1 << 9) | (1 << 8), /* 9:8 */
324 XMTSP_128 = (1 << 9), /* 9 */
325 XMTSP_64 = (1 << 8),
326 CACHE_ALIGN = (1 << 4),
327 BURST_LIMIT_MASK = (0xF << 0 ),
328 CTRL1_DEFAULT = 0x00010111,
329
331
332typedef enum {
333
334 FMDC_MASK = (1 << 9)|(1 << 8), /* 9:8 */
335 XPHYRST = (1 << 7),
336 XPHYANE = (1 << 6),
337 XPHYFD = (1 << 5),
338 XPHYSP = (1 << 4) | (1 << 3), /* 4:3 */
339 APDW_MASK = (1 << 2) | (1 << 1) | (1 << 0), /* 2:0 */
340
342
343/* XMT_RING_LIMIT 0x7C, 32bit register */
344typedef enum {
345
346 XMT_RING2_LIMIT = (0xFF << 16), /* 23:16 */
347 XMT_RING1_LIMIT = (0xFF << 8), /* 15:8 */
348 XMT_RING0_LIMIT = (0xFF << 0), /* 7:0 */
349
351
352typedef enum {
353
354 AP_REG0_EN = (1 << 15),
355 AP_REG0_ADDR_MASK = (0xF << 8) |(1 << 12),/* 12:8 */
356 AP_PHY0_ADDR_MASK = (0xF << 0) |(1 << 4),/* 4:0 */
357
359
360/* AUTOPOLL1 0x8A, 16bit register */
361typedef enum {
362
363 AP_REG1_EN = (1 << 15),
364 AP_REG1_ADDR_MASK = (0xF << 8) |(1 << 12),/* 12:8 */
365 AP_PRE_SUP1 = (1 << 6),
366 AP_PHY1_DFLT = (1 << 5),
367 AP_PHY1_ADDR_MASK = (0xF << 0) |(1 << 4),/* 4:0 */
368
370
371
372typedef enum {
373
374 AP_REG2_EN = (1 << 15),
375 AP_REG2_ADDR_MASK = (0xF << 8) |(1 << 12),/* 12:8 */
376 AP_PRE_SUP2 = (1 << 6),
377 AP_PHY2_DFLT = (1 << 5),
378 AP_PHY2_ADDR_MASK = (0xF << 0) |(1 << 4),/* 4:0 */
379
381
382typedef enum {
383
384 AP_REG3_EN = (1 << 15),
385 AP_REG3_ADDR_MASK = (0xF << 8) |(1 << 12),/* 12:8 */
386 AP_PRE_SUP3 = (1 << 6),
387 AP_PHY3_DFLT = (1 << 5),
388 AP_PHY3_ADDR_MASK = (0xF << 0) |(1 << 4),/* 4:0 */
389
391
392
393typedef enum {
394
395 AP_REG4_EN = (1 << 15),
396 AP_REG4_ADDR_MASK = (0xF << 8) |(1 << 12),/* 12:8 */
397 AP_PRE_SUP4 = (1 << 6),
398 AP_PHY4_DFLT = (1 << 5),
399 AP_PHY4_ADDR_MASK = (0xF << 0) |(1 << 4),/* 4:0 */
400
402
403
404typedef enum {
405
406 AP_REG5_EN = (1 << 15),
407 AP_REG5_ADDR_MASK = (0xF << 8) |(1 << 12),/* 12:8 */
408 AP_PRE_SUP5 = (1 << 6),
409 AP_PHY5_DFLT = (1 << 5),
410 AP_PHY5_ADDR_MASK = (0xF << 0) |(1 << 4),/* 4:0 */
411
413
414
415
416
417/* AP_VALUE 0x98, 32bit ragister */
418typedef enum {
419
420 AP_VAL_ACTIVE = (1 << 31),
421 AP_VAL_RD_CMD = ( 1 << 29),
422 AP_ADDR = (1 << 18)|(1 << 17)|(1 << 16), /* 18:16 */
423 AP_VAL = (0xF << 0) | (0xF << 4) |( 0xF << 8) |
424 (0xF << 12), /* 15:0 */
425
427
428typedef enum {
429
430 DLY_INT_A_R3 = (1 << 31),
431 DLY_INT_A_R2 = (1 << 30),
432 DLY_INT_A_R1 = (1 << 29),
433 DLY_INT_A_R0 = (1 << 28),
434 DLY_INT_A_T3 = (1 << 27),
435 DLY_INT_A_T2 = (1 << 26),
436 DLY_INT_A_T1 = (1 << 25),
437 DLY_INT_A_T0 = ( 1 << 24),
438 EVENT_COUNT_A = (0xF << 16) | (0x1 << 20),/* 20:16 */
439 MAX_DELAY_TIME_A = (0xF << 0) | (0xF << 4) | (1 << 8)|
440 (1 << 9) | (1 << 10), /* 10:0 */
441
443
444typedef enum {
445
446 DLY_INT_B_R3 = (1 << 31),
447 DLY_INT_B_R2 = (1 << 30),
448 DLY_INT_B_R1 = (1 << 29),
449 DLY_INT_B_R0 = (1 << 28),
450 DLY_INT_B_T3 = (1 << 27),
451 DLY_INT_B_T2 = (1 << 26),
452 DLY_INT_B_T1 = (1 << 25),
453 DLY_INT_B_T0 = ( 1 << 24),
454 EVENT_COUNT_B = (0xF << 16) | (0x1 << 20),/* 20:16 */
455 MAX_DELAY_TIME_B = (0xF << 0) | (0xF << 4) | (1 << 8)|
456 (1 << 9) | (1 << 10), /* 10:0 */
458
459
460/* FLOW_CONTROL 0xC8, 32bit register */
461typedef enum {
462
463 PAUSE_LEN_CHG = (1 << 30),
464 FTPE = (1 << 22),
465 FRPE = (1 << 21),
466 NAPA = (1 << 20),
467 NPA = (1 << 19),
468 FIXP = ( 1 << 18),
469 FCCMD = ( 1 << 16),
470 PAUSE_LEN = (0xF << 0) | (0xF << 4) |( 0xF << 8) | (0xF << 12), /* 15:0 */
471
473
474/* PHY_ ACCESS 0xD0, 32bit register */
475typedef enum {
476
477 PHY_CMD_ACTIVE = (1 << 31),
478 PHY_WR_CMD = (1 << 30),
479 PHY_RD_CMD = (1 << 29),
480 PHY_RD_ERR = (1 << 28),
481 PHY_PRE_SUP = (1 << 27),
482 PHY_ADDR = (1 << 21) | (1 << 22) | (1 << 23)|
483 (1 << 24) |(1 << 25),/* 25:21 */
484 PHY_REG_ADDR = (1 << 16) | (1 << 17) | (1 << 18)| (1 << 19) | (1 << 20),/* 20:16 */
485 PHY_DATA = (0xF << 0)|(0xF << 4) |(0xF << 8)|
486 (0xF << 12),/* 15:0 */
487
489
490
491/* PMAT0 0x190, 32bit register */
492typedef enum {
493 PMR_ACTIVE = (1 << 31),
494 PMR_WR_CMD = (1 << 30),
495 PMR_RD_CMD = (1 << 29),
496 PMR_BANK = (1 <<28),
497 PMR_ADDR = (0xF << 16)|(1 << 20)|(1 << 21)|
498 (1 << 22),/* 22:16 */
499 PMR_B4 = (0xF << 0) | (0xF << 4),/* 15:0 */
501
502
503/* PMAT1 0x194, 32bit register */
504typedef enum {
505 PMR_B3 = (0xF << 24) | (0xF <<28),/* 31:24 */
506 PMR_B2 = (0xF << 16) |(0xF << 20),/* 23:16 */
507 PMR_B1 = (0xF << 8) | (0xF <<12), /* 15:8 */
508 PMR_B0 = (0xF << 0)|(0xF << 4),/* 7:0 */
510
511/************************************************************************/
512/* */
513/* MIB counter definitions */
514/* */
515/************************************************************************/
516
517#define rcv_miss_pkts 0x00
518#define rcv_octets 0x01
519#define rcv_broadcast_pkts 0x02
520#define rcv_multicast_pkts 0x03
521#define rcv_undersize_pkts 0x04
522#define rcv_oversize_pkts 0x05
523#define rcv_fragments 0x06
524#define rcv_jabbers 0x07
525#define rcv_unicast_pkts 0x08
526#define rcv_alignment_errors 0x09
527#define rcv_fcs_errors 0x0A
528#define rcv_good_octets 0x0B
529#define rcv_mac_ctrl 0x0C
530#define rcv_flow_ctrl 0x0D
531#define rcv_pkts_64_octets 0x0E
532#define rcv_pkts_65to127_octets 0x0F
533#define rcv_pkts_128to255_octets 0x10
534#define rcv_pkts_256to511_octets 0x11
535#define rcv_pkts_512to1023_octets 0x12
536#define rcv_pkts_1024to1518_octets 0x13
537#define rcv_unsupported_opcode 0x14
538#define rcv_symbol_errors 0x15
539#define rcv_drop_pkts_ring1 0x16
540#define rcv_drop_pkts_ring2 0x17
541#define rcv_drop_pkts_ring3 0x18
542#define rcv_drop_pkts_ring4 0x19
543#define rcv_jumbo_pkts 0x1A
544
545#define xmt_underrun_pkts 0x20
546#define xmt_octets 0x21
547#define xmt_packets 0x22
548#define xmt_broadcast_pkts 0x23
549#define xmt_multicast_pkts 0x24
550#define xmt_collisions 0x25
551#define xmt_unicast_pkts 0x26
552#define xmt_one_collision 0x27
553#define xmt_multiple_collision 0x28
554#define xmt_deferred_transmit 0x29
555#define xmt_late_collision 0x2A
556#define xmt_excessive_defer 0x2B
557#define xmt_loss_carrier 0x2C
558#define xmt_excessive_collision 0x2D
559#define xmt_back_pressure 0x2E
560#define xmt_flow_ctrl 0x2F
561#define xmt_pkts_64_octets 0x30
562#define xmt_pkts_65to127_octets 0x31
563#define xmt_pkts_128to255_octets 0x32
564#define xmt_pkts_256to511_octets 0x33
565#define xmt_pkts_512to1023_octets 0x34
566#define xmt_pkts_1024to1518_octet 0x35
567#define xmt_oversize_pkts 0x36
568#define xmt_jumbo_pkts 0x37
569
570/* ipg parameters */
571#define DEFAULT_IPG 0x60
572#define IFS1_DELTA 36
573#define IPG_CONVERGE_JIFFIES (HZ/2)
574#define IPG_STABLE_TIME 5
575#define MIN_IPG 96
576#define MAX_IPG 255
577#define IPG_STEP 16
578#define CSTATE 1
579#define SSTATE 2
580
581/* amd8111e descriptor flag definitions */
582typedef enum {
583
584 OWN_BIT = (1 << 15),
585 ADD_FCS_BIT = (1 << 13),
586 LTINT_BIT = (1 << 12),
587 STP_BIT = (1 << 9),
588 ENP_BIT = (1 << 8),
589 KILL_BIT = (1 << 6),
590 TCC_VLAN_INSERT = (1 << 1),
591 TCC_VLAN_REPLACE = (1 << 1) |( 1<< 0),
592
594
595typedef enum {
596 ERR_BIT = (1 << 14),
597 FRAM_BIT = (1 << 13),
598 OFLO_BIT = (1 << 12),
599 CRC_BIT = (1 << 11),
600 PAM_BIT = (1 << 6),
601 LAFM_BIT = (1 << 5),
602 BAM_BIT = (1 << 4),
603 TT_VLAN_TAGGED = (1 << 3) |(1 << 2),/* 0x000 */
604 TT_PRTY_TAGGED = (1 << 3),/* 0x0008 */
605
607
608#define RESET_RX_FLAGS 0x0000
609#define TT_MASK 0x000c
610#define TCC_MASK 0x0003
611
612/* driver ioctl parameters */
613#define AMD8111E_REG_DUMP_LEN 13*sizeof(u32)
614
615/* crc generator constants */
616#define CRC32 0xedb88320
617#define INITCRC 0xFFFFFFFF
618
619/* kernel provided writeq does not write 64 bits into the amd8111e device register instead writes only higher 32bits data into lower 32bits of the register.
620BUG? */
621#define amd8111e_writeq(_UlData,_memMap) \
622 writel(*(u32*)(&_UlData), _memMap); \
623 writel(*(u32*)((u8*)(&_UlData)+4), _memMap+4)
624
625/* maps the external speed options to internal value */
633
634
635#endif /* _AMD8111E_H */
636
INTEN0_BITS
Definition amd8111e.h:202
@ APINT3EN
Definition amd8111e.h:208
@ INTEN0_CLEAR
Definition amd8111e.h:229
@ APINT5EN
Definition amd8111e.h:206
@ TINTEN2
Definition amd8111e.h:222
@ TINTEN0
Definition amd8111e.h:224
@ APINT4EN
Definition amd8111e.h:207
@ APINT2EN
Definition amd8111e.h:210
@ APINT0EN
Definition amd8111e.h:212
@ LCINTEN
Definition amd8111e.h:205
@ TINTEN1
Definition amd8111e.h:223
@ MCCINTEN
Definition amd8111e.h:215
@ MCCIINTEN
Definition amd8111e.h:214
@ MPINTEN
Definition amd8111e.h:219
@ APINT1EN
Definition amd8111e.h:211
@ STINTEN
Definition amd8111e.h:226
@ RINTEN0
Definition amd8111e.h:227
@ TINTEN3
Definition amd8111e.h:220
@ SINTEN
Definition amd8111e.h:221
@ MIIPDTINTEN
Definition amd8111e.h:213
@ MREINTEN
Definition amd8111e.h:216
@ SPNDINTEN
Definition amd8111e.h:218
XMT_RING_LIMIT_BITS
Definition amd8111e.h:344
@ XMT_RING2_LIMIT
Definition amd8111e.h:346
@ XMT_RING1_LIMIT
Definition amd8111e.h:347
@ XMT_RING0_LIMIT
Definition amd8111e.h:348
CMD3_BITS
Definition amd8111e.h:283
@ VL_TAG_DEL
Definition amd8111e.h:291
@ EN_PMGR
Definition amd8111e.h:293
@ JUMBO
Definition amd8111e.h:288
@ RESET_PHY
Definition amd8111e.h:301
@ VSIZE
Definition amd8111e.h:289
@ INTLEVEL
Definition amd8111e.h:294
@ ASF_INIT_DONE_ALIAS
Definition amd8111e.h:286
@ MPPLBA
Definition amd8111e.h:298
@ PHY_RST_POL
Definition amd8111e.h:302
@ RESET_PHY_PULSE
Definition amd8111e.h:300
@ APEP
Definition amd8111e.h:297
@ FORCE_LINK_STATUS
Definition amd8111e.h:296
@ FORCE_FULL_DUPLEX
Definition amd8111e.h:295
@ VLONLY
Definition amd8111e.h:290
VAL_BITS
Definition amd8111e.h:193
@ VAL2
Definition amd8111e.h:196
@ VAL3
Definition amd8111e.h:195
@ VAL1
Definition amd8111e.h:197
@ VAL0
Definition amd8111e.h:198
TX_FLAG_BITS
Definition amd8111e.h:582
@ ENP_BIT
Definition amd8111e.h:588
@ OWN_BIT
Definition amd8111e.h:584
@ TCC_VLAN_REPLACE
Definition amd8111e.h:591
@ LTINT_BIT
Definition amd8111e.h:586
@ KILL_BIT
Definition amd8111e.h:589
@ ADD_FCS_BIT
Definition amd8111e.h:585
@ STP_BIT
Definition amd8111e.h:587
@ TCC_VLAN_INSERT
Definition amd8111e.h:590
AUTOPOLL4_BITS
Definition amd8111e.h:393
@ AP_REG4_EN
Definition amd8111e.h:395
@ AP_REG4_ADDR_MASK
Definition amd8111e.h:396
@ AP_PRE_SUP4
Definition amd8111e.h:397
@ AP_PHY4_DFLT
Definition amd8111e.h:398
@ AP_PHY4_ADDR_MASK
Definition amd8111e.h:399
AUTOPOLL1_BITS
Definition amd8111e.h:361
@ AP_PHY1_DFLT
Definition amd8111e.h:366
@ AP_REG1_ADDR_MASK
Definition amd8111e.h:364
@ AP_REG1_EN
Definition amd8111e.h:363
@ AP_PHY1_ADDR_MASK
Definition amd8111e.h:367
@ AP_PRE_SUP1
Definition amd8111e.h:365
FLOW_CONTROL_BITS
Definition amd8111e.h:461
@ NPA
Definition amd8111e.h:467
@ FCCMD
Definition amd8111e.h:469
@ PAUSE_LEN
Definition amd8111e.h:470
@ FTPE
Definition amd8111e.h:464
@ FIXP
Definition amd8111e.h:468
@ PAUSE_LEN_CHG
Definition amd8111e.h:463
@ NAPA
Definition amd8111e.h:466
@ FRPE
Definition amd8111e.h:465
EXT_PHY_OPTION
Definition amd8111e.h:626
@ SPEED_AUTONEG
Definition amd8111e.h:627
@ SPEED100_FULL
Definition amd8111e.h:631
@ SPEED10_FULL
Definition amd8111e.h:629
@ SPEED100_HALF
Definition amd8111e.h:630
@ SPEED10_HALF
Definition amd8111e.h:628
AUTOPOLL0_BITS
Definition amd8111e.h:352
@ AP_REG0_EN
Definition amd8111e.h:354
@ AP_REG0_ADDR_MASK
Definition amd8111e.h:355
@ AP_PHY0_ADDR_MASK
Definition amd8111e.h:356
RX_FLAG_BITS
Definition amd8111e.h:595
@ CRC_BIT
Definition amd8111e.h:599
@ LAFM_BIT
Definition amd8111e.h:601
@ BAM_BIT
Definition amd8111e.h:602
@ OFLO_BIT
Definition amd8111e.h:598
@ PAM_BIT
Definition amd8111e.h:600
@ TT_VLAN_TAGGED
Definition amd8111e.h:603
@ TT_PRTY_TAGGED
Definition amd8111e.h:604
@ ERR_BIT
Definition amd8111e.h:596
@ FRAM_BIT
Definition amd8111e.h:597
AUTOPOLL3_BITS
Definition amd8111e.h:382
@ AP_PHY3_DFLT
Definition amd8111e.h:387
@ AP_PHY3_ADDR_MASK
Definition amd8111e.h:388
@ AP_REG3_EN
Definition amd8111e.h:384
@ AP_PRE_SUP3
Definition amd8111e.h:386
@ AP_REG3_ADDR_MASK
Definition amd8111e.h:385
CMD7_BITS
Definition amd8111e.h:307
@ PMAT_MODE
Definition amd8111e.h:311
@ MPEN_SW
Definition amd8111e.h:312
@ PMAT_SAVE_MATCH
Definition amd8111e.h:310
@ CMD7_CLEAR
Definition amd8111e.h:315
@ LCMODE_SW
Definition amd8111e.h:313
CMD0_BITS
Definition amd8111e.h:233
@ RX_SPND
Definition amd8111e.h:245
@ TDMD1
Definition amd8111e.h:239
@ INTREN
Definition amd8111e.h:247
@ RUN
Definition amd8111e.h:248
@ TDMD3
Definition amd8111e.h:237
@ RDMD0
Definition amd8111e.h:235
@ TDMD0
Definition amd8111e.h:240
@ TX_SPND
Definition amd8111e.h:246
@ TDMD2
Definition amd8111e.h:238
@ TX_FAST_SPND
Definition amd8111e.h:244
@ RX_FAST_SPND
Definition amd8111e.h:243
@ UINTCMD
Definition amd8111e.h:242
@ CMD0_CLEAR
Definition amd8111e.h:250
PMAT1_BITS
Definition amd8111e.h:504
@ PMR_B3
Definition amd8111e.h:505
@ PMR_B2
Definition amd8111e.h:506
@ PMR_B1
Definition amd8111e.h:507
@ PMR_B0
Definition amd8111e.h:508
DLY_INT_A_BITS
Definition amd8111e.h:428
@ DLY_INT_A_R3
Definition amd8111e.h:430
@ DLY_INT_A_T2
Definition amd8111e.h:435
@ DLY_INT_A_T1
Definition amd8111e.h:436
@ DLY_INT_A_R2
Definition amd8111e.h:431
@ MAX_DELAY_TIME_A
Definition amd8111e.h:439
@ EVENT_COUNT_A
Definition amd8111e.h:438
@ DLY_INT_A_T0
Definition amd8111e.h:437
@ DLY_INT_A_T3
Definition amd8111e.h:434
@ DLY_INT_A_R0
Definition amd8111e.h:433
@ DLY_INT_A_R1
Definition amd8111e.h:432
CTRL2_BITS
Definition amd8111e.h:332
@ APDW_MASK
Definition amd8111e.h:339
@ XPHYFD
Definition amd8111e.h:337
@ XPHYRST
Definition amd8111e.h:335
@ XPHYANE
Definition amd8111e.h:336
@ XPHYSP
Definition amd8111e.h:338
@ FMDC_MASK
Definition amd8111e.h:334
INT0_BITS
Definition amd8111e.h:164
@ RINT_SUM
Definition amd8111e.h:179
@ MREINT
Definition amd8111e.h:178
@ INTR
Definition amd8111e.h:166
@ PCSINT
Definition amd8111e.h:167
@ TINT1
Definition amd8111e.h:185
@ MIIPDTINT
Definition amd8111e.h:176
@ APINT5
Definition amd8111e.h:169
@ APINT0
Definition amd8111e.h:175
@ APINT3
Definition amd8111e.h:171
@ APINT2
Definition amd8111e.h:173
@ STINT
Definition amd8111e.h:188
@ UINT
Definition amd8111e.h:187
@ RINT0
Definition amd8111e.h:189
@ TINT0
Definition amd8111e.h:186
@ TINT2
Definition amd8111e.h:184
@ MPINT
Definition amd8111e.h:181
@ TINT3
Definition amd8111e.h:183
@ APINT4
Definition amd8111e.h:170
@ MCCINT
Definition amd8111e.h:177
@ LCINT
Definition amd8111e.h:168
@ SINT
Definition amd8111e.h:182
@ SPNDINT
Definition amd8111e.h:180
@ TINT_SUM
Definition amd8111e.h:172
@ APINT1
Definition amd8111e.h:174
PMAT0_BITS
Definition amd8111e.h:492
@ PMR_RD_CMD
Definition amd8111e.h:495
@ PMR_B4
Definition amd8111e.h:499
@ PMR_BANK
Definition amd8111e.h:496
@ PMR_WR_CMD
Definition amd8111e.h:494
@ PMR_ADDR
Definition amd8111e.h:497
@ PMR_ACTIVE
Definition amd8111e.h:493
MIB_ADDR_BITS
Definition amd8111e.h:134
@ MIB_RD_CMD
Definition amd8111e.h:137
@ MIB_CLEAR
Definition amd8111e.h:138
@ MIB_CMD_ACTIVE
Definition amd8111e.h:136
@ MIB_ADDRESS
Definition amd8111e.h:139
CTRL1_BITS
Definition amd8111e.h:320
@ CTRL1_DEFAULT
Definition amd8111e.h:328
@ XMTSP_128
Definition amd8111e.h:324
@ XMTSP_MASK
Definition amd8111e.h:323
@ CACHE_ALIGN
Definition amd8111e.h:326
@ XMTSP_64
Definition amd8111e.h:325
@ BURST_LIMIT_MASK
Definition amd8111e.h:327
@ RESET_PHY_WIDTH
Definition amd8111e.h:322
STAT0_BITS
Definition amd8111e.h:144
@ RX_SUSPENDED
Definition amd8111e.h:154
@ RUNNING
Definition amd8111e.h:156
@ FULL_DPLX
Definition amd8111e.h:150
@ MIIPD
Definition amd8111e.h:153
@ LINK_STATS
Definition amd8111e.h:151
@ SPEED_MASK
Definition amd8111e.h:149
@ MP_DET
Definition amd8111e.h:147
@ AUTONEG_COMPLETE
Definition amd8111e.h:152
@ TX_SUSPENDED
Definition amd8111e.h:155
@ PMAT_DET
Definition amd8111e.h:146
@ LC_DET
Definition amd8111e.h:148
AUTOPOLL5_BITS
Definition amd8111e.h:404
@ AP_REG5_ADDR_MASK
Definition amd8111e.h:407
@ AP_PHY5_ADDR_MASK
Definition amd8111e.h:410
@ AP_PHY5_DFLT
Definition amd8111e.h:409
@ AP_REG5_EN
Definition amd8111e.h:406
@ AP_PRE_SUP5
Definition amd8111e.h:408
PHY_ACCESS_BITS
Definition amd8111e.h:475
@ PHY_RD_CMD
Definition amd8111e.h:479
@ PHY_CMD_ACTIVE
Definition amd8111e.h:477
@ PHY_REG_ADDR
Definition amd8111e.h:484
@ PHY_RD_ERR
Definition amd8111e.h:480
@ PHY_DATA
Definition amd8111e.h:485
@ PHY_WR_CMD
Definition amd8111e.h:478
@ PHY_PRE_SUP
Definition amd8111e.h:481
@ PHY_ADDR
Definition amd8111e.h:482
CMD2_BITS
Definition amd8111e.h:254
@ RPA
Definition amd8111e.h:259
@ LTINTEN
Definition amd8111e.h:268
@ DXMTFCS
Definition amd8111e.h:269
@ DRCVBC
Definition amd8111e.h:261
@ DRTY
Definition amd8111e.h:272
@ EMBA
Definition amd8111e.h:266
@ CONDUIT_MODE
Definition amd8111e.h:257
@ RCV_DROP0
Definition amd8111e.h:265
@ EXLOOP
Definition amd8111e.h:274
@ INLOOP
Definition amd8111e.h:273
@ REX_RTRY
Definition amd8111e.h:275
@ PROM
Definition amd8111e.h:262
@ REX_LCOL
Definition amd8111e.h:277
@ ASTRP_RCV
Definition amd8111e.h:264
@ REX_UFLO
Definition amd8111e.h:276
@ DRCVPA
Definition amd8111e.h:260
@ CMD2_CLEAR
Definition amd8111e.h:279
@ APAD_XMT
Definition amd8111e.h:271
@ DXMT2PD
Definition amd8111e.h:267
AP_VALUE_BITS
Definition amd8111e.h:418
@ AP_VAL
Definition amd8111e.h:423
@ AP_VAL_RD_CMD
Definition amd8111e.h:421
@ AP_VAL_ACTIVE
Definition amd8111e.h:420
@ AP_ADDR
Definition amd8111e.h:422
AUTOPOLL2_BITS
Definition amd8111e.h:372
@ AP_PRE_SUP2
Definition amd8111e.h:376
@ AP_PHY2_DFLT
Definition amd8111e.h:377
@ AP_REG2_EN
Definition amd8111e.h:374
@ AP_REG2_ADDR_MASK
Definition amd8111e.h:375
@ AP_PHY2_ADDR_MASK
Definition amd8111e.h:378
DLY_INT_B_BITS
Definition amd8111e.h:444
@ DLY_INT_B_T3
Definition amd8111e.h:450
@ DLY_INT_B_T0
Definition amd8111e.h:453
@ EVENT_COUNT_B
Definition amd8111e.h:454
@ DLY_INT_B_T1
Definition amd8111e.h:452
@ DLY_INT_B_R3
Definition amd8111e.h:446
@ DLY_INT_B_T2
Definition amd8111e.h:451
@ DLY_INT_B_R1
Definition amd8111e.h:448
@ MAX_DELAY_TIME_B
Definition amd8111e.h:455
@ DLY_INT_B_R2
Definition amd8111e.h:447
@ DLY_INT_B_R0
Definition amd8111e.h:449
STAT_ASF_BITS
Definition amd8111e.h:127
@ ASF_INIT_PRESENT
Definition amd8111e.h:130
@ ASF_INIT_DONE
Definition amd8111e.h:129
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896