igb: Force flow control off during reset when forcing speed.
authorMatthew Vick <matthew.vick@intel.com>
Wed, 18 Apr 2012 02:57:44 +0000 (02:57 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 27 Apr 2012 09:28:45 +0000 (02:28 -0700)
commita27416bbcada50173c2cf8c71d195380b9f06be2
treeaf6f116543344734acd919357e609d1cb786783d
parentbdc125f73f3c810754e858b942d54faf4ba6bffe
igb: Force flow control off during reset when forcing speed.

During igb_reset(), we initiate a hardware reset which will clear our
flow control settings. For auto-negotiation, we re-negotiate them when
linking up again, but we need to force them off properly for the forced
speed case.

Signed-off-by: Matthew Vick <matthew.vick@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/igb_main.c