Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211112
b: refs/heads/master
c: b0255a0
h: refs/heads/master
v: v3
  • Loading branch information
Ondrej Zary authored and David S. Miller committed Sep 26, 2010
1 parent 4c59d9d commit 5422325
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e0f9c4f332c99b213d4a0b7cd21dc0781ceb3d86
refs/heads/master: b0255a02351b00ca55f4eb2588d05a5db9dd1a58
3 changes: 3 additions & 0 deletions trunk/drivers/net/tulip/de2104x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1231,6 +1231,7 @@ static void de_adapter_sleep (struct de_private *de)
if (de->de21040)
return;

dw32(CSR13, 0); /* Reset phy */
pci_read_config_dword(de->pdev, PCIPM, &pmctl);
pmctl |= PM_Sleep;
pci_write_config_dword(de->pdev, PCIPM, pmctl);
Expand Down Expand Up @@ -2166,6 +2167,8 @@ static int de_resume (struct pci_dev *pdev)
dev_err(&dev->dev, "pci_enable_device failed in resume\n");
goto out;
}
pci_set_master(pdev);
de_init_rings(de);
de_init_hw(de);
out_attach:
netif_device_attach(dev);
Expand Down

0 comments on commit 5422325

Please sign in to comment.