46#define TX_RING_SIZE 32
47#define GT_NEXTTX(x) ((x + 1) % TX_RING_SIZE )
48#define TX_QUARTER_FULL TX_RING_SIZE/2
49#define TX_HALF_FULL TX_RING_SIZE/2
50#define RX_RING_SIZE 16
51#define HASH_TABLE_SIZE 16
52#define HASH_DRAM_SIZE HASH_TABLE_SIZE*1024
53#define INTR_ERR_SIZE 16
70 struct mbuf* txq_mbuf[TX_RING_SIZE];
71 struct mbuf* rxq_mbuf[RX_RING_SIZE];
73 volatile unsigned int intr_errsts[INTR_ERR_SIZE];
74 unsigned int intr_err_ptr1;
75 unsigned int intr_err_ptr2;
76 struct ifqueue txq_pendq;
77 unsigned int txq_pending;
80 unsigned int txq_to_cpu;
81 unsigned int txq_ei_gapcount;
82 unsigned int txq_nactive;
83 unsigned int txq_nintr;
84 unsigned int txq_outptr;
85 unsigned int txq_inptr;
86 unsigned int txq_free;
87 unsigned txq_intrbits;
88 unsigned txq_esdcmrbits;
89 unsigned txq_epsrbits;
92 unsigned long txq_desc_busaddr;
93 caddr_t txq_buf_busaddr;
95 struct mbuf *rxq_curpkt;
98 unsigned int rxq_active;
99 unsigned rxq_intrbits;
100 unsigned long rxq_desc_busaddr;
102 struct arpcom arpcom;
105 unsigned int sc_tickflags;
106 #define GE_TICK_TX_IFSTART 0x0001
107 #define GE_TICK_RX_RESTART 0x0002
108 unsigned int sc_flags;
109 #define GE_ALLMULTI 0x0001
110 #define GE_PHYSTSCHG 0x0002
111 #define GE_RXACTIVE 0x0004
114 unsigned sc_intrmask;
115 unsigned sc_idlemask;
116 unsigned sc_max_frame_length;
120 unsigned long long *sc_hashtable;
121 unsigned int sc_hashmask;
127 volatile unsigned long rxInterrupts;
129 volatile unsigned long txInterrupts;
130 unsigned long txMultiBuffPacket;
131 unsigned long txMultiMaxLen;
132 unsigned long txSinglMaxLen;
133 unsigned long txMultiMaxLoop;
134 unsigned long txBuffMaxLen;
135 unsigned long length_errors;
136 unsigned long frame_errors;
137 unsigned long crc_errors;
138 unsigned long or_errors;
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition: types.h:94
Definition: GT64260ethreg.h:61
Definition: GT64260eth.h:67