summaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip/tulip_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tulip/tulip_core.c')
-rw-r--r--drivers/net/tulip/tulip_core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c
index ca9988328..bc4dec29c 100644
--- a/drivers/net/tulip/tulip_core.c
+++ b/drivers/net/tulip/tulip_core.c
@@ -1348,13 +1348,15 @@ static void tulip_suspend (struct pci_dev *pdev)
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);