diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-07-31 08:34:06 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-16 15:26:37 -0400 |
commit | 49ded76bd52f1341671f767a2f5121cb4eb8cf6e (patch) | |
tree | 44dd972df40c0c58cf270e9dc321f3d765d86e8b /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | 3867fe0477a1e23df3d05131320d7b0075a9bed0 (diff) | |
download | lwn-49ded76bd52f1341671f767a2f5121cb4eb8cf6e.tar.gz lwn-49ded76bd52f1341671f767a2f5121cb4eb8cf6e.zip |
iwlagn: log pci revision id
Log the information after reading the PCI_REVISION_ID
from pci config space,
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 8d4a2b569f05..5c1ea0b2c6a2 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c @@ -3888,6 +3888,7 @@ static void iwl_hw_detect(struct iwl_priv *priv) priv->hw_rev = _iwl_read32(priv, CSR_HW_REV); priv->hw_wa_rev = _iwl_read32(priv, CSR_HW_REV_WA_REG); pci_read_config_byte(priv->pci_dev, PCI_REVISION_ID, &priv->rev_id); + IWL_DEBUG_INFO(priv, "HW Revision ID = 0x%X\n", priv->rev_id); } static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |