netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Xo Wang <xow@google.com>
To: f.fainelli@gmail.com
Cc: davem@davemloft.net, jaedon.shin@gmail.com,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	openbmc@lists.ozlabs.org, joel@jms.id.au,
	Xo Wang <xow@google.com>
Subject: [PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros
Date: Fri, 21 Oct 2016 10:20:12 -0700	[thread overview]
Message-ID: <1477070413-92621-2-git-send-email-xow@google.com> (raw)
In-Reply-To: <1477070413-92621-1-git-send-email-xow@google.com>

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

  reply	other threads:[~2016-10-21 17:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-21 17:20 [PATCH 0/2] Broadcom BCM54612E support Xo Wang
2016-10-21 17:20 ` Xo Wang [this message]
2016-10-21 21:27   ` [PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros Florian Fainelli
2016-10-22  0:41   ` Joel Stanley
2016-10-21 17:20 ` [PATCH 2/2] net: phy: broadcom: Add support for BCM54612E Xo Wang
2016-10-21 21:31   ` Florian Fainelli
2016-10-22  0:40   ` Joel Stanley
2016-10-26 21:16 ` [PATCH 0/2] Broadcom BCM54612E support David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1477070413-92621-2-git-send-email-xow@google.com \
    --to=xow@google.com \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=jaedon.shin@gmail.com \
    --cc=joel@jms.id.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).