[mac80211] Do not build the mac80211 module in the kernel.
[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.039016 seconds and 5 git commands to generate.