]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72acede20e21c9e7bd1a021c24bb7528f9b73f29
tree38a6a96364268657da365ed2e58a9949b04b7784
parent7ba3e7762f51ada02e0f77d4f0421330470bc4af
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