diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-02-16 09:23:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-02-16 09:23:15 +0000 |
commit | 3d60d69334f43e0da151208dffee850b26d34c3c (patch) | |
tree | c3e70ccc5a93810bfa7b3e5cb7363823a4b0209d /target/linux/atheros-2.6/files/drivers/net/ar2313/dma.h | |
parent | 312aeaf1bee32e524f4ab12796e3fba46f36e8aa (diff) | |
download | mtk-20170518-3d60d69334f43e0da151208dffee850b26d34c3c.zip mtk-20170518-3d60d69334f43e0da151208dffee850b26d34c3c.tar.gz mtk-20170518-3d60d69334f43e0da151208dffee850b26d34c3c.tar.bz2 |
major cleanup of the ar531x code, improved hardware detection and support for multiple ethernet interfaces
SVN-Revision: 6307
Diffstat (limited to 'target/linux/atheros-2.6/files/drivers/net/ar2313/dma.h')
-rw-r--r-- | target/linux/atheros-2.6/files/drivers/net/ar2313/dma.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/atheros-2.6/files/drivers/net/ar2313/dma.h b/target/linux/atheros-2.6/files/drivers/net/ar2313/dma.h index 2f8c06a..6544c4e 100644 --- a/target/linux/atheros-2.6/files/drivers/net/ar2313/dma.h +++ b/target/linux/atheros-2.6/files/drivers/net/ar2313/dma.h @@ -127,9 +127,14 @@ #define DMA_CONTROL_ST AR_BIT(13) /* start transmit */ #define DMA_CONTROL_SF AR_BIT(21) /* store and forward */ -#endif // __ARUBA_DMA_H__ - +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 // __ARUBA_DMA_H__ |