Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278356
b: refs/heads/master
c: 5f4a780
h: refs/heads/master
v: v3
  • Loading branch information
Bruce Allan authored and Jeff Kirsher committed Dec 5, 2011
1 parent b122f51 commit 00b0e89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 09357b00255c233705b1cf6d76a8d147340545b8
refs/heads/master: 5f4a780ddd453c4918555fed9d9c5f2d455a087d
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/intel/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -3516,7 +3516,6 @@ int e1000e_up(struct e1000_adapter *adapter)

clear_bit(__E1000_DOWN, &adapter->state);

napi_enable(&adapter->napi);
if (adapter->msix_entries)
e1000_configure_msix(adapter);
e1000_irq_enable(adapter);
Expand Down Expand Up @@ -3578,7 +3577,6 @@ void e1000e_down(struct e1000_adapter *adapter)
e1e_flush();
usleep_range(10000, 20000);

napi_disable(&adapter->napi);
e1000_irq_disable(adapter);

del_timer_sync(&adapter->watchdog_timer);
Expand Down Expand Up @@ -3901,6 +3899,8 @@ static int e1000_close(struct net_device *netdev)

pm_runtime_get_sync(&pdev->dev);

napi_disable(&adapter->napi);

if (!test_bit(__E1000_DOWN, &adapter->state)) {
e1000e_down(adapter);
e1000_free_irq(adapter);
Expand Down

0 comments on commit 00b0e89

Please sign in to comment.