diff options
author | Andrew Lunn <[email protected]> | 2015-12-09 19:56:31 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-12-11 20:31:15 -0500 |
commit | 651df2183543bc92f5dbcf99cd9e236ead0bc4c5 (patch) | |
tree | 61737e65b1b4518913f7543a87d07bdec3d8afe8 /net/openvswitch/conntrack.c | |
parent | 9470e24f35ab81574da54e69df90c1eb4a96b43f (diff) |
phy: micrel: Fix finding PHY properties in MAC node.
commit 8b63ec1837fa ("phylib: Make PHYs children of their MDIO bus,
not the bus' parent.") changed the parenting of PHY devices, making
them a child of the MDIO bus, instead of the MAC device. This broken
the Micrel PHY driver which has a deprecated feature of allowing PHY
properties to be placed into the MAC node.
In order to find the MAC node, we need to walk up the tree of devices
until we find one with an OF node attached.
Reported-by: Dinh Nguyen <[email protected]>
Suggested-by: David Daney <[email protected]>
Acked-by: David Daney <[email protected]>
Fixes: 8b63ec1837fa ("phylib: Make PHYs children of their MDIO bus, not the bus' parent.")
Signed-off-by: Andrew Lunn <[email protected]>
Tested-by: Dinh Nguyen <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/openvswitch/conntrack.c')
0 files changed, 0 insertions, 0 deletions