d10d9eadee98e5fad4cd5deefa44fd99c2857ab8
[openwrt/openwrt.git] / target / linux / aruba-2.6 / files / drivers / net / ar2313 / ar2313_msg.h
1 #ifndef _AR2313_MSG_H_
2 #define _AR2313_MSG_H_
3
4 #define AR2313_MTU 1692
5 #define AR2313_PRIOS 1
6 #define AR2313_QUEUES (2*AR2313_PRIOS)
7
8 #define AR2313_DESCR_ENTRIES 64
9
10 typedef struct {
11 volatile unsigned int status; // OWN, Device control and status.
12 volatile unsigned int devcs; // pkt Control bits + Length
13 volatile unsigned int addr; // Current Address.
14 volatile unsigned int descr; // Next descriptor in chain.
15 } ar2313_descr_t;
16
17 #endif /* _AR2313_MSG_H_ */