[PATCH 0/4] net: dsa: various fixes

Michael Walle michael at walle.cc
Wed Feb 24 17:40:38 CET 2021


Before a DSA port is probed, the master port needs to be probed first. For
now this worked, because the probing order was correct. But it already
falls short if you use the enetc6 port on the LS1028A SoC:

Device tree snippet:

&enetc6 {
	status = "okay";
};

&mscc_felix_port5 {
	ethernet = <&enetc6>;
	status = "okay";
};

NB. keep enetc2 enabled, otherwise you will trigger an access violation.

Michael Walle (4):
  net: dsa: return early if there is no master
  net: dsa: probe master device
  net: dsa: remove NULL check for priv  and platform data
  net: dsa: remove master santiy check

 net/dsa-uclass.c | 63 ++++++++++++++++++------------------------------
 1 file changed, 24 insertions(+), 39 deletions(-)

-- 
2.20.1



More information about the U-Boot mailing list