Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195049
b: refs/heads/master
c: 52a9b23
h: refs/heads/master
i:
  195047: bf014c2
v: v3
  • Loading branch information
Bruce Allan authored and David S. Miller committed May 13, 2010
1 parent 16109b8 commit 7338902
Show file tree
Hide file tree
Showing 2 changed files with 10 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: cd791618c28f524598bcfa941d948b1126a2394a
refs/heads/master: 52a9b2319628e2cbbff7abc4f1092f4597c75a4f
11 changes: 9 additions & 2 deletions trunk/drivers/net/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -3220,7 +3220,11 @@ int e1000e_up(struct e1000_adapter *adapter)
netif_wake_queue(adapter->netdev);

/* fire a link change interrupt to start the watchdog */
ew32(ICS, E1000_ICS_LSC);
if (adapter->msix_entries)
ew32(ICS, E1000_ICS_LSC | E1000_ICR_OTHER);
else
ew32(ICS, E1000_ICS_LSC);

return 0;
}

Expand Down Expand Up @@ -3537,7 +3541,10 @@ static int e1000_open(struct net_device *netdev)
pm_runtime_put(&pdev->dev);

/* fire a link status change interrupt to start the watchdog */
ew32(ICS, E1000_ICS_LSC);
if (adapter->msix_entries)
ew32(ICS, E1000_ICS_LSC | E1000_ICR_OTHER);
else
ew32(ICS, E1000_ICS_LSC);

return 0;

Expand Down

0 comments on commit 7338902

Please sign in to comment.