43#define MAL0_TXCASR 0x184
44#define MAL0_TXCARR 0x185
45#define MAL0_TXEOBISR 0x186
46#define MAL0_TXDEIR 0x187
47#define MAL0_RXCASR 0x190
48#define MAL0_RXCARR 0x191
49#define MAL0_RXEOBISR 0x192
50#define MAL0_RXDEIR 0x193
51#define MAL0_TXCTP0R 0x1A0
52#define MAL0_TXCTP1R 0x1A1
53#define MAL0_RXCTP0R 0x1C0
54#define MAL0_RXCTP1R 0x1C1
55#define MAL0_RCBS0 0x1E0
56#define MAL0_RCBS1 0x1E1
73 uint32_t g_indivHash[4];
74 uint32_t g_groupHash[4];
79 uint32_t xmtReqThreshold;
80 uint32_t rcvWatermarks;
85 uint32_t e_unused3[2];
86 uint32_t e_indivHash[8];
87 uint32_t e_groupHash[8];
93enum { EMACAddress = 0xEF600800 };
94enum { EMAC0GPAddress = 0xEF600800 };
98 kEMACRxIdle = 0x80000000,
99 kEMACTxIdle = 0x40000000,
100 kEMACSoftRst = 0x20000000,
101 kEMACTxEnable = 0x10000000,
102 kEMACRxEnable = 0x08000000,
105 kEMACFullDuplex = 0x80000000,
106 kEMACDoFlowControl = 0x10000000,
107 kEMACIgnoreSQE = 0x01000000,
108 kEMAC100MBbps = 0x00400000,
109 kEMAC4KRxFIFO = 0x00300000,
110 kEMAC2KTxFIFO = 0x00080000,
111 kEMACTx0Multi = 0x00008000,
112 kEMACTxDependent= 0x00014000,
113 kEMAC100Mbps = 0x00400000,
114 kgEMAC4KRxFIFO = 0x00300000,
115 kgEMAC2KTxFIFO = 0x00080000,
116 kgEMACTx0Multi = 0x00008000,
117 kgEMACTxDependent= 0x00014000,
121 kEMACNewPacket0 = 0x80000000,
122 kEMACNewPacket1 = 0x40000000,
125 kEMACStripPadding = 0x80000000,
126 kEMACStripFCS = 0x40000000,
127 kEMACRcvRunts = 0x20000000,
128 kEMACRcvFCSErrs = 0x10000000,
129 kEMACRcvOversize = 0x08000000,
130 kEMACPromiscRcv = 0x01000000,
131 kEMACPromMultRcv = 0x00800000,
132 kEMACIndivRcv = 0x00400000,
133 kEMACHashRcv = 0x00200000,
134 kEMACBrcastRcv = 0x00100000,
135 kEMACMultcastRcv = 0x00080000,
136 keEMACNonIPMultcast = 0x00040000,
137 keEMACRxFIFOAFMax = 7,
140 kgSTAComplete = 0x8000,
144 kEMACIOverrun = 0x02000000,
145 kEMACIPause = 0x01000000,
146 kEMACIBadPkt = 0x00800000,
147 kEMACIRuntPkt = 0x00400000,
148 kEMACIShortEvt= 0x00200000,
149 kEMACIAlignErr= 0x00100000,
150 kEMACIBadFCS = 0x00080000,
151 kEMACIOverSize= 0x00040000,
152 kEMACILLCRange= 0x00020000,
153 kEMACISQEErr = 0x00000080,
154 kEMACITxErr = 0x00000040,
157 kMALTxReady = 0x8000,
158 kMALRxEmpty = 0x8000,
160 kMALContinuous = 0x2000,
162 kMALRxFirst = 0x0800,
163 kMALInterrupt = 0x0400,
165 kMALReset = 0x80000000,
167 kMALMedLowPriority = 0x00400000,
168 kMALMedHiPriority = 0x00800000,
169 kMALHighPriority = 0x00C00000,
170 kMALLatency8 = 0x00040000,
171 kMALLockErr = 0x8000,
172 kMALCanBurst = 0x4000,
177 kMALChannel0 = 0x80000000,
178 kMALChannel1 = 0x40000000,
183 kEMACInsSrcAddr = 0x080,
184 kEMACRepSrcAddr = 0x040,
185 kEMACInsVLAN = 0x020,
186 kEMACRepVLAN = 0x010,
189 kEMACErrMask = 0x3FF,
190 kEMACFCSWrong = 0x200,
191 kEMACBadPrev = 0x100,
192 kEMACLostCarrier = 0x080,
193 kEMACDeferred = 0x040,
194 kEMACCollFail = 0x020,
195 kEMACLateColl = 0x010,
196 kEMACMultColl = 0x008,
197 kEMACOneColl = 0x004,
198 kEMACUnderrun = 0x002,
199 kEMACSQEFail = 0x001,
202 kEMACOverrun = 0x200,
203 kEMACPausePkt = 0x100,
205 kEMACRuntPkt = 0x040,
206 kEMACShortEvt = 0x020,
207 kEMACAlignErr = 0x010,
209 kEMACPktLong = 0x004,
Definition: ppc405gp.h:60