diff options
author | Doron Shikmoni <doron.shikmoni@gmail.com> | 2016-02-17 10:34:25 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-04-06 23:24:38 +0300 |
commit | efea95d45e6ab4a30df9801f8e9bf68007ee9b43 (patch) | |
tree | 99357549223b5d1110eaee988c9519d8c8ed6321 /drivers/net/ethernet/intel/e1000e/e1000.h | |
parent | 806ffb1d504927d1449397377eac63bb63489266 (diff) | |
download | linux-efea95d45e6ab4a30df9801f8e9bf68007ee9b43.tar.xz |
igb: Garbled output for "ethtool -m"
Garbled output for "ethtool -m ethX", in igb-driven NICs with module /
plugin EEPROM (i.e. SFP information). Each output data byte appears
duplicated.
In igb_ethtool.c, igb_get_module_eeprom() is reading the EEPROM via i2c;
the eeprom offset for each word that's read via igb_read_phy_reg_i2c()
was passed in #words, whereas it needs to be a byte offset.
This patches fixes the bug.
Signed-off-by: Doron Shikmoni <doron.shikmoni@gmail.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/e1000e/e1000.h')
0 files changed, 0 insertions, 0 deletions