diff options
author | Malli Chilakala <mallikarjuna.chilakala@intel.com> | 2005-04-28 22:41:28 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-12 20:48:53 -0400 |
commit | a4cb847dac40577dd751a4deb4085ed080780679 (patch) | |
tree | 673dcbdd4bd65d32b9181ad61779b0788b36e8de /drivers | |
parent | 6d9157577d926d2a83fe8d4914c0cc216deb5842 (diff) |
[PATCH] e1000: e1000 stops working after resume
e1000 stops working after resume, call pci_enable_device after pci_restore_state - Modified Andrew Morton's patch
Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
diff -up net-drivers-2.6/drivers/net/e1000/e1000_main.c net-drivers-2.6/drivers/net/e1000.new/e1000_main.c
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index ed1e57ac7554..479915a9f0fb 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -3173,8 +3173,7 @@ e1000_resume(struct pci_dev *pdev) | |||
3173 | pci_set_power_state(pdev, 0); | 3173 | pci_set_power_state(pdev, 0); |
3174 | pci_restore_state(pdev); | 3174 | pci_restore_state(pdev); |
3175 | ret = pci_enable_device(pdev); | 3175 | ret = pci_enable_device(pdev); |
3176 | if (pdev->is_busmaster) | 3176 | pci_set_master(pdev); |
3177 | pci_set_master(pdev); | ||
3178 | 3177 | ||
3179 | pci_enable_wake(pdev, 3, 0); | 3178 | pci_enable_wake(pdev, 3, 0); |
3180 | pci_enable_wake(pdev, 4, 0); /* 4 == D3 cold */ | 3179 | pci_enable_wake(pdev, 4, 0); /* 4 == D3 cold */ |