[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56688369.80706@opensource.altera.com>
Date: Wed, 9 Dec 2015 13:39:21 -0600
From: Dinh Nguyen <dinguyen@...nsource.altera.com>
To: Andrew Lunn <andrew@...n.ch>, David Miller <davem@...emloft.net>
CC: netdev <netdev@...r.kernel.org>,
Florian Fainelli <f.fainelli@...il.com>,
<david.daney@...ium.com>
Subject: Re: [PATCHv2 net] phy: micrel: Fix finding PHY properties in MAC
node.
On 12/09/2015 12:56 PM, Andrew Lunn wrote:
> 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 <dinguyen@...nsource.altera.com>
> Suggested-by: David Daney <david.daney@...ium.com>
> Acked-by: David Daney <david.daney@...ium.com>
> Fixes: 8b63ec1837fa ("phylib: Make PHYs children of their MDIO bus, not the bus' parent.")
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
> ---
> v2: Remove include of netdev.h
> ---
Feel free to add:
Tested-by: Dinh Nguyen <dinguyen@...nsource.altera.com>
Thanks,
Dinh
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists