Skip to content

net: dsa: various fixes

Michael Walle u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: dsa: return early if there is no masternet/dsa-uclass.c+4 -41 reply
2/4net: dsa: probe master devicenet/dsa-uclass.c+9 -01 reply
3/4net: dsa: remove NULL check for priv and platform datanet/dsa-uclass.c+7 -142 replies
4/4net: dsa: remove master santiy checknet/dsa-uclass.c+4 -212 replies
4/4net: dsa: remove master santiy check+0 -01 reply
4/4net: dsa: remove master santiy check+0 -01 reply
4/4net: dsa: remove master santiy check+0 -01 reply
4/4net: dsa: remove master santiy check+0 -00 replies

Reviews trailers per patch

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

PatchVladimir OlteanMichael WalleRamon Fried
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b T-b
4/4R-b T-b
4/4R-b T-b
4/4R-b T-b
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] 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 (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(-)
Signature · 1 line
2.20.1