commit | 912aae27c6af6605eae967ab540c5e26bd76d421 | [log] [tgz] |
---|---|---|
author | Helmut Grohne <helmut.grohne@intenta.de> | Thu Sep 24 10:37:47 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 24 20:08:48 2020 -0700 |
tree | 4f3367fed2c4862fd4e4dcc0f916ba5fec83de63 | |
parent | 38f7e1c0c43dd25b06513137bb6fd35476f9ec6d [diff] |
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: edecfa98f602 ("net: dsa: microchip: look for phy-mode in port nodes") Signed-off-by: Helmut Grohne <helmut.grohne@intenta.de> Signed-off-by: David S. Miller <davem@davemloft.net>