aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-10-18 00:22:31 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-18 13:12:35 -0700
commit3503bf024b3ec6d36ba1fe7a19ad083f058bb95d (patch)
treebfd33b553a3c27b5325a2a70ff2c52701785f6c3 /include/net/sock.h
parentdt-bindings: net: lpc-eth: document optional properties (diff)
downloadlinux-dev-3503bf024b3ec6d36ba1fe7a19ad083f058bb95d.tar.xz
linux-dev-3503bf024b3ec6d36ba1fe7a19ad083f058bb95d.zip
net: lpc_eth: parse phy nodes from device tree
When connected to a micrel phy, phy_find_first doesn't work properly because the first phy found is on address 0, the broadcast address but, the first thing the phy driver is doing is disabling this broadcast address. The phy is then available only on address 1 but the mdio driver doesn't know about it. Instead, register the mdio bus using of_mdiobus_register and try to find the phy description in device tree before falling back to phy_find_first. This ultimately also allows to describe the interrupt the phy is connected to. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions