On Fri, 14 Sep 2018 23:38:51 +0200 Andrew Lunn <and...@lunn.ch> wrote:
>The phy_mii_ioctl can be used to write a value into the MII_ADVERTISE >register in the PHY. Since this changes the state of the PHY, we need >to make the same change to phydev->advertising. Add a helper which can >convert the register value to a linkmode. > >Signed-off-by: Andrew Lunn <and...@lunn.ch> Reviewed-by: Maxime Chevallier <maxime.chevall...@bootlin.com>