]> err.no Git - linux-2.6/blobdiff - drivers/net/wireless/b43/pio.h
hostap_cs: don't match revisions in presense of the MAC chip name
[linux-2.6] / drivers / net / wireless / b43 / pio.h
index 46d6d2ea9b5f047830e5fbd2c614b6e91bf658f8..3488f2447bbf4daa41e8036f3b2a23783c2dd2c4 100644 (file)
@@ -4,6 +4,7 @@
 #include "b43.h"
 
 #include <linux/interrupt.h>
+#include <linux/io.h>
 #include <linux/list.h>
 #include <linux/skbuff.h>
 
@@ -39,10 +40,9 @@ struct b43_pio_txpacket {
        struct sk_buff *skb;
        struct ieee80211_tx_status txstat;
        struct list_head list;
+       u16 index; /* Index in the tx_packets_cache */
 };
 
-#define pio_txpacket_getindex(packet) ((int)((packet) - (packet)->queue->tx_packets_cache))
-
 struct b43_pioqueue {
        struct b43_wldev *dev;
        u16 mmio_base;