[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200728150635.GP1551@shell.armlinux.org.uk>
Date: Tue, 28 Jul 2020 16:06:35 +0100
From: Russell King - ARM Linux admin <linux@...linux.org.uk>
To: Ioana Ciornei <ioana.ciornei@....com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
vladimir.oltean@....com, claudiu.manoil@....com,
alexandru.marginean@....com, andrew@...n.ch, f.fainelli@...il.com,
olteanv@...il.com
Subject: Re: [PATCH net-next v4 2/5] net: phylink: consider QSGMII interface
mode in phylink_mii_c22_pcs_get_state
On Fri, Jul 24, 2020 at 11:01:40AM +0300, Ioana Ciornei wrote:
> The same link partner advertisement word is used for both QSGMII and
> SGMII, thus treat both interface modes using the same
> phylink_decode_sgmii_word() function.
>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@....com>
> ---
Reviewed-by: Russell King <rmk+kernel@...linux.org.uk>
> Changes in v4:
> - none
>
> drivers/net/phy/phylink.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
> index d7810c908bb3..0219ddf94e92 100644
> --- a/drivers/net/phy/phylink.c
> +++ b/drivers/net/phy/phylink.c
> @@ -2404,6 +2404,7 @@ void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs,
> break;
>
> case PHY_INTERFACE_MODE_SGMII:
> + case PHY_INTERFACE_MODE_QSGMII:
> phylink_decode_sgmii_word(state, lpa);
> break;
>
> --
> 2.25.1
>
>
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists