igb: Fix SerDes autoneg flow control.
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Tue, 23 Oct 2012 12:54:33 +0000 (12:54 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 1 Dec 2012 11:30:20 +0000 (03:30 -0800)
commitdaf56e406a94675d454f996cab56c3d0b0a0d8a6
treef8a4e6ab413490c02d3e4966d3736d65346e4c04
parent3860a0bf748bf98a30f2bab73d5e3653583f7b47
igb: Fix SerDes autoneg flow control.

This patch enables flow control to be set in SerDes autoneg mode.  This is
done the way it is done for copper, but relies on a different set of register/bit
checks since this is all done within the MAC registers.

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
drivers/net/ethernet/intel/igb/e1000_defines.h
drivers/net/ethernet/intel/igb/e1000_mac.c