[RFC PATCH 0/2] net: dsa: various fixes

Michael Walle michael at walle.cc
Tue Feb 23 17:19:04 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 (2):
  net: dsa: return early if there is no master
  net: dsa: probe master device

 net/dsa-uclass.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

-- 
2.20.1



More information about the U-Boot mailing list