On Sun, Sep 22, 2019 at 12:00:25PM +0100, Russell King wrote:
> Read the PHY-specific status register for the current operating mode
> (speed and duplex) of the PHY.  This register reflects the actual
> mode that the PHY has resolved depending on either the advertisements
> of autoneg is enabled, or the forced mode if autoneg is disabled.
> 
> This ensures that phylib's software state always tracks the hardware
> state.
> 
> It seems both AR8033 (which uses the AR8031 ID) and AR8035 support
> this status register.  AR8030 is not known at the present time.
> 
> Reported-by: tinywrkb <tinyw...@gmail.com>
> Fixes: 5502b218e001 ("net: phy: use phy_resolve_aneg_linkmode in 
> genphy_read_status")
> Signed-off-by: Russell King <rmk+ker...@armlinux.org.uk>

Reviewed-by: Andrew Lunn <and...@lunn.ch>

    Andrew

Reply via email to