diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-09 02:57:06 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-13 13:44:59 -0500 |
commit | d535a42a21eb62bb0e7f35b8ae39da07b679dda4 (patch) | |
tree | 667627a2fb955a61701da3b52254b739861eadb1 /drivers/net/wireless/ath9k/ahb.c | |
parent | 17d7904de85125c62c7258d7cb21207f26d04048 (diff) |
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/ahb.c')
-rw-r--r-- | drivers/net/wireless/ath9k/ahb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath9k/ahb.c b/drivers/net/wireless/ath9k/ahb.c index 361ace1f2104..d254b357804d 100644 --- a/drivers/net/wireless/ath9k/ahb.c +++ b/drivers/net/wireless/ath9k/ahb.c | |||
@@ -132,10 +132,10 @@ static int ath_ahb_probe(struct platform_device *pdev) | |||
132 | "%s: Atheros AR%s MAC/BB Rev:%x, " | 132 | "%s: Atheros AR%s MAC/BB Rev:%x, " |
133 | "AR%s RF Rev:%x, mem=0x%lx, irq=%d\n", | 133 | "AR%s RF Rev:%x, mem=0x%lx, irq=%d\n", |
134 | wiphy_name(hw->wiphy), | 134 | wiphy_name(hw->wiphy), |
135 | ath_mac_bb_name(ah->ah_macVersion), | 135 | ath_mac_bb_name(ah->hw_version.macVersion), |
136 | ah->ah_macRev, | 136 | ah->hw_version.macRev, |
137 | ath_rf_name((ah->ah_analog5GhzRev & AR_RADIO_SREV_MAJOR)), | 137 | ath_rf_name((ah->hw_version.analog5GhzRev & AR_RADIO_SREV_MAJOR)), |
138 | ah->ah_phyRev, | 138 | ah->hw_version.phyRev, |
139 | (unsigned long)mem, irq); | 139 | (unsigned long)mem, irq); |
140 | 140 | ||
141 | return 0; | 141 | return 0; |