X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/afc90574b4badb77ea9cf1be7393249482e89035..b357624582a71eec7074cc61f44a70820bd6cc47:/target/linux/generic-2.6/patches-2.6.25/640-mvswitch.patch diff --git a/target/linux/generic-2.6/patches-2.6.25/640-mvswitch.patch b/target/linux/generic-2.6/patches-2.6.25/640-mvswitch.patch index 62c64baef..85b8cb4f9 100644 --- a/target/linux/generic-2.6/patches-2.6.25/640-mvswitch.patch +++ b/target/linux/generic-2.6/patches-2.6.25/640-mvswitch.patch @@ -1,8 +1,6 @@ -Index: linux-2.6.25.4/drivers/net/phy/Kconfig -=================================================================== ---- linux-2.6.25.4.orig/drivers/net/phy/Kconfig -+++ linux-2.6.25.4/drivers/net/phy/Kconfig -@@ -70,6 +70,12 @@ config ADM6996_PHY +--- a/drivers/net/phy/Kconfig ++++ b/drivers/net/phy/Kconfig +@@ -70,6 +70,12 @@ ---help--- Currently supports the ADM6996F switch @@ -15,11 +13,9 @@ Index: linux-2.6.25.4/drivers/net/phy/Kconfig config FIXED_PHY bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs" depends on PHYLIB=y -Index: linux-2.6.25.4/drivers/net/phy/Makefile -=================================================================== ---- linux-2.6.25.4.orig/drivers/net/phy/Makefile -+++ linux-2.6.25.4/drivers/net/phy/Makefile -@@ -13,6 +13,7 @@ obj-$(CONFIG_VITESSE_PHY) += vitesse.o +--- a/drivers/net/phy/Makefile ++++ b/drivers/net/phy/Makefile +@@ -13,6 +13,7 @@ obj-$(CONFIG_BROADCOM_PHY) += broadcom.o obj-$(CONFIG_ICPLUS_PHY) += icplus.o obj-$(CONFIG_ADM6996_PHY) += adm6996.o @@ -27,10 +23,8 @@ Index: linux-2.6.25.4/drivers/net/phy/Makefile obj-$(CONFIG_REALTEK_PHY) += realtek.o obj-$(CONFIG_FIXED_PHY) += fixed.o obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o -Index: linux-2.6.25.4/drivers/net/phy/mdio_bus.c -=================================================================== ---- linux-2.6.25.4.orig/drivers/net/phy/mdio_bus.c -+++ linux-2.6.25.4/drivers/net/phy/mdio_bus.c +--- a/drivers/net/phy/mdio_bus.c ++++ b/drivers/net/phy/mdio_bus.c @@ -35,6 +35,12 @@ #include #include @@ -44,7 +38,7 @@ Index: linux-2.6.25.4/drivers/net/phy/mdio_bus.c /** * mdiobus_register - bring up all the PHYs on a given bus and attach them to bus * @bus: target mii_bus -@@ -85,6 +91,7 @@ int mdiobus_register(struct mii_bus *bus +@@ -85,6 +91,7 @@ phydev->dev.parent = bus->dev; phydev->dev.bus = &mdio_bus_type;