aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-04-20 03:57:41 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-21 20:05:58 -0400
commitb4bd292933537e19107c3e151b27a15fefa5f8d0 (patch)
tree83b0f75b02bfe670b7dfe2a24b7b749123a461dc /drivers/net/tg3.h
parent15ee95c36d355a9f47746eaa4ae8cc0ecafec550 (diff)
tg3: Add write accessor for AUX CTRL phy reg
This patch adds a write accessor for the aux ctrl phy register. 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 b9382f18b631..eaa76694efb5 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2197,15 +2197,19 @@
2197#define MII_TG3_AUXCTL_SHDWSEL_AUXCTL 0x0000 2197#define MII_TG3_AUXCTL_SHDWSEL_AUXCTL 0x0000
2198#define MII_TG3_AUXCTL_ACTL_TX_6DB 0x0400 2198#define MII_TG3_AUXCTL_ACTL_TX_6DB 0x0400
2199#define MII_TG3_AUXCTL_ACTL_SMDSP_ENA 0x0800 2199#define MII_TG3_AUXCTL_ACTL_SMDSP_ENA 0x0800
2200#define MII_TG3_AUXCTL_ACTL_EXTPKTLEN 0x4000
2200 2201
2201#define MII_TG3_AUXCTL_SHDWSEL_PWRCTL 0x0002 2202#define MII_TG3_AUXCTL_SHDWSEL_PWRCTL 0x0002
2203#define MII_TG3_AUXCTL_PCTL_WOL_EN 0x0008
2202#define MII_TG3_AUXCTL_PCTL_100TX_LPWR 0x0010 2204#define MII_TG3_AUXCTL_PCTL_100TX_LPWR 0x0010
2203#define MII_TG3_AUXCTL_PCTL_SPR_ISOLATE 0x0020 2205#define MII_TG3_AUXCTL_PCTL_SPR_ISOLATE 0x0020
2206#define MII_TG3_AUXCTL_PCTL_CL_AB_TXDAC 0x0040
2204#define MII_TG3_AUXCTL_PCTL_VREG_11V 0x0180 2207#define MII_TG3_AUXCTL_PCTL_VREG_11V 0x0180
2205 2208
2206#define MII_TG3_AUXCTL_SHDWSEL_MISCTEST 0x0004 2209#define MII_TG3_AUXCTL_SHDWSEL_MISCTEST 0x0004
2207 2210
2208#define MII_TG3_AUXCTL_SHDWSEL_MISC 0x0007 2211#define MII_TG3_AUXCTL_SHDWSEL_MISC 0x0007
2212#define MII_TG3_AUXCTL_MISC_WIRESPD_EN 0x0010
2209#define MII_TG3_AUXCTL_MISC_FORCE_AMDIX 0x0200 2213#define MII_TG3_AUXCTL_MISC_FORCE_AMDIX 0x0200
2210#define MII_TG3_AUXCTL_MISC_RDSEL_SHIFT 12 2214#define MII_TG3_AUXCTL_MISC_RDSEL_SHIFT 12
2211#define MII_TG3_AUXCTL_MISC_WREN 0x8000 2215#define MII_TG3_AUXCTL_MISC_WREN 0x8000