layerscape: add patches-5.4
[openwrt/staging/dedeckeh.git] / target / linux / layerscape / patches-5.4 / 701-net-0375-Revert-net-phylink-make-QSGMII-a-valid-PHY-mode-for-.patch
1 From e53b64cab45ea4d01226840efd963a6bec8ad2f9 Mon Sep 17 00:00:00 2001
2 From: Vladimir Oltean <vladimir.oltean@nxp.com>
3 Date: Mon, 6 Jan 2020 14:31:58 +0200
4 Subject: [PATCH] Revert "net: phylink: make QSGMII a valid PHY mode for
5 in-band AN"
6
7 This reverts commit fe7fd9f6afce50c0fc09fd3d56cd59eda44d8dd0.
8
9 Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
10 ---
11 drivers/net/phy/phylink.c | 1 -
12 1 file changed, 1 deletion(-)
13
14 --- a/drivers/net/phy/phylink.c
15 +++ b/drivers/net/phy/phylink.c
16 @@ -283,7 +283,6 @@ static int phylink_parse_mode(struct phy
17
18 switch (pl->link_config.interface) {
19 case PHY_INTERFACE_MODE_SGMII:
20 - case PHY_INTERFACE_MODE_QSGMII:
21 phylink_set(pl->supported, 10baseT_Half);
22 phylink_set(pl->supported, 10baseT_Full);
23 phylink_set(pl->supported, 100baseT_Half);