Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27192
b: refs/heads/master
c: d374c1c
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Jun 12, 2006
1 parent c8ca945 commit cc78444
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 0e838b72d54ed189033939258a961f2a0cd59647
refs/heads/master: d374c1c1281d6188a0d0676172b1c0e3de35c6e7
4 changes: 4 additions & 0 deletions trunk/drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,9 @@ static int sky2_poll(struct net_device *dev0, int *budget)
int work_done = 0;
u32 status = sky2_read32(hw, B0_Y2_SP_EISR);

if (!~status)
return 0;

if (status & Y2_IS_HW_ERR)
sky2_hw_intr(hw);

Expand Down Expand Up @@ -3438,6 +3441,7 @@ static int sky2_suspend(struct pci_dev *pdev, pm_message_t state)
}
}

pci_save_state(pdev);
return sky2_set_power_state(hw, pci_choose_state(pdev, state));
}

Expand Down

0 comments on commit cc78444

Please sign in to comment.