mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
convert aruba to the new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7284 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
17
target/linux/aruba-2.6/files/drivers/net/ar2313/ar2313_msg.h
Normal file
17
target/linux/aruba-2.6/files/drivers/net/ar2313/ar2313_msg.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _AR2313_MSG_H_
|
||||
#define _AR2313_MSG_H_
|
||||
|
||||
#define AR2313_MTU 1692
|
||||
#define AR2313_PRIOS 1
|
||||
#define AR2313_QUEUES (2*AR2313_PRIOS)
|
||||
|
||||
#define AR2313_DESCR_ENTRIES 64
|
||||
|
||||
typedef struct {
|
||||
volatile unsigned int status; // OWN, Device control and status.
|
||||
volatile unsigned int devcs; // pkt Control bits + Length
|
||||
volatile unsigned int addr; // Current Address.
|
||||
volatile unsigned int descr; // Next descriptor in chain.
|
||||
} ar2313_descr_t;
|
||||
|
||||
#endif /* _AR2313_MSG_H_ */
|
||||
Reference in New Issue
Block a user