diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-01-12 10:11:38 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-13 17:18:53 -0800 |
commit | d1ec96af77df611d1728f3bb70289f83a02df1ea (patch) | |
tree | b6268f532c7d40272da4149f27518afa0dd2191b /drivers/net/tg3.h | |
parent | 86cfe4ff02a51294cb2c974a8bedc7f648491df9 (diff) | |
download | linux-d1ec96af77df611d1728f3bb70289f83a02df1ea.tar.gz linux-d1ec96af77df611d1728f3bb70289f83a02df1ea.tar.bz2 linux-d1ec96af77df611d1728f3bb70289f83a02df1ea.zip |
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>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index cd30889650f8..43ed41b9f559 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h @@ -1054,6 +1054,8 @@ #define CPMU_MUTEX_REQ_DRIVER 0x00001000 #define TG3_CPMU_MUTEX_GNT 0x00003660 #define CPMU_MUTEX_GNT_DRIVER 0x00001000 +#define TG3_CPMU_PHY_STRAP 0x00003664 +#define TG3_CPMU_PHY_STRAP_IS_SERDES 0x00000020 /* 0x3664 --> 0x3800 unused */ /* Mbuf cluster free registers */ |