From a530c316c800f9ee2a6ee1b0d1995bd11a743db7 Mon Sep 17 00:00:00 2001 From: "Russell King (Oracle)" Date: Fri, 10 Jun 2022 15:45:41 +0100 Subject: net: phylink: add QSGMII support to phylink_mii_c22_pcs_encode_advertisement() The QSGMII MAC-to-PHY reply is the same as the SGMII MAC-to-PHY reply. Add support for this to phylink_mii_c22_pcs_encode_advertisement(). Signed-off-by: Russell King (Oracle) --- 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 f21cc3270f72..d900310cec44 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -3175,6 +3175,7 @@ int phylink_mii_c22_pcs_encode_advertisement(phy_interface_t interface, adv |= ADVERTISE_1000XPSE_ASYM; return adv; case PHY_INTERFACE_MODE_SGMII: + case PHY_INTERFACE_MODE_QSGMII: return 0x0001; default: /* Nothing to do for other modes */ -- cgit