diff options
Diffstat (limited to 'drivers/net/forcedeth.c')
-rw-r--r-- | drivers/net/forcedeth.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index c980ce9719af..afd063fe11af 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c | |||
@@ -5559,6 +5559,11 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i | |||
5559 | /* set mac address */ | 5559 | /* set mac address */ |
5560 | nv_copy_mac_to_hw(dev); | 5560 | nv_copy_mac_to_hw(dev); |
5561 | 5561 | ||
5562 | /* Workaround current PCI init glitch: wakeup bits aren't | ||
5563 | * being set from PCI PM capability. | ||
5564 | */ | ||
5565 | device_init_wakeup(&pci_dev->dev, 1); | ||
5566 | |||
5562 | /* disable WOL */ | 5567 | /* disable WOL */ |
5563 | writel(0, base + NvRegWakeUpFlags); | 5568 | writel(0, base + NvRegWakeUpFlags); |
5564 | np->wolenabled = 0; | 5569 | np->wolenabled = 0; |