linux/drivers/net/dsa/ocelot
Vladimir Oltean 37fe45ad12 net: dsa: felix: Don't error out on disabled ports with no phy-mode
The felix_parse_ports_node function was tested only on device trees
where all ports were enabled. Fix this check so that the driver
continues to probe only with the ports where status is not "disabled",
as expected.

Fixes: bdeced75b1 ("net: dsa: felix: Add PCS operations for PHYLINK")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-17 13:21:35 +01:00
..
felix_vsc9959.c net: dsa: felix: Don't restart PCS SGMII AN if not needed 2020-01-17 13:17:49 +01:00
felix.c net: dsa: felix: Don't error out on disabled ports with no phy-mode 2020-01-17 13:21:35 +01:00
felix.h net: dsa: felix: Add PCS operations for PHYLINK 2020-01-05 23:22:33 -08:00
Kconfig net: dsa: felix: Add PCS operations for PHYLINK 2020-01-05 23:22:33 -08:00
Makefile