Go to the documentation of this file.
24 #define HW_PTR void __iomem *
117 #define VOID_FRAME_OFF 0x00
118 #define CLAIM_FRAME_OFF 0x08
119 #define BEACON_FRAME_OFF 0x10
120 #define DBEACON_FRAME_OFF 0x18
121 #define RX_FIFO_OFF 0x21
124 #define RBC_MEM_SIZE 0x8000
125 #define SEND_ASYNC_AS_SYNC 0x1
126 #define SYNC_TRAFFIC_ON 0x2
129 #define RX_FIFO_SPACE 0x4000 - RX_FIFO_OFF
130 #define TX_FIFO_SPACE 0x4000
132 #define TX_SMALL_FIFO 0x0900
133 #define TX_MEDIUM_FIFO TX_FIFO_SPACE / 2
134 #define TX_LARGE_FIFO TX_FIFO_SPACE - TX_SMALL_FIFO
136 #define RX_SMALL_FIFO 0x0900
137 #define RX_LARGE_FIFO RX_FIFO_SPACE - RX_SMALL_FIFO
153 #define FM_ADDRX (FM_ADDET|FM_EXGPA0|FM_EXGPA1)
184 #define USED_QUEUES 2
219 #define FPMAX_MULTICAST 32
220 #define SMT_MAX_MULTI 4
238 #define RX_ENABLE_ALLMULTI 1
239 #define RX_DISABLE_ALLMULTI 2
240 #define RX_ENABLE_PROMISC 3
241 #define RX_DISABLE_PROMISC 4
242 #define RX_ENABLE_NSA 5
243 #define RX_DISABLE_NSA 6
253 #define AIX_REVERSE(x) ((((x)<<24L)&0xff000000L) + \
254 (((x)<< 8L)&0x00ff0000L) + \
255 (((x)>> 8L)&0x0000ff00L) + \
256 (((x)>>24L)&0x000000ffL))
259 #define AIX_REVERSE(x) (x)
264 #define MDR_REVERSE(x) ((((x)<<24L)&0xff000000L) + \
265 (((x)<< 8L)&0x00ff0000L) + \
266 (((x)>> 8L)&0x0000ff00L) + \
267 (((x)>>24L)&0x000000ffL))
270 #define MDR_REVERSE(x) (x)