diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-04-28 15:09:15 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-05-10 18:08:54 -0400 |
commit | d1358f62d47c9e872994e5c6e9c9d6e1f31d24c4 (patch) | |
tree | c9f7a6ef0a71809fdd2c15b15d78872acf805638 /drivers/net/wireless/iwlwifi/iwl-eeprom.c | |
parent | 22adba2a6995dc24663251ffb954f8856968f26e (diff) |
iwlwifi: move eeprom version printout to eeprom init
It doesn't belong into firmware loading,
it should instead be printed after loading
the EEPROM.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.c b/drivers/net/wireless/iwlwifi/iwl-eeprom.c index fd37152abae3..a8dd2fd78b59 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.c | |||
@@ -589,9 +589,16 @@ int iwl_eeprom_init(struct iwl_priv *priv) | |||
589 | e[addr / 2] = cpu_to_le16(r >> 16); | 589 | e[addr / 2] = cpu_to_le16(r >> 16); |
590 | } | 590 | } |
591 | } | 591 | } |
592 | |||
593 | IWL_DEBUG_INFO(priv, "NVM Type: %s, version: 0x%x\n", | ||
594 | (priv->nvm_device_type == NVM_DEVICE_TYPE_OTP) | ||
595 | ? "OTP" : "EEPROM", | ||
596 | iwl_eeprom_query16(priv, EEPROM_VERSION)); | ||
597 | |||
592 | ret = 0; | 598 | ret = 0; |
593 | done: | 599 | done: |
594 | priv->cfg->ops->lib->eeprom_ops.release_semaphore(priv); | 600 | priv->cfg->ops->lib->eeprom_ops.release_semaphore(priv); |
601 | |||
595 | err: | 602 | err: |
596 | if (ret) | 603 | if (ret) |
597 | iwl_eeprom_free(priv); | 604 | iwl_eeprom_free(priv); |