Modules/PCnetFAST3 - Quieten
[tpg/acess2.git] / KernelLand / Modules / Network / RTL8169 / rtl8169.h
1 /*
2  * Acess2 RealTek 8169 Gigabit Network Controller Driver
3  * - By John Hodge (thePowersGang)
4  *
5  * rtl8169.h
6  * - Driver header
7  */
8 #ifndef _RTL8169_H_
9 #define _RTL8169_H_
10
11 #define TXD_FLAG_OWN    0x8000  // Driver/Controller flag
12 #define TXD_FLAG_EOR    0x4000  // End of ring
13 #define TXD_FLAG_FS     0x2000  // First segment of a packet
14 #define TXD_FLAG_LS     0x1000  // Last segment of a packet
15 #define TXD_FLAG_LGSEN  0x0800  // Larget send
16 #define TXD_FLAG_IPCS   0x0004  // Offload IP checksum (only if LGSEN=0)
17 #define TXD_FLAG_UDPCS  0x0002  // Offload UDP checksum (only if LGSEN=0)
18 #define TXD_FLAG_TCPCS  0x0001  // Offload TCP checksum (only if LGSEN=0)
19
20 typedef struct s8169_Desc       t8169_Desc;
21
22 struct s8169_Desc
23 {
24         Uint16  FrameLength;
25         Uint16  Flags;
26         Uint16  VLANTag;        // Encoded VIDL(8):PRIO(3):CFI:VIDH(4)
27         Uint16  VLANFlags;
28         Uint32  AddressLow;
29         Uint32  AddressHigh;
30 } PACKED;       // sizeof() = 16 bytes
31
32 #endif
33

UCC git Repository :: git.ucc.asn.au