Commit 831bb557 authored by Ingo Molnar's avatar Ingo Molnar Committed by Jiri Slaby

drivers/net: tulip_remove_one needs to call pci_disable_device()

commit c321f7d7 upstream.

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>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 3566e03b
......@@ -1940,6 +1940,7 @@ static void tulip_remove_one(struct pci_dev *pdev)
free_netdev (dev);
pci_release_regions (pdev);
pci_set_drvdata (pdev, NULL);
pci_disable_device(pdev);
/* 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