|
@@ -56,7 +56,7 @@ int bcm54xx_auxctl_read(struct phy_device *phydev, u16 regnum)
|
|
|
/* The register must be written to both the Shadow Register Select and
|
|
|
* the Shadow Read Register Selector
|
|
|
*/
|
|
|
- phy_write(phydev, MII_BCM54XX_AUX_CTL, regnum |
|
|
|
+ phy_write(phydev, MII_BCM54XX_AUX_CTL, MII_BCM54XX_AUXCTL_SHDWSEL_MASK |
|
|
|
regnum << MII_BCM54XX_AUXCTL_SHDWSEL_READ_SHIFT);
|
|
|
return phy_read(phydev, MII_BCM54XX_AUX_CTL);
|
|
|
}
|