diff options
author | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2009-02-06 02:54:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-06 02:54:42 -0500 |
commit | 34b0368c6864321c7020ddc8cbaec9a63b4e3de8 (patch) | |
tree | 901a80548cdd20ae9a2932d3aefdbe62adc8a49d /drivers/net/ixgbe/ixgbe.h | |
parent | 3201d3130ee3eb49ed0e905654568f02736afdcb (diff) |
ixgbe: Display EEPROM version in ethtool -i queries
Currently ixgbe does not display the EEPROM version in ethtool -i, where
other drivers do. The EEPROM version is located at offset 0x29. This
patch adds support to display it.
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 0ea791ae0d14..e98ace8c578d 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -310,6 +310,8 @@ struct ixgbe_adapter { | |||
310 | struct work_struct watchdog_task; | 310 | struct work_struct watchdog_task; |
311 | struct work_struct sfp_task; | 311 | struct work_struct sfp_task; |
312 | struct timer_list sfp_timer; | 312 | struct timer_list sfp_timer; |
313 | |||
314 | u16 eeprom_version; | ||
313 | }; | 315 | }; |
314 | 316 | ||
315 | enum ixbge_state_t { | 317 | enum ixbge_state_t { |