[kernel] workaround a gcc-4.1 bug which cannot see that word will be initialized
[openwrt.git] / target / linux / ixp4xx / patches-2.6.30 / 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 @@ -1245,6 +1245,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 npe_port_tab[NPE_ID(port->id)] = NULL;
10 platform_set_drvdata(pdev, NULL);
This page took 0.046169 seconds and 5 git commands to generate.