From: Michael Walle Date: Tue, 23 Feb 2021 17:19:04 +0100 Subject: [RFC PATCH 0/2] net: dsa: various fixes Message-ID: <20210223161906.9177-1-michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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