diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-10 21:12:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-10 21:12:05 +0000 |
commit | 718f5aa78e12c2a40182e264cd17b64f09d4b6ee (patch) | |
tree | 72679aeb9e63857983b720d8b1e599b0001ba847 /package/mac80211/patches/472-ath_unshare_bus_ops.patch | |
parent | 8ab360f9b300eab5c31a38de43d216f6f50d2eb9 (diff) | |
download | upstream-718f5aa78e12c2a40182e264cd17b64f09d4b6ee.tar.gz upstream-718f5aa78e12c2a40182e264cd17b64f09d4b6ee.tar.bz2 upstream-718f5aa78e12c2a40182e264cd17b64f09d4b6ee.zip |
ath5k: fix mac address detection on dual-radio ar5312
SVN-Revision: 26583
Diffstat (limited to 'package/mac80211/patches/472-ath_unshare_bus_ops.patch')
-rw-r--r-- | package/mac80211/patches/472-ath_unshare_bus_ops.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/package/mac80211/patches/472-ath_unshare_bus_ops.patch b/package/mac80211/patches/472-ath_unshare_bus_ops.patch new file mode 100644 index 0000000000..b3b0eab1f1 --- /dev/null +++ b/package/mac80211/patches/472-ath_unshare_bus_ops.patch @@ -0,0 +1,50 @@ +--- a/drivers/net/wireless/ath/ath.h ++++ b/drivers/net/wireless/ath/ath.h +@@ -123,14 +123,7 @@ struct ath_ops { + }; + + struct ath_common; +- +-struct ath_bus_ops { +- enum ath_bus_type ath_bus_type; +- void (*read_cachesize)(struct ath_common *common, int *csz); +- bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data); +- void (*bt_coex_prep)(struct ath_common *common); +- void (*extn_synch_en)(struct ath_common *common); +-}; ++struct ath_bus_ops; + + struct ath_common { + void *ah; +--- a/drivers/net/wireless/ath/ath9k/hw.h ++++ b/drivers/net/wireless/ath/ath9k/hw.h +@@ -847,6 +847,14 @@ struct ath_hw { + u32 ent_mode; + }; + ++struct ath_bus_ops { ++ enum ath_bus_type ath_bus_type; ++ void (*read_cachesize)(struct ath_common *common, int *csz); ++ bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data); ++ void (*bt_coex_prep)(struct ath_common *common); ++ void (*extn_synch_en)(struct ath_common *common); ++}; ++ + static inline struct ath_common *ath9k_hw_common(struct ath_hw *ah) + { + return &ah->common; +--- a/drivers/net/wireless/ath/ath5k/ath5k.h ++++ b/drivers/net/wireless/ath/ath5k/ath5k.h +@@ -1155,6 +1155,12 @@ struct ath5k_hw { + struct ath5k_rx_status *); + }; + ++struct ath_bus_ops { ++ enum ath_bus_type ath_bus_type; ++ void (*read_cachesize)(struct ath_common *common, int *csz); ++ bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data); ++}; ++ + /* + * Prototypes + */ |