]> 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)
commit377f5178ff6f139cacfa246af530c4897b337bd3
tree38a6a96364268657da365ed2e58a9949b04b7784
parentde76cec2538f0b778a66b1a9c9da43c1fefca4ce
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