igb: Code to prevent overwriting SFP I2C
authorAkeem G. Abodunrin <akeem.g.abodunrin@intel.com>
Fri, 2 Sep 2011 23:11:19 +0000 (23:11 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 6 Oct 2011 10:33:03 +0000 (03:33 -0700)
commit76d06521f514e4e7e6bfb848ef0e3f8eb421f46d
tree534e8f9882fa49e28d2d05b4e3c95487606e03db
parent6b8456c0199c4dd35bb7a04ff299ab925699e390
igb: Code to prevent overwriting SFP I2C

This patch fixes "overwrite" problem. without this fix, SFP I2C EEPROM
data, which is located at A0 can be overwritten by the phy write function.

Signed-off-by: "Akeem G. Abodunrin" <akeem.g.abodunrin@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_phy.c