32#define MASK16(__x__) ((__x__) & 0x0000ffff)
34#define NUMBER_OF_PORTS 0x20
52#define PCI_ID 0x20001022
157#define CSR0_TXON 0x10
158#define CSR0_RXON 0x20
159#define CSR0_IENA 0x40
160#define CSR0_INTR 0x80
161#define CSR0_IDON 0x100
162#define CSR0_TINT 0x200
163#define CSR0_RINT 0x400
164#define CSR0_MERR 0x800
165#define CSR0_MISS 0x1000
166#define CSR0_CERR 0x2000
167#define CSR0_BABL 0x4000
168#define CSR0_ERR 0x8000
173#define CSR3_DXMT2PD 0x10
174#define CSR3_LAPPEN 0x20
175#define CSR3_DXSUFLO 0x40
176#define CSR3_IDONM 0x100
177#define CSR3_TINTM 0x200
178#define CSR3_RINTM 0x400
179#define CSR3_MERRM 0x800
180#define CSR3_MISSM 0x1000
181#define CSR3_BABLM 0x4000
186#define CSR4_TXSTRTM 0x4
187#define CSR4_TXSTRT 0x8
188#define CSR4_RCVCCOM 0x10
189#define CSR4_RCVCCO 0X20
190#define CSR4_UINT 0x40
191#define CSR4_UINTCMD 0x80
192#define CSR4_MFCOM 0x100
193#define CSR4_MFCO 0x200
194#define CSR4_ASTRP_RCV 0x400
195#define CSR4_APAD_XMT 0x800
196#define CSR4_DPOLL 0x1000
197#define CSR4_TIMER 0x2000
198#define CSR4_DMAPLUS 0x4000
199#define CSR4_EN124 0x8000
203#define CSR5_MPMODE 0x2
205#define CSR5_MPINTE 0x8
206#define CSR5_MPINT 0x10
207#define CSR5_MPPLBA 0x20
208#define CSR5_EXDINTE 0x40
209#define CSR5_EXDINT 0x80
210#define CSR5_SLPINTE 0x100
211#define CSR5_SLPINT 0x200
212#define CSR5_SINE 0x400
213#define CSR5_SINT 0x800
214#define CSR5_LTINTEN 0x4000
215#define CSR5_TOKINTD 0x8000
220#define CSR15_LOOP 0x4
221#define CSR15_DXMTFCS 0x8
222#define CSR15_FCOLL 0x10
223#define CSR15_DRTY 0x20
224#define CSR15_INTL 0x40
225#define CSR15_PORTSEL0 0x80
226#define CSR15_PORTSEL1 0x100
227#define CSR15_LRT 0x200
228#define CSR15_TSEL 0x200
229#define CSR15_MENDECL 0x400
230#define CSR15_DAPC 0x800
231#define CSR15_DLNKTST 0x1000
232#define CSR15_DRCVPA 0x2000
233#define CSR15_DRCVBC 0x4000
234#define CSR15_PROM 0x8000
237#define CSR58_SSIZE32 0x100
238#define CSR58_CSRPCNET 0x200
239#define CSR58_APERREN 0x400
242#define CSR124_RPA 0x4
246#define BCR2_AWAKE 0x4
247#define BCR2_EADISEL 0x8
248#define BCR2_DXCVRPOL 0x10
249#define BCR2_DXCVRCTL 0x20
250#define BCR2_INTLEVEL 0x80
251#define BCR2_APROMWE 0x100
252#define BCR2_LEDPE 0x1000
253#define BCR2_TMAULOOP 0x4000
259#define BCR4_RXPOLE 0x8
260#define BCR4_XMTE 0x10
261#define BCR4_RCVME 0x20
262#define BCR4_LNKSTE 0x40
264#define BCR4_FDLSE 0x100
265#define BCR4_MPSE 0x200
266#define BCR4_E100 0x1000
267#define BCR4_LEDDIS 0x2000
268#define BCR4_LEDPOL 0x4000
269#define BCR4_LEDOUT 0x8000
275#define BCR5_RXPOLE 0x8
276#define BCR5_XMTE 0x10
277#define BCR5_RCVME 0x20
278#define BCR5_LNKSTE 0x40
280#define BCR5_FDLSE 0x100
281#define BCR5_MPSE 0x200
282#define BCR5_E100 0x1000
283#define BCR5_LEDDIS 0x2000
284#define BCR5_LEDPOL 0x4000
285#define BCR5_LEDOUT 0x8000
291#define BCR6_RXPOLE 0x8
292#define BCR6_XMTE 0x10
293#define BCR6_RCVME 0x20
294#define BCR6_LNKSTE 0x40
296#define BCR6_FDLSE 0x100
297#define BCR6_MPSE 0x200
298#define BCR6_E100 0x1000
299#define BCR6_LEDDIS 0x2000
300#define BCR6_LEDPOL 0x4000
301#define BCR6_LEDOUT 0x8000
307#define BCR7_RXPOLE 0x8
308#define BCR7_XMTE 0x10
309#define BCR7_RCVME 0x20
310#define BCR7_LNKSTE 0x40
312#define BCR7_FDLSE 0x100
313#define BCR7_MPSE 0x200
314#define BCR7_E100 0x1000
315#define BCR7_LEDDIS 0x2000
316#define BCR7_LEDPOL 0x4000
317#define BCR7_LEDOUT 0x8000
321#define BCR9_AUIFD 0x2
322#define BCR9_FDRPAD 0x4
325#define BCR18_BWRITE 0x20
326#define BCR18_BREADE 0x40
327#define BCR18_DWIO 0x80
328#define BCR18_EXTREQ 0x100
329#define BCR18_MEMCMD 0x200
337#define BCR19_EEDET 0x2000
338#define BCR19_PREAD 0x4000
339#define BCR19_PVALID 0x8000
342#define BCR20_SSIZE32 0x100
343#define BCR20_CSRPCNET 0x200
344#define BCR20_APERREN 0x400
380#define RD_OFLO 0x1000
381#define RD_FRAM 0x2000
402#define TD1_MORE 0x1000
403#define TD1_LTINT 0x1000
404#define TD1_ADD_FCS 0x2000
405#define TD1_NO_FCS 0x2000
406#define TD1_ERR 0x4000
407#define TD1_OWN 0x8000
410#define TD2_RTRY 0x400
411#define TD2_LCAR 0x800
412#define TD2_LCOL 0x1000
413#define TD2_EXDEF 0x2000
414#define TD2_UFLO 0x4000
415#define TD2_BUFF 0x8000
struct _RECEIVE_DESCRIPTOR * PRECEIVE_DESCRIPTOR
struct _TRANSMIT_DESCRIPTOR TRANSMIT_DESCRIPTOR
struct _RECEIVE_DESCRIPTOR RECEIVE_DESCRIPTOR
struct _INITIALIZATION_BLOCK INITIALIZATION_BLOCK
struct _TRANSMIT_DESCRIPTOR * PTRANSMIT_DESCRIPTOR
struct _INITIALIZATION_BLOCK * PINITIALIZATION_BLOCK