Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15121
b: refs/heads/master
c: 6a9eba1
h: refs/heads/master
i:
  15119: ba36373
v: v3
  • Loading branch information
Michael Chan authored and David S. Miller committed Dec 14, 2005
1 parent 92fe176 commit 504cde3
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: 381291b7d3e17ac966498312dc571dcca1b93efc
refs/heads/master: 6a9eba15f51c56da637e45ea1316eaa2a848986a
3 changes: 3 additions & 0 deletions trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -10826,12 +10826,14 @@ static int tg3_suspend(struct pci_dev *pdev, pm_message_t state)

tg3_full_lock(tp, 0);
tg3_halt(tp, RESET_KIND_SHUTDOWN, 1);
tp->tg3_flags &= ~TG3_FLAG_INIT_COMPLETE;
tg3_full_unlock(tp);

err = tg3_set_power_state(tp, pci_choose_state(pdev, state));
if (err) {
tg3_full_lock(tp, 0);

tp->tg3_flags |= TG3_FLAG_INIT_COMPLETE;
tg3_init_hw(tp);

tp->timer.expires = jiffies + tp->timer_offset;
Expand Down Expand Up @@ -10865,6 +10867,7 @@ static int tg3_resume(struct pci_dev *pdev)

tg3_full_lock(tp, 0);

tp->tg3_flags |= TG3_FLAG_INIT_COMPLETE;
tg3_init_hw(tp);

tp->timer.expires = jiffies + tp->timer_offset;
Expand Down

0 comments on commit 504cde3

Please sign in to comment.