diff options
author | Jon Mason <jon.mason@broadcom.com> | 2016-11-04 01:10:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-07 13:11:21 -0500 |
commit | 5b4e2900512321435a5cd7dd77f58f23f3109950 (patch) | |
tree | 89b1a77887873f51633a0914b6e799cb8d24cafa /include | |
parent | 94edc86bf13f270a0ce08bf61caf5f464057a474 (diff) | |
download | op-kernel-dev-5b4e2900512321435a5cd7dd77f58f23f3109950.zip op-kernel-dev-5b4e2900512321435a5cd7dd77f58f23f3109950.tar.gz |
net: phy: broadcom: add bcm54xx_auxctl_read
Add a helper function to read the AUXCTL register for the BCM54xx. This
mirrors the bcm54xx_auxctl_write function already present in the code.
Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.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 60def78..0ed6691 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h @@ -110,6 +110,7 @@ #define MII_BCM54XX_AUXCTL_MISC_FORCE_AMDIX 0x0200 #define MII_BCM54XX_AUXCTL_MISC_RDSEL_MISC 0x7000 #define MII_BCM54XX_AUXCTL_SHDWSEL_MISC 0x0007 +#define MII_BCM54XX_AUXCTL_SHDWSEL_READ_SHIFT 12 #define MII_BCM54XX_AUXCTL_SHDWSEL_MASK 0x0007 |