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/pci.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/pci.c')
-rw-r--r-- | drivers/net/wireless/ath9k/pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath9k/pci.c b/drivers/net/wireless/ath9k/pci.c index aa3ac20b410c..192c8c4e59fc 100644 --- a/drivers/net/wireless/ath9k/pci.c +++ b/drivers/net/wireless/ath9k/pci.c | |||
@@ -190,10 +190,10 @@ static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
190 | "%s: Atheros AR%s MAC/BB Rev:%x " | 190 | "%s: Atheros AR%s MAC/BB Rev:%x " |
191 | "AR%s RF Rev:%x: mem=0x%lx, irq=%d\n", | 191 | "AR%s RF Rev:%x: mem=0x%lx, irq=%d\n", |
192 | wiphy_name(hw->wiphy), | 192 | wiphy_name(hw->wiphy), |
193 | ath_mac_bb_name(ah->ah_macVersion), | 193 | ath_mac_bb_name(ah->hw_version.macVersion), |
194 | ah->ah_macRev, | 194 | ah->hw_version.macRev, |
195 | ath_rf_name((ah->ah_analog5GhzRev & AR_RADIO_SREV_MAJOR)), | 195 | ath_rf_name((ah->hw_version.analog5GhzRev & AR_RADIO_SREV_MAJOR)), |
196 | ah->ah_phyRev, | 196 | ah->hw_version.phyRev, |
197 | (unsigned long)mem, pdev->irq); | 197 | (unsigned long)mem, pdev->irq); |
198 | 198 | ||
199 | return 0; | 199 | return 0; |