Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202601
b: refs/heads/master
c: 7a1d7f0
h: refs/heads/master
i:
  202599: 4941ddf
v: v3
  • Loading branch information
Steven Walter authored and David S. Miller committed Jun 1, 2010
1 parent 77ef484 commit 25f56e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 92c4bbfac65e0b0d4d4ea5ed21fddf62323d335b
refs/heads/master: 7a1d7f01b5e90f85d0b4ec4bfd5a5da769d2bb1d
7 changes: 7 additions & 0 deletions trunk/drivers/net/tulip/tulip_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,13 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
return i;
}

/* The chip will fail to enter a low-power state later unless
* first explicitly commanded into D0 */
if (pci_set_power_state(pdev, PCI_D0)) {
printk (KERN_NOTICE PFX
"Failed to set power state to D0\n");
}

irq = pdev->irq;

/* alloc_etherdev ensures aligned and zeroed private structures */
Expand Down

0 comments on commit 25f56e6

Please sign in to comment.