aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-11-02 14:26:38 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-02 23:39:05 -0800
commit0e5f784c77197edf29d2770b518dc78777d5a480 (patch)
tree92b4e99661a56fe9ea324feb39cccda5c01c3bf6 /drivers/net/tg3.h
parent788a035e6061a66c6c77059c417fdc6234e140ff (diff)
downloadkernel_samsung_smdk4412-0e5f784c77197edf29d2770b518dc78777d5a480.zip
kernel_samsung_smdk4412-0e5f784c77197edf29d2770b518dc78777d5a480.tar.gz
kernel_samsung_smdk4412-0e5f784c77197edf29d2770b518dc78777d5a480.tar.bz2
tg3: Add AC131 power down support
The AC131 does not respect the power down bit (bit 11) of the MII Control Register (reg 0x0). Instead, software is required to put the phy into standby power down mode through the shadow register set. This patch implements support for the AC131 standby power down mode. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 68431da..9999345 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2080,6 +2080,9 @@
#define MII_TG3_FET_SHDW_MISCCTRL 0x10
#define MII_TG3_FET_SHDW_MISCCTRL_MDIX 0x4000
+#define MII_TG3_FET_SHDW_AUXMODE4 0x1a
+#define MII_TG3_FET_SHDW_AUXMODE4_SBPD 0x0008
+
#define MII_TG3_FET_SHDW_AUXSTAT2 0x1b
#define MII_TG3_FET_SHDW_AUXSTAT2_APD 0x0020