OpenCloudOS-Kernel/drivers/net/dsa/sja1105
Vladimir Oltean 27afe0d34e net: dsa: sja1105: Don't error out on disabled ports with no phy-mode
The sja1105_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: 8aa9ebccae ("net: dsa: Introduce driver for NXP SJA1105 5-port L2 switch")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-01-17 13:22:12 +01:00
..
Kconfig net: dsa: sja1105: Implement state machine for TAS with PTP clock source 2019-11-14 14:50:35 -08:00
Makefile net: dsa: sja1105: Configure the Time-Aware Scheduler via tc-taprio offload 2019-09-16 21:32:58 +02:00
sja1105.h net: dsa: sja1105: Simplify reset handling 2019-11-14 15:11:17 -08:00
sja1105_clocking.c net: dsa: sja1105: Rename sja1105_spi_send_packed_buf to sja1105_xfer_buf 2019-10-02 12:25:11 -04:00
sja1105_dynamic_config.c net: dsa: sja1105: Rename sja1105_spi_send_packed_buf to sja1105_xfer_buf 2019-10-02 12:25:11 -04:00
sja1105_dynamic_config.h net: dsa: sja1105: Use the correct style for SPDX License Identifier 2019-10-15 20:16:26 -07:00
sja1105_ethtool.c net: dsa: sja1105: Rename sja1105_spi_send_packed_buf to sja1105_xfer_buf 2019-10-02 12:25:11 -04:00
sja1105_main.c net: dsa: sja1105: Don't error out on disabled ports with no phy-mode 2020-01-17 13:22:12 +01:00
sja1105_ptp.c net: dsa: sja1105: Really make the PTP command read-write 2019-12-30 20:11:28 -08:00
sja1105_ptp.h net: dsa: sja1105: Implement state machine for TAS with PTP clock source 2019-11-14 14:50:35 -08:00
sja1105_spi.c net: dsa: sja1105: Simplify reset handling 2019-11-14 15:11:17 -08:00
sja1105_static_config.c net: dsa: sja1105: Reconcile the meaning of TPID and TPID2 for E/T and P/Q/R/S 2019-12-30 20:15:02 -08:00
sja1105_static_config.h net: dsa: sja1105: Use the correct style for SPDX License Identifier 2019-10-15 20:16:26 -07:00
sja1105_tas.c net: dsa: sja1105: Remove restriction of zero base-time for taprio offload 2019-12-30 20:13:11 -08:00
sja1105_tas.h net: dsa: sja1105: Implement state machine for TAS with PTP clock source 2019-11-14 14:50:35 -08:00