Commit 7c0965e6 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer Committed by Jeff Garzik

tulip: Fix dead 21041 ethernet after ifconfig down

The de2104x did a pci_disable_device() in it's close function, but
the open function never does a pci_enable_device() and assumes that
the device is already enabled. Considering that downing the interface
is just a temporary thing the pci_disable_device() isn't a pretty good
idea and removing it from the close function just fixes the bug.
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Acked-by: default avatarGrant Grundler <grundler@parisc-linux.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent d8779845
...@@ -1418,7 +1418,6 @@ static int de_close (struct net_device *dev) ...@@ -1418,7 +1418,6 @@ static int de_close (struct net_device *dev)
de_free_rings(de); de_free_rings(de);
de_adapter_sleep(de); de_adapter_sleep(de);
pci_disable_device(de->pdev);
return 0; return 0;
} }
......
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