Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1506163

[PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros

From Xo Wang <xow@google.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros
Date 2016-10-21 19:30 +0200
Message-ID <suLNL-hj-9@gated-at.bofh.it> (permalink)
References <suLNL-hj-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <xow@google.com>
---
 include/linux/brcmphy.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h
index e3354b7..22c4421 100644
--- a/include/linux/brcmphy.h
+++ b/include/linux/brcmphy.h
@@ -105,11 +105,12 @@
 #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,
-- 
2.8.0.rc3.226.g39d4020

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros Xo Wang <xow@google.com> - 2016-10-21 19:30 +0200
  Re: [PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register  macros Florian Fainelli <f.fainelli@gmail.com> - 2016-10-21 23:30 +0200
  Re: [PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros Joel Stanley <joel@jms.id.au> - 2016-10-22 02:50 +0200

csiph-web