From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Walle Date: Wed, 24 Feb 2021 17:40:38 +0100 Subject: [PATCH 0/4] net: dsa: various fixes Message-ID: <20210224164042.21747-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 (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