]> git.baikalelectronics.ru Git - kernel.git/commit
phylib: give mdio buses a device tree presence
authorLennert Buytenhek <buytenh@marvell.com>
Wed, 8 Oct 2008 23:33:40 +0000 (16:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Oct 2008 23:33:40 +0000 (16:33 -0700)
commitf20c0459fac08b2960cbb0e1b29cb15bbbeeebb4
treea777a25a6613b1187244c3bd5a22e451028fccbe
parent27534ee80028cf6addafcead33d2e6cf5e9a6f4d
phylib: give mdio buses a device tree presence

Introduce the mdio_bus class, and give each 'struct mii_bus' its own
'struct device', so that mii_bus objects are represented in the device
tree and can be found by querying the device tree.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio_bus.c
include/linux/phy.h