summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-01-25 16:58:55 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-26 04:38:20 +0100
commit21a00ab270f95d32e502d92f166dd75c518d3c5f (patch)
treebb2343a3793dabc3711db3f82a78fa3c19ce0892 /drivers/net/tg3.h
parenttg3: Disable EEE during loopback tests (diff)
downloadlinux-21a00ab270f95d32e502d92f166dd75c518d3c5f.tar.xz
linux-21a00ab270f95d32e502d92f166dd75c518d3c5f.zip
tg3: Fix EEE interoperability issue
This patch fixes a problem where EEE will fail to work in certain environments. 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 '')
-rw-r--r--drivers/net/tg3.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index fc8ecdd7c859..1dbe5eca6fed 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2113,6 +2113,10 @@
#define MII_TG3_DSP_TAP1 0x0001
#define MII_TG3_DSP_TAP1_AGCTGT_DFLT 0x0007
+#define MII_TG3_DSP_TAP26 0x001a
+#define MII_TG3_DSP_TAP26_ALNOKO 0x0001
+#define MII_TG3_DSP_TAP26_RMRXSTO 0x0002
+#define MII_TG3_DSP_TAP26_OPCSINPT 0x0004
#define MII_TG3_DSP_AADJ1CH0 0x001f
#define MII_TG3_DSP_CH34TP2 0x4022
#define MII_TG3_DSP_CH34TP2_HIBW01 0x0010