summaryrefslogtreecommitdiff
path: root/target/linux/atheros-2.6/files/drivers/net/ar2313/dma.h
diff options
context:
space:
mode:
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.h9
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 2f8c06af50..6544c4efbe 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__