aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/e1000/e1000_main.c')
-rw-r--r--drivers/net/e1000/e1000_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 9c2494955bfc..343eb68fff73 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -2579,6 +2579,13 @@ e1000_watchdog(unsigned long data)
2579 netif_wake_queue(netdev); 2579 netif_wake_queue(netdev);
2580 mod_timer(&adapter->phy_info_timer, jiffies + 2 * HZ); 2580 mod_timer(&adapter->phy_info_timer, jiffies + 2 * HZ);
2581 adapter->smartspeed = 0; 2581 adapter->smartspeed = 0;
2582 } else {
2583 /* make sure the receive unit is started */
2584 if (adapter->hw.rx_needs_kicking) {
2585 struct e1000_hw *hw = &adapter->hw;
2586 uint32_t rctl = E1000_READ_REG(hw, RCTL);
2587 E1000_WRITE_REG(hw, RCTL, rctl | E1000_RCTL_EN);
2588 }
2582 } 2589 }
2583 } else { 2590 } else {
2584 if (netif_carrier_ok(netdev)) { 2591 if (netif_carrier_ok(netdev)) {