diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-11-02 09:32:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-03 02:39:15 -0500 |
commit | 52fae0837153e86e4dabaf5df517a0b8b7a20bd7 (patch) | |
tree | 72259bf0230f7facdbf6d928f8f1f662a133e10b /include | |
parent | c704dc23cac0e433796bfe0a1fe2f1a64da11ac7 (diff) |
tg3 / broadcom: Optionally disable TXC if no link
This patch adds code to disable the TXC and RXC reference clocks if link
is not available.
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 'include')
-rw-r--r-- | include/linux/brcmphy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h index 59432278ded2..2b31b91f5871 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h | |||
@@ -9,4 +9,5 @@ | |||
9 | #define PHY_BRCM_EXT_IBND_RX_ENABLE 0x00001000 | 9 | #define PHY_BRCM_EXT_IBND_RX_ENABLE 0x00001000 |
10 | #define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00002000 | 10 | #define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00002000 |
11 | #define PHY_BRCM_CLEAR_RGMII_MODE 0x00004000 | 11 | #define PHY_BRCM_CLEAR_RGMII_MODE 0x00004000 |
12 | #define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00008000 | ||
12 | #define PHY_BCM_FLAGS_VALID 0x80000000 | 13 | #define PHY_BCM_FLAGS_VALID 0x80000000 |