diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-03-13 04:25:55 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-28 01:12:47 +0100 |
commit | 7d01b221b338ef2a5b1ffa9c60645c0bdcce191e (patch) | |
tree | 48ca1335ace7f9256182a326ba77b9eeaa5c9bd4 /drivers/net/wireless/ath9k/hw.c | |
parent | ath9k: remove dummy PCI "retry timeout" fix (diff) | |
download | linux-7d01b221b338ef2a5b1ffa9c60645c0bdcce191e.tar.xz linux-7d01b221b338ef2a5b1ffa9c60645c0bdcce191e.zip |
ath9k: Miscellaneous EEPROM handling cleanup
Print the EEPROM version/revision on init.
Choose appropriate debug masks on error conditions,
and remove useless print messages.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath9k/hw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index d494e98ba971..3dd054b21f5a 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c @@ -588,6 +588,10 @@ static int ath9k_hw_post_attach(struct ath_hw *ah) ecode = ath9k_hw_eeprom_attach(ah); if (ecode != 0) return ecode; + + DPRINTF(ah->ah_sc, ATH_DBG_CONFIG, "Eeprom VER: %d, REV: %d\n", + ah->eep_ops->get_eeprom_ver(ah), ah->eep_ops->get_eeprom_rev(ah)); + ecode = ath9k_hw_rfattach(ah); if (ecode != 0) return ecode; |