Skip to content
Commit 912aae27 authored by Helmut Grohne's avatar Helmut Grohne Committed by David S. Miller
Browse files

net: dsa: microchip: really look for phy-mode in port nodes



The previous implementation failed to account for the "ports" node. The
actual port nodes are not child nodes of the switch node, but a "ports"
node sits in between.

Fixes: edecfa98 ("net: dsa: microchip: look for phy-mode in port nodes")
Signed-off-by: default avatarHelmut Grohne <helmut.grohne@intenta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 38f7e1c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment