Go to the documentation of this file.
22 # define TxOutputEnable 0x0001
23 # define XIFLoopback 0x0002
24 # define MIILoopback 0x0004
25 # define MIILoopbackBits 0x0006
26 # define MIIBuffDisable 0x0008
27 # define SQETestEnable 0x0010
28 # define SQETimeWindow 0x03e0
29 # define XIFLanceMode 0x0010
30 # define XIFLanceIPG0 0x03e0
31 #define TXFIFOCSR 0x100
32 # define TxFIFOEnable 0x0001
34 # define TxThreshold 0x0004
35 #define RXFIFOCSR 0x120
36 # define RxFIFOEnable 0x0001
38 #define MEMDATAHI 0x140
39 #define MEMDATALO 0x150
41 # define COLActiveLow 0x0002
42 # define SerialMode 0x0004
43 # define ClkBit 0x0008
44 # define LinkStatus 0x0100
48 # define ChipSelect 0x0001
53 #define INTDISABLE 0x210
55 # define FrameReceived 0x00000001
56 # define RxFrameCntExp 0x00000002
57 # define RxAlignCntExp 0x00000004
58 # define RxCRCCntExp 0x00000008
59 # define RxLenCntExp 0x00000010
60 # define RxOverFlow 0x00000020
61 # define RxCodeViolation 0x00000040
62 # define SQETestError 0x00000080
63 # define FrameSent 0x00000100
64 # define TxUnderrun 0x00000200
65 # define TxMaxSizeError 0x00000400
66 # define TxNormalCollExp 0x00000800
67 # define TxExcessCollExp 0x00001000
68 # define TxLateCollExp 0x00002000
69 # define TxNetworkCollExp 0x00004000
70 # define TxDeferTimerExp 0x00008000
71 # define RxFIFOToHost 0x00010000
72 # define RxNoDescriptors 0x00020000
73 # define RxDMAError 0x00040000
74 # define RxDMALateErr 0x00080000
75 # define RxParityErr 0x00100000
76 # define RxTagError 0x00200000
77 # define TxEOPError 0x00400000
78 # define MIFIntrEvent 0x00800000
79 # define TxHostToFIFO 0x01000000
80 # define TxFIFOAllSent 0x02000000
81 # define TxDMAError 0x04000000
82 # define TxDMALateError 0x08000000
83 # define TxParityError 0x10000000
84 # define TxTagError 0x20000000
85 # define PIOError 0x40000000
86 # define PIOParityError 0x80000000
87 # define DisableAll 0xffffffff
88 # define EnableAll 0x00000000
90 # define EnableNormal ~(FrameReceived | FrameSent)
91 # define EnableErrors (FrameReceived | FrameSent)
92 # define RxErrorMask (RxFrameCntExp | RxAlignCntExp | RxCRCCntExp | \
93 RxLenCntExp | RxOverFlow | RxCodeViolation)
94 # define TxErrorMask (TxUnderrun | TxMaxSizeError | TxExcessCollExp | \
95 TxLateCollExp | TxNetworkCollExp | TxDeferTimerExp)
99 # define TxResetBit 0x0001
101 # define TxMACEnable 0x0001
102 # define TxSlowMode 0x0020
103 # define TxIgnoreColl 0x0040
104 # define TxNoFCS 0x0080
105 # define TxNoBackoff 0x0100
106 # define TxFullDuplex 0x0200
107 # define TxNeverGiveUp 0x0400
129 # define RxResetValue 0x0000
131 # define RxMACEnable 0x0001
132 # define RxCFGReserved 0x0004
133 # define RxPadStripEnab 0x0020
134 # define RxPromiscEnable 0x0040
135 # define RxNoErrCheck 0x0080
136 # define RxCRCNoStrip 0x0100
137 # define RxRejectOwnPackets 0x0200
138 # define RxGrpPromisck 0x0400
139 # define RxHashFilterEnable 0x0800
140 # define RxAddrFilterEnable 0x1000
162 # define EnableAllCompares 0x0fff