1 Index: linux-2.6.25.1/drivers/net/phy/Kconfig
2 ===================================================================
3 --- linux-2.6.25.1.orig/drivers/net/phy/Kconfig 2008-05-12 23:44:33.000000000 +0200
4 +++ linux-2.6.25.1/drivers/net/phy/Kconfig 2008-05-12 23:45:33.000000000 +0200
7 Currently supports the ADM6996F switch
10 + tristate "Driver for Marvell switches"
13 + Currently supports the Marvell 88E6060 switch.
16 bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
18 Index: linux-2.6.25.1/drivers/net/phy/Makefile
19 ===================================================================
20 --- linux-2.6.25.1.orig/drivers/net/phy/Makefile 2008-05-12 23:44:50.000000000 +0200
21 +++ linux-2.6.25.1/drivers/net/phy/Makefile 2008-05-12 23:45:59.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_REALTEK_PHY) += realtek.o
28 obj-$(CONFIG_FIXED_PHY) += fixed.o
29 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o
30 Index: linux-2.6.25.1/drivers/net/phy/mdio_bus.c
31 ===================================================================
32 --- linux-2.6.25.1.orig/drivers/net/phy/mdio_bus.c 2008-05-12 23:44:21.000000000 +0200
33 +++ linux-2.6.25.1/drivers/net/phy/mdio_bus.c 2008-05-12 23:45:33.000000000 +0200
36 #include <asm/uaccess.h>
38 +static void mdio_dev_release(struct device *dev)
45 * mdiobus_register - bring up all the PHYs on a given bus and attach them to bus
46 * @bus: target mii_bus
49 phydev->dev.parent = bus->dev;
50 phydev->dev.bus = &mdio_bus_type;
51 + phydev->dev.release = mdio_dev_release;
52 snprintf(phydev->dev.bus_id, BUS_ID_SIZE, PHY_ID_FMT, bus->id, i);