Subject: Re: [PATH RFC net-next 3/8] net: phy: Add helper to convert MII ADV register to a linkmode

From: Maxime Chevallier <[email-masked]>
Date: Mon, 17 Sep 2018 11:50:27 +0200

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

Reviewed-by: Maxime Chevallier <[email-masked]>