Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287532
b: refs/heads/master
c: b868179
h: refs/heads/master
v: v3
  • Loading branch information
Dean Nelson authored and Jeff Kirsher committed Feb 9, 2012
1 parent 097a82a commit 64902a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 64db880e7488a6d31363ad17c4c0590f27fd48e5
refs/heads/master: b868179c47e9e8eadcd04c1f3105998e528988a3
10 changes: 6 additions & 4 deletions trunk/drivers/net/ethernet/intel/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4740,12 +4740,14 @@ static int __e1000_shutdown(struct pci_dev *pdev, bool *enable_wake)
e1000_setup_rctl(adapter);
e1000_set_rx_mode(netdev);

rctl = er32(RCTL);

/* turn on all-multi mode if wake on multicast is enabled */
if (wufc & E1000_WUFC_MC) {
rctl = er32(RCTL);
if (wufc & E1000_WUFC_MC)
rctl |= E1000_RCTL_MPE;
ew32(RCTL, rctl);
}

/* enable receives in the hardware */
ew32(RCTL, rctl | E1000_RCTL_EN);

if (hw->mac_type >= e1000_82540) {
ctrl = er32(CTRL);
Expand Down

0 comments on commit 64902a1

Please sign in to comment.