net: phy: broadcom: Update Auxiliary Control Register macros
authorXo Wang <[email protected]>
Fri, 21 Oct 2016 17:20:12 +0000 (10:20 -0700)
committerDavid S. Miller <[email protected]>
Wed, 26 Oct 2016 21:15:26 +0000 (17:15 -0400)
Add the RXD-to-RXC skew (delay) time bit in the Miscellaneous Control
shadow register and a mask for the shadow selector field.

Remove a re-definition of MII_BCM54XX_AUXCTL_SHDWSEL_AUXCTL.

Signed-off-by: Xo Wang <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/linux/brcmphy.h

index e3354b74286ccca4cefc7cbf46d28a2e880d6deb..22c4421c916cfb8e7b7211b337932b9a604705d8 100644 (file)
 #define MII_BCM54XX_AUXCTL_ACTL_SMDSP_ENA      0x0800
 
 #define MII_BCM54XX_AUXCTL_MISC_WREN   0x8000
+#define MII_BCM54XX_AUXCTL_MISC_RXD_RXC_SKEW   0x0100
 #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_AUXCTL      0x0000
+#define MII_BCM54XX_AUXCTL_SHDWSEL_MASK        0x0007
 
 /*
  * Broadcom LED source encodings.  These are used in BCM5461, BCM5481,