net: phylink: Add missing Backplane speeds
authorJose Abreu <Jose.Abreu@synopsys.com>
Mon, 9 Mar 2020 08:36:24 +0000 (09:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 03:13:16 +0000 (20:13 -0700)
USXGMII also supports these missing backplane speeds.

Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c

index b4367fab7899ecc7fe656e7d446308d04d48ac89..47f4ce02d7bccd38a2d3d00fdac3266e49ddca0c 100644 (file)
@@ -312,11 +312,13 @@ static int phylink_parse_mode(struct phylink *pl, struct fwnode_handle *fwnode)
                        phylink_set(pl->supported, 1000baseT_Half);
                        phylink_set(pl->supported, 1000baseT_Full);
                        phylink_set(pl->supported, 1000baseX_Full);
+                       phylink_set(pl->supported, 1000baseKX_Full);
                        phylink_set(pl->supported, 2500baseT_Full);
                        phylink_set(pl->supported, 2500baseX_Full);
                        phylink_set(pl->supported, 5000baseT_Full);
                        phylink_set(pl->supported, 10000baseT_Full);
                        phylink_set(pl->supported, 10000baseKR_Full);
+                       phylink_set(pl->supported, 10000baseKX4_Full);
                        phylink_set(pl->supported, 10000baseCR_Full);
                        phylink_set(pl->supported, 10000baseSR_Full);
                        phylink_set(pl->supported, 10000baseLR_Full);