diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-06-11 04:07:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-11 09:33:58 +0300 |
commit | 8bc84b79265f66d5af736473db582e74b28e099d (patch) | |
tree | 86906f6ee6f51be17c1c0ae02a93ae2c667dca67 /include/linux/brcmphy.h | |
parent | 4f822c625f9c68267ffee7519519e304858a46c3 (diff) | |
download | linux-8bc84b79265f66d5af736473db582e74b28e099d.tar.xz |
net: phy: broadcom: define Broadcom pseudo-PHY address in brcmphy.h
Define the pseudo-PHY address (30) which is used by all Broadcom
Ethernet switches in a shared header file.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/brcmphy.h')
-rw-r--r-- | include/linux/brcmphy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h index abb6106f839d..697ca7795bd9 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h @@ -3,6 +3,11 @@ #include <linux/phy.h> +/* All Broadcom Ethernet switches have a pseudo-PHY at address 30 which is used + * to configure the switch internal registers via MDIO accesses. + */ +#define BRCM_PSEUDO_PHY_ADDR 30 + #define PHY_ID_BCM50610 0x0143bd60 #define PHY_ID_BCM50610M 0x0143bd70 #define PHY_ID_BCM5241 0x0143bc30 |