[BNX2]: Add link-down workaround on 5706 serdes.
authorMichael Chan <mchan@broadcom.com>
Tue, 22 Jan 2008 01:07:06 +0000 (17:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:15 +0000 (15:10 -0800)
commitb2fadeae1334008c1bb4d87bc507141cb7aaf0e8
tree26fbaeefce8860a40e54852783280446c4c95847
parent1097f5e92107ca3950fabf5e1d724faa80c91e7f
[BNX2]: Add link-down workaround on 5706 serdes.

In some blade systems using the 5706 serdes, the hardware sometimes
does not properly generate link down interrupts.  We add a workaround
in the driver's timer to force a link-down when some PHY registers
report loss of SYNC.

The parallel detect logic is cleaned up slightly to better integrate
the workaround.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
drivers/net/bnx2.h