diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-06-21 11:23:23 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-22 22:09:49 +0200 |
commit | 3762561aa8afb0bd9fb60d3d847961f9945f8143 (patch) | |
tree | 0968f5136282712d6ace7b952619282ccdf1c88a /drivers/net/wireless/ath/ath9k/hw.h | |
parent | ath9k: define device id for AR9330 (diff) | |
download | linux-3762561aa8afb0bd9fb60d3d847961f9945f8143.tar.xz linux-3762561aa8afb0bd9fb60d3d847961f9945f8143.zip |
ath9k: add MAC revision detection for AR9330
The AR9330 1.0 and 1.1 are using the same revision,
thus it is not possible to distinguish the two chips.
The platform setup code can distinguish the chips based
on the SoC revision.
Add a callback function to ath9k_platform_data in order
to allow getting the revision number from the platform code.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 14c5857a020c..0749fa8c3a58 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -862,6 +862,7 @@ struct ath_hw { u32 ent_mode; bool is_clk_25mhz; + int (*get_mac_revision)(void); }; struct ath_bus_ops { |