diff options
author | David S. Miller <davem@davemloft.net> | 2017-10-12 22:59:38 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-12 22:59:38 -0700 |
commit | c669b5cf42d0b066ced7ab70e7cf15e2155acb2c (patch) | |
tree | d104e37e5f425f6eeec2fbd8518d2a6d537fe1a0 /include/linux/brcmphy.h | |
parent | 32c10bbfe914c76d8802be33c97b59be9582df1b (diff) | |
parent | 12acd136913ccdf394eeb2bc8686ff5505368119 (diff) |
Merge branch 'net-support-bgmac-with-B50212E-B1-PHY'
Rafał Miłecki says:
====================
net: support bgmac with B50212E B1 PHY
I got a report that a board with BCM47189 SoC and B50212E B1 PHY doesn't
work well some devices as there is massive ping loss. After analyzing
PHY state it has appeared that is runs in slave mode and doesn't auto
switch to master properly when needed.
This patchset fixes this by:
1) Adding new flag support to the PHY driver for setting master mode
2) Modifying bgmac to request master mode for reported hardware
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/brcmphy.h')
-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 abcda9b458ab..9ac9e3e3d1e5 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h @@ -63,6 +63,7 @@ #define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00002000 #define PHY_BRCM_CLEAR_RGMII_MODE 0x00004000 #define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00008000 +#define PHY_BRCM_EN_MASTER_MODE 0x00010000 /* Broadcom BCM7xxx specific workarounds */ #define PHY_BRCM_7XXX_REV(x) (((x) >> 8) & 0xff) |