Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74453
b: refs/heads/master
c: 65809b5
h: refs/heads/master
i:
  74451: 90e8e7e
v: v3
  • Loading branch information
Maxim Levitsky authored and Jeff Garzik committed Nov 24, 2007
1 parent 8d7bc0a commit cb487cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b31f7ffa9ed7ba5fbe1cab8fb17a8c545e6a0eb
refs/heads/master: 65809b5125d61e0c8a7f6c0a5431450eaf853820
4 changes: 2 additions & 2 deletions trunk/drivers/net/tulip/dmfe.c
Original file line number Diff line number Diff line change
Expand Up @@ -2118,8 +2118,8 @@ static int dmfe_suspend(struct pci_dev *pci_dev, pm_message_t state)
pci_enable_wake(pci_dev, PCI_D3cold, 1);

/* Power down device*/
pci_set_power_state(pci_dev, pci_choose_state (pci_dev,state));
pci_save_state(pci_dev);
pci_set_power_state(pci_dev, pci_choose_state (pci_dev,state));

return 0;
}
Expand All @@ -2129,8 +2129,8 @@ static int dmfe_resume(struct pci_dev *pci_dev)
struct net_device *dev = pci_get_drvdata(pci_dev);
u32 tmp;

pci_restore_state(pci_dev);
pci_set_power_state(pci_dev, PCI_D0);
pci_restore_state(pci_dev);

/* Re-initilize DM910X board */
dmfe_init_dm910x(dev);
Expand Down

0 comments on commit cb487cd

Please sign in to comment.