Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202613
b: refs/heads/master
c: 319ba64
h: refs/heads/master
i:
  202611: d4832dd
v: v3
  • Loading branch information
Steve Hodgson authored and David S. Miller committed Jun 2, 2010
1 parent 087f37b commit 00c9645
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 3bd9303500b1961d15aae783f17075936026ae79
refs/heads/master: 319ba649af30321ea221740833785b46e1fe6af3
6 changes: 6 additions & 0 deletions trunk/drivers/net/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1886,6 +1886,9 @@ static void efx_reset_work(struct work_struct *data)
{
struct efx_nic *efx = container_of(data, struct efx_nic, reset_work);

if (efx->reset_pending == RESET_TYPE_NONE)
return;

/* If we're not RUNNING then don't reset. Leave the reset_pending
* flag set so that efx_pci_probe_main will be retried */
if (efx->state != STATE_RUNNING) {
Expand Down Expand Up @@ -2332,6 +2335,9 @@ static int efx_pm_thaw(struct device *dev)

efx->type->resume_wol(efx);

/* Reschedule any quenched resets scheduled during efx_pm_freeze() */
queue_work(reset_workqueue, &efx->reset_work);

return 0;
}

Expand Down

0 comments on commit 00c9645

Please sign in to comment.