mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 08:16:42 +07:00
52fae08371
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>
14 lines
586 B
C
14 lines
586 B
C
#define PHY_BCM_FLAGS_MODE_COPPER 0x00000001
|
|
#define PHY_BCM_FLAGS_MODE_1000BX 0x00000002
|
|
#define PHY_BCM_FLAGS_INTF_SGMII 0x00000010
|
|
#define PHY_BCM_FLAGS_INTF_XAUI 0x00000020
|
|
#define PHY_BRCM_WIRESPEED_ENABLE 0x00000100
|
|
#define PHY_BRCM_AUTO_PWRDWN_ENABLE 0x00000200
|
|
#define PHY_BRCM_RX_REFCLK_UNUSED 0x00000400
|
|
#define PHY_BRCM_STD_IBND_DISABLE 0x00000800
|
|
#define PHY_BRCM_EXT_IBND_RX_ENABLE 0x00001000
|
|
#define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00002000
|
|
#define PHY_BRCM_CLEAR_RGMII_MODE 0x00004000
|
|
#define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00008000
|
|
#define PHY_BCM_FLAGS_VALID 0x80000000
|