aboutsummaryrefslogtreecommitdiffstats
path: root/package/b43/src/pio.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-11 11:44:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-11 11:44:59 +0000
commitd5345b5f7a4a8f9ec4c1b4b9801a19b4ffd5d547 (patch)
tree082bbcfc88019a856d9da9d8a7022f3ce3b8fc26 /package/b43/src/pio.h
parent62ccdcedae255174a46ef74d2e0a887f16ddb30f (diff)
downloadupstream-d5345b5f7a4a8f9ec4c1b4b9801a19b4ffd5d547.tar.gz
upstream-d5345b5f7a4a8f9ec4c1b4b9801a19b4ffd5d547.tar.bz2
upstream-d5345b5f7a4a8f9ec4c1b4b9801a19b4ffd5d547.zip
add b43 fixes from #2677
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9535 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/b43/src/pio.h')
-rw-r--r--package/b43/src/pio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/b43/src/pio.h b/package/b43/src/pio.h
index 46d6d2ea9b..3488f2447b 100644
--- a/package/b43/src/pio.h
+++ b/package/b43/src/pio.h
@@ -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;