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

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
...@@ -1939,6 +1939,7 @@ static void tulip_remove_one(struct pci_dev *pdev) ...@@ -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); */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment