1 Index: linux-2.6.23.16/drivers/net/phy/Kconfig
2 ===================================================================
3 --- linux-2.6.23.16.orig/drivers/net/phy/Kconfig 2008-04-20 07:31:20.000000000 +0200
4 +++ linux-2.6.23.16/drivers/net/phy/Kconfig 2008-04-20 08:57:26.000000000 +0200
7 Currently supports the ADM6996F switch
10 + tristate "Driver for Marvell switches"
13 + Currently supports the Marvell 88E6060 switch.
16 tristate "Drivers for PHY emulation on fixed speed/link"
18 Index: linux-2.6.23.16/drivers/net/phy/Makefile
19 ===================================================================
20 --- linux-2.6.23.16.orig/drivers/net/phy/Makefile 2008-04-20 07:31:20.000000000 +0200
21 +++ linux-2.6.23.16/drivers/net/phy/Makefile 2008-04-20 07:31:34.000000000 +0200
23 obj-$(CONFIG_BROADCOM_PHY) += broadcom.o
24 obj-$(CONFIG_ICPLUS_PHY) += icplus.o
25 obj-$(CONFIG_ADM6996_PHY) += adm6996.o
26 +obj-$(CONFIG_MVSWITCH_PHY) += mvswitch.o
27 obj-$(CONFIG_FIXED_PHY) += fixed.o
28 Index: linux-2.6.23.16/drivers/net/phy/mdio_bus.c
29 ===================================================================
30 --- linux-2.6.23.16.orig/drivers/net/phy/mdio_bus.c 2008-04-20 04:40:31.000000000 +0200
31 +++ linux-2.6.23.16/drivers/net/phy/mdio_bus.c 2008-04-20 07:34:08.000000000 +0200
34 #include <asm/uaccess.h>
36 +static void mdio_dev_release(struct device *dev)
43 * mdiobus_register - bring up all the PHYs on a given bus and attach them to bus
44 * @bus: target mii_bus
47 phydev->dev.parent = bus->dev;
48 phydev->dev.bus = &mdio_bus_type;
49 + phydev->dev.release = mdio_dev_release;
50 snprintf(phydev->dev.bus_id, BUS_ID_SIZE, PHY_ID_FMT, bus->id, i);