igb: Fix EEPROM writes via ethtool on i210
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Wed, 24 Oct 2012 03:56:21 +0000 (03:56 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 1 Nov 2012 09:54:42 +0000 (02:54 -0700)
commitede4126efc93dcee555100c8fe00ed201713e800
tree1eb0fc30faabcabd8b6f73e307f0591afa5e7d91
parent09e77287e752c8fc9743d865ddadc1a0d81a4927
igb: Fix EEPROM writes via ethtool on i210

This patch fixes a problem where the driver would crash when trying to
write a word to the EEPROM on i210 devices.

Reported-by: Ekman Tsang <Ekman.Tsang@riverbed.com>
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>
drivers/net/ethernet/intel/igb/e1000_82575.c