1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
5 Currently supports the ADM6996F switch
8 + tristate "Driver for Marvell switches"
11 + Currently supports the Marvell 88E6060 switch.
14 tristate "Drivers for PHY emulation on fixed speed/link"
16 --- a/drivers/net/phy/Makefile
17 +++ b/drivers/net/phy/Makefile
19 obj-$(CONFIG_BROADCOM_PHY) += broadcom.o
20 obj-$(CONFIG_ICPLUS_PHY) += icplus.o
21 obj-$(CONFIG_ADM6996_PHY) += adm6996.o
22 +obj-$(CONFIG_MVSWITCH_PHY) += mvswitch.o
23 obj-$(CONFIG_FIXED_PHY) += fixed.o
24 --- a/drivers/net/phy/mdio_bus.c
25 +++ b/drivers/net/phy/mdio_bus.c
28 #include <asm/uaccess.h>
30 +static void mdio_dev_release(struct device *dev)
37 * mdiobus_register - bring up all the PHYs on a given bus and attach them to bus
38 * @bus: target mii_bus
41 phydev->dev.parent = bus->dev;
42 phydev->dev.bus = &mdio_bus_type;
43 + phydev->dev.release = mdio_dev_release;
44 snprintf(phydev->dev.bus_id, BUS_ID_SIZE, PHY_ID_FMT, bus->id, i);