On Fri, 14 Sep 2018 23:38:51 +0200 Andrew Lunn <[email protected]> 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 <[email protected]> Reviewed-by: Maxime Chevallier <[email protected]>
