igb: Get speed and duplex for 1G non_copper devices
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Wed, 28 Aug 2013 02:23:09 +0000 (02:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 Sep 2013 12:28:31 +0000 (05:28 -0700)
commitf6878e39c726e13e1d0dfed863dcce81810e4a56
tree512ebbddb1c073cd262613922c2d84739e8b48e6
parentf1b4d6214b04caed45f0938a1d769b0d8fe79a3b
igb: Get speed and duplex for 1G non_copper devices

This patch changes how we get speed/duplex for non_copper devices; it
now uses pcs register to get current speed and duplex instead of using
generic status register that we use to detect speed/duplex for copper
devices.

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_82575.c