patch-2.3.99-pre7 linux/drivers/net/tulip/tulip_core.c
Next file: linux/drivers/net/via-rhine.c
Previous file: linux/drivers/net/tokenring/tmspci.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sat Apr 29 10:26:54 2000
- Orig file:
v2.3.99-pre6/linux/drivers/net/tulip/tulip_core.c
- Orig date:
Wed Apr 26 16:34:08 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/tulip/tulip_core.c linux/drivers/net/tulip/tulip_core.c
@@ -1348,13 +1348,15 @@
netif_device_detach (dev);
tulip_down (dev);
}
+// pci_set_power_state(pdev, 3);
}
-static void tulip_resume (struct pci_dev *pdev)
+static void tulip_resume(struct pci_dev *pdev)
{
struct net_device *dev = pdev->driver_data;
+ pci_enable_device(pdev);
if (dev && !netif_device_present (dev)) {
tulip_up (dev);
netif_device_attach (dev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)