update atheros 2.6 port - add support for the older chip generation
[openwrt/svn-archive/archive.git] / target / linux / atheros-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_ */