major cleanup of the ar531x code, improved hardware detection and support for multipl...
[openwrt.git] / target / linux / atheros-2.6 / files / drivers / net / ar2313 / dma.h
index 2f8c06a..6544c4e 100644 (file)
 #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__