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:
Родитель
ef2820a735
Коммит
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); */
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче