From: Marek BehĂșn Date: Tue, 16 Feb 2021 19:20:54 +0000 (+0100) Subject: net: phylink: Add 5gbase-r support X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f6813bdafdb370d4fb371922d86ff85b681a736b;p=uclinux-h8%2Flinux.git net: phylink: Add 5gbase-r support Add 5GBASER interface type and speed to phylink. Signed-off-by: Marek BehĂșn Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index 84f6e197f965..053c92e02cd8 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -306,6 +306,10 @@ static int phylink_parse_mode(struct phylink *pl, struct fwnode_handle *fwnode) phylink_set(pl->supported, 2500baseX_Full); break; + case PHY_INTERFACE_MODE_5GBASER: + phylink_set(pl->supported, 5000baseT_Full); + break; + case PHY_INTERFACE_MODE_USXGMII: case PHY_INTERFACE_MODE_10GKR: case PHY_INTERFACE_MODE_10GBASER: