From f622ac94c8cb804e6abd8cd45edf42d7cdeb3678 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 31 Oct 2009 20:10:34 +0000 Subject: ixp4xx: the missing phy_disconnect call has been added in upstream, remove that patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18252 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../205-npe_driver_separate_phy_functions.patch | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'target/linux/ixp4xx/patches-2.6.31/205-npe_driver_separate_phy_functions.patch') diff --git a/target/linux/ixp4xx/patches-2.6.31/205-npe_driver_separate_phy_functions.patch b/target/linux/ixp4xx/patches-2.6.31/205-npe_driver_separate_phy_functions.patch index 857d959a4..b9835a012 100644 --- a/target/linux/ixp4xx/patches-2.6.31/205-npe_driver_separate_phy_functions.patch +++ b/target/linux/ixp4xx/patches-2.6.31/205-npe_driver_separate_phy_functions.patch @@ -99,12 +99,21 @@ if ((err = register_netdev(dev))) goto err_phy_dis; -@@ -1249,7 +1283,7 @@ static int __devexit eth_remove_one(stru - struct net_device *dev = platform_get_drvdata(pdev); +@@ -1232,7 +1266,7 @@ static int __devinit eth_init_one(struct + return 0; + + err_phy_dis: +- phy_disconnect(port->phydev); ++ ixp4xx_phy_disconnect(port->phydev); + err_free_mem: + npe_port_tab[NPE_ID(port->id)] = NULL; + platform_set_drvdata(pdev, NULL); +@@ -1250,7 +1284,7 @@ static int __devexit eth_remove_one(stru struct port *port = netdev_priv(dev); + unregister_netdev(dev); - phy_disconnect(port->phydev); + ixp4xx_phy_disconnect(dev); - unregister_netdev(dev); - phy_disconnect(port->phydev); npe_port_tab[NPE_ID(port->id)] = NULL; + platform_set_drvdata(pdev, NULL); + npe_release(port->npe); -- cgit v1.2.3