Skip to content

Commit

Permalink
iwlagn: log pci revision id
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Aug 16, 2010
1 parent 3867fe0 commit 49ded76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 49ded76

Please sign in to comment.