ixgbe: fix for link failure on SFP+ DA cables
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 3 Dec 2010 13:23:30 +0000 (13:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Dec 2010 21:18:50 +0000 (13:18 -0800)
This patch helps prevent FW/SW semaphore collision from leading
to link establishment failure.  The collision might mess up the
PHY registers so we reset the PHY.  However there are SFI/KR areas
in the PHY that are not reset with a Reset_AN so we need to change
LMS to reset it.  Also wait until AN state machine is AN_GOOD

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found