Thread (7 messages) 7 messages, 2 authors, 2012-05-08

Re: [PATCH v6 1/3] netdev/of/phy: New function: of_mdio_find_bus().

From: David Miller <davem@davemloft.net>
Date: 2012-05-08 03:01:00
Also in: linux-devicetree, lkml, netdev

From: David Daney <redacted>
Date: Wed,  2 May 2012 18:16:37 -0700
From: David Daney <redacted>

Add of_mdio_find_bus() which allows an mii_bus to be located given its
associated the device tree node.

This is needed by the follow-on patch to add a driver for MDIO bus
multiplexers.

The of_mdiobus_register() function is modified so that the device tree
node is recorded in the mii_bus.  Then we can find it again by
iterating over all mdio_bus_class devices.

Because the OF device tree has now become an integral part of the
kernel, this can live in mdio_bus.c (which contains the needed
mdio_bus_class structure) instead of of_mdio.c.

Signed-off-by: David Daney <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help