Skip to content

RFC net: dsa: various fixes

Michael Walle u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: dsa: return early if there is no masternet/dsa-uclass.c+4 -41 reply
1/2net: dsa: return early if there is no master+0 -00 replies
1/2net: dsa: return early if there is no master+0 -00 replies
2/2net: dsa: probe master devicenet/dsa-uclass.c+8 -01 reply
2/2net: dsa: probe master device+0 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchVladimir Oltean
1/2R-b
1/2R-b
1/2R-b
2/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.20.1