tg3: Add reliable serdes detection for 5717 A0
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 12 Jan 2010 10:11:38 +0000 (10:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jan 2010 01:18:53 +0000 (17:18 -0800)
commitd1ec96af77df611d1728f3bb70289f83a02df1ea
treeb6268f532c7d40272da4149f27518afa0dd2191b
parent86cfe4ff02a51294cb2c974a8bedc7f648491df9
tg3: Add reliable serdes detection for 5717 A0

The serdes status bit does not work as intended for the 5717 A0.
This patch implements an alternative detection scheme that will only be
valid for A0 revisions.

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