summaryrefslogtreecommitdiff
path: root/drivers/net/phy/bcm7xxx.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-05-22 16:22:26 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-23 15:18:00 -0400
commit733a969a7ed14fc5786bcc59c1bdda83c7ddb46e (patch)
treeda35b9fece1168c29fc03c27f212800f97d0f4b4 /drivers/net/phy/bcm7xxx.c
parent2eabd764cb5512f1338d06ffc054c8bc9fbe9104 (diff)
net: phy: broadcom: Fix auxiliary control register reads
We are currently doing auxiliary control register reads with the shadow register value 0b111 (0x7) which incidentally is also the selector value that should be present in bits [2:0]. Fix this by using the appropriate selector mask which is defined (MII_BCM54XX_AUXCTL_SHDWSEL_MASK). This does not have a functional impact yet because we always access the MII_BCM54XX_AUXCTL_SHDWSEL_MISC (0x7) register in the current code. This might change at some point though. Fixes: 5b4e29005123 ("net: phy: broadcom: add bcm54xx_auxctl_read") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/bcm7xxx.c')
0 files changed, 0 insertions, 0 deletions