mirror of
https://github.com/torvalds/linux.git
synced 2026-05-03 05:52:38 -04:00
ixgbe: extend firmware version support
Extend FW version reporting by displaying information from the iSCSI or OEM block in the EEPROM. This will allow us to more accurately identify the FW. Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
committed by
Jeff Kirsher
parent
3ead7c2e86
commit
73834aec71
@@ -1034,11 +1034,8 @@ int ixgbe_fcoe_get_hbainfo(struct net_device *netdev,
|
||||
ixgbe_driver_name,
|
||||
ixgbe_driver_version);
|
||||
/* Firmware Version */
|
||||
snprintf(info->firmware_version,
|
||||
sizeof(info->firmware_version),
|
||||
"0x%08x",
|
||||
(adapter->eeprom_verh << 16) |
|
||||
adapter->eeprom_verl);
|
||||
strlcpy(info->firmware_version, adapter->eeprom_id,
|
||||
sizeof(info->firmware_version));
|
||||
|
||||
/* Model */
|
||||
if (hw->mac.type == ixgbe_mac_82599EB) {
|
||||
|
||||
Reference in New Issue
Block a user