upgrade iop32x to 2.6.30
[openwrt.git] / target / linux / ixp4xx / patches-2.6.31 / 204-npe_driver_add_missing_phy_disconnect.patch
1 --- a/drivers/net/arm/ixp4xx_eth.c
2 +++ b/drivers/net/arm/ixp4xx_eth.c
3 @@ -1249,6 +1249,7 @@ static int __devexit eth_remove_one(stru
4 struct net_device *dev = platform_get_drvdata(pdev);
5 struct port *port = netdev_priv(dev);
6
7 + phy_disconnect(port->phydev);
8 unregister_netdev(dev);
9 phy_disconnect(port->phydev);
10 npe_port_tab[NPE_ID(port->id)] = NULL;
This page took 0.051578 seconds and 5 git commands to generate.