summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/hw.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-02-09 13:27:06 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-02-13 13:44:59 -0500
commitd535a42a21eb62bb0e7f35b8ae39da07b679dda4 (patch)
tree667627a2fb955a61701da3b52254b739861eadb1 /drivers/net/wireless/ath9k/hw.h
parent17d7904de85125c62c7258d7cb21207f26d04048 (diff)
downloadblackbird-op-linux-d535a42a21eb62bb0e7f35b8ae39da07b679dda4.tar.gz
blackbird-op-linux-d535a42a21eb62bb0e7f35b8ae39da07b679dda4.zip
ath9k: Store HW version information in a separate structure
This patch moves all the HW version/revision specific information into a separate structure. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath9k/hw.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath9k/hw.h b/drivers/net/wireless/ath9k/hw.h
index b353b1f6f8b1..afa64bde301d 100644
--- a/drivers/net/wireless/ath9k/hw.h
+++ b/drivers/net/wireless/ath9k/hw.h
@@ -406,16 +406,19 @@ enum {
ATH9K_RESET_COLD,
};
-struct ath_hal {
- u32 ah_magic;
- u16 ah_devid;
- u16 ah_subvendorid;
- u32 ah_macVersion;
- u16 ah_macRev;
- u16 ah_phyRev;
- u16 ah_analog5GhzRev;
- u16 ah_analog2GhzRev;
+struct ath9k_hw_version {
+ u32 magic;
+ u16 devid;
+ u16 subvendorid;
+ u32 macVersion;
+ u16 macRev;
+ u16 phyRev;
+ u16 analog5GhzRev;
+ u16 analog2GhzRev;
+};
+struct ath_hal {
+ struct ath9k_hw_version hw_version;
void __iomem *ah_sh;
struct ath_softc *ah_sc;
OpenPOWER on IntegriCloud