summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/hw.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-03-13 08:55:55 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-03-27 20:12:47 -0400
commit7d01b221b338ef2a5b1ffa9c60645c0bdcce191e (patch)
tree48ca1335ace7f9256182a326ba77b9eeaa5c9bd4 /drivers/net/wireless/ath9k/hw.c
parentb572b24c578ab1be9d1fcb11d2d8244878757a66 (diff)
downloadblackbird-op-linux-7d01b221b338ef2a5b1ffa9c60645c0bdcce191e.tar.gz
blackbird-op-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.c4
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;
OpenPOWER on IntegriCloud