mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
drivers/net: tulip_remove_one needs to call pci_disable_device()
Otherwise the device is not completely shut down. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ef2820a735
commit
c321f7d7c8
@ -1939,6 +1939,7 @@ static void tulip_remove_one(struct pci_dev *pdev)
|
||||
pci_iounmap(pdev, tp->base_addr);
|
||||
free_netdev (dev);
|
||||
pci_release_regions (pdev);
|
||||
pci_disable_device(pdev);
|
||||
|
||||
/* pci_power_off (pdev, -1); */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user