aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-02-12 09:47:12 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-12 20:05:55 -0500
commit1061b7c56482310bbb8197045d51e2986afabfce (patch)
tree379f9faa46dc45f1bea5c630ac83090b805bcfcd /drivers/net/tg3.h
parentc88734054e787542ea093b02120e324e92cad882 (diff)
tg3: Fix AC131 loopback test errors for 5785
The AC131 does not enable the forced transmit clock settings immediately. The workaround is to read the register again to get the setting to take effect. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index a8fb53aaf742..b4fd59623cfb 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2112,6 +2112,9 @@
2112 2112
2113/* Fast Ethernet Tranceiver definitions */ 2113/* Fast Ethernet Tranceiver definitions */
2114#define MII_TG3_FET_PTEST 0x17 2114#define MII_TG3_FET_PTEST 0x17
2115#define MII_TG3_FET_PTEST_FRC_TX_LINK 0x1000
2116#define MII_TG3_FET_PTEST_FRC_TX_LOCK 0x0800
2117
2115#define MII_TG3_FET_TEST 0x1f 2118#define MII_TG3_FET_TEST 0x1f
2116#define MII_TG3_FET_SHADOW_EN 0x0080 2119#define MII_TG3_FET_SHADOW_EN 0x0080
2117 2120