aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-10-14 06:37:40 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-17 16:57:43 -0400
commitddfc87bfd16f370904c6ff7d23738335dd68d0ce (patch)
tree689c905c1a5b6a0005e0468e94affa3daf1383b1 /drivers/net/tg3.h
parent3d37728bc55994fdf2888f6c872bdeea03a84cc2 (diff)
tg3: Add clause 45 register accessor methods
This patch adds clause 45 register access methods. They will be used in the following patch. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 89553c42fd08..99fc30680217 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2061,6 +2061,10 @@
2061#define MII_TG3_CTRL_AS_MASTER 0x0800 2061#define MII_TG3_CTRL_AS_MASTER 0x0800
2062#define MII_TG3_CTRL_ENABLE_AS_MASTER 0x1000 2062#define MII_TG3_CTRL_ENABLE_AS_MASTER 0x1000
2063 2063
2064#define MII_TG3_MMD_CTRL 0x0d /* MMD Access Control register */
2065#define MII_TG3_MMD_CTRL_DATA_NOINC 0x4000
2066#define MII_TG3_MMD_ADDRESS 0x0e /* MMD Address Data register */
2067
2064#define MII_TG3_EXT_CTRL 0x10 /* Extended control register */ 2068#define MII_TG3_EXT_CTRL 0x10 /* Extended control register */
2065#define MII_TG3_EXT_CTRL_FIFO_ELASTIC 0x0001 2069#define MII_TG3_EXT_CTRL_FIFO_ELASTIC 0x0001
2066#define MII_TG3_EXT_CTRL_LNK3_LED_MODE 0x0002 2070#define MII_TG3_EXT_CTRL_LNK3_LED_MODE 0x0002