net: dsa: sja1105: add 100baseT1_Full support
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 3 Mar 2020 07:44:14 +0000 (08:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Mar 2020 22:54:05 +0000 (14:54 -0800)
Validate 100baseT1_Full to make this driver work with TJA1102 PHY.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_main.c

index c27cc7b374407e6ced06b578160e1b199b59ab11..6fe679143216fe83b0816177127f57e8264f263e 100644 (file)
@@ -824,6 +824,7 @@ static void sja1105_phylink_validate(struct dsa_switch *ds, int port,
        phylink_set(mask, MII);
        phylink_set(mask, 10baseT_Full);
        phylink_set(mask, 100baseT_Full);
+       phylink_set(mask, 100baseT1_Full);
        if (mii->xmii_mode[port] == XMII_MODE_RGMII)
                phylink_set(mask, 1000baseT_Full);