aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/e1000_nvm.c
diff options
context:
space:
mode:
authorCarolyn Wyborny <carolyn.wyborny@intel.com>2012-10-23 13:04:37 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-11-01 02:35:52 -0700
commit09e77287e752c8fc9743d865ddadc1a0d81a4927 (patch)
treef86cf9a83520ce45bbc9e06adf817cf68b372af6 /drivers/net/ethernet/intel/igb/e1000_nvm.c
parentigb: Remove workaround for EEE configuration on i210/I211 (diff)
downloadlinux-dev-09e77287e752c8fc9743d865ddadc1a0d81a4927.tar.xz
linux-dev-09e77287e752c8fc9743d865ddadc1a0d81a4927.zip
igb: Add function to read i211's invm version
The i211's one-time programmable (invm) version field is different than the other fields contained in it. This patch adds a function to get the invm version of it and store it for output from ethtool. Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_nvm.c')
-rw-r--r--drivers/net/ethernet/intel/igb/e1000_nvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_nvm.c b/drivers/net/ethernet/intel/igb/e1000_nvm.c
index 54ff53905ffe..7db3f80bcd57 100644
--- a/drivers/net/ethernet/intel/igb/e1000_nvm.c
+++ b/drivers/net/ethernet/intel/igb/e1000_nvm.c
@@ -727,6 +727,7 @@ void igb_get_fw_version(struct e1000_hw *hw, struct e1000_fw_version *fw_vers)
switch (hw->mac.type) {
case e1000_i211:
+ igb_read_invm_version(hw, fw_vers);
return;
case e1000_82575:
case e1000_82576: