Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c321f7d7 authored by Ingo Molnar's avatar Ingo Molnar Committed by David S. Miller
Browse files

drivers/net: tulip_remove_one needs to call pci_disable_device()



Otherwise the device is not completely shut down.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ef2820a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1939,6 +1939,7 @@ static void tulip_remove_one(struct pci_dev *pdev)
	pci_iounmap(pdev, tp->base_addr);
	pci_iounmap(pdev, tp->base_addr);
	free_netdev (dev);
	free_netdev (dev);
	pci_release_regions (pdev);
	pci_release_regions (pdev);
	pci_disable_device(pdev);


	/* pci_power_off (pdev, -1); */
	/* pci_power_off (pdev, -1); */
}
}