OSDN Git Service

net: macb: Use mdio child node for MDIO bus if it exists
authorSean Anderson <sean.anderson@seco.com>
Fri, 22 Oct 2021 16:35:48 +0000 (12:35 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Oct 2021 12:44:39 +0000 (13:44 +0100)
commit4d98bb0d7ec2d0b417df6207b0bafe1868bad9f8
tree38a6a96364268657da365ed2e58a9949b04b7784
parent25790844006af9538e1a01554bc043b404fd8845
net: macb: Use mdio child node for MDIO bus if it exists

This allows explicitly specifying which children are present on the mdio
bus. Additionally, it allows for non-phy MDIO devices on the bus.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c