Re: [PATCHv2 net] phy: micrel: Fix finding PHY properties in MAC node.

2015-12-11 Thread David Miller
From: Andrew Lunn Date: Wed, 9 Dec 2015 19:56:31 +0100 > 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

Re: [PATCHv2 net] phy: micrel: Fix finding PHY properties in MAC node.

2015-12-09 Thread Andrew Lunn
> >-if (!of_node && dev->parent->of_node) > >-of_node = dev->parent->of_node; > >+/* The Micrel driver has a deprecated option to place phy OF > >+ * properties in the MAC node. Walk up the tree of devices to > >+ * find a device with an OF node. > >+ */ > >+dev_

Re: [PATCHv2 net] phy: micrel: Fix finding PHY properties in MAC node.

2015-12-09 Thread Florian Fainelli
On December 9, 2015 10:56:31 AM PST, 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 ha

Re: [PATCHv2 net] phy: micrel: Fix finding PHY properties in MAC node.

2015-12-09 Thread Dinh Nguyen
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 deprecat

[PATCHv2 net] phy: micrel: Fix finding PHY properties in MAC node.

2015-12-09 Thread Andrew Lunn
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