Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327702
b: refs/heads/master
c: 5642cee
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings committed Aug 24, 2012
1 parent 9748ba6 commit 46fd61d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6032fb56c546c0a14856dc57a92d84560816b217
refs/heads/master: 5642ceef466365ebc94eb1332d9e6228efa09518
6 changes: 3 additions & 3 deletions trunk/drivers/net/ethernet/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2164,9 +2164,9 @@ void efx_reset_down(struct efx_nic *efx, enum reset_type method)
EFX_ASSERT_RESET_SERIALISED(efx);

efx_stop_all(efx);
mutex_lock(&efx->mac_lock);

efx_stop_interrupts(efx, false);

mutex_lock(&efx->mac_lock);
if (efx->port_initialized && method != RESET_TYPE_INVISIBLE)
efx->phy_op->fini(efx);
efx->type->fini(efx);
Expand Down Expand Up @@ -2492,11 +2492,11 @@ static void efx_pci_remove(struct pci_dev *pci_dev)
rtnl_lock();
efx->state = STATE_UNINIT;
dev_close(efx->net_dev);
efx_stop_interrupts(efx, false);

/* Allow any queued efx_resets() to complete */
rtnl_unlock();

efx_stop_interrupts(efx, false);
efx_sriov_fini(efx);
efx_unregister_netdev(efx);

Expand Down

0 comments on commit 46fd61d

Please sign in to comment.