aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
authorNelson, Shannon <shannon.nelson@intel.com>2009-11-12 13:47:11 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-13 23:46:54 -0500
commit8a0717f30ce93a686d325122d8b0c6b73b32cfb3 (patch)
treebaea6358c61aa242f94f9ef33d1e0fc876fe849e /drivers/net/ixgbe/ixgbe_main.c
parentd1eff35061b9346cb9bef2b79d9d99c8c096df13 (diff)
ixgbe: Flush the LSC mask change to prevent repeated interrupts
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_main.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index afd49e04a56a..04892863ef02 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -1204,6 +1204,7 @@ static void ixgbe_check_lsc(struct ixgbe_adapter *adapter)
1204 adapter->link_check_timeout = jiffies; 1204 adapter->link_check_timeout = jiffies;
1205 if (!test_bit(__IXGBE_DOWN, &adapter->state)) { 1205 if (!test_bit(__IXGBE_DOWN, &adapter->state)) {
1206 IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_LSC); 1206 IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_LSC);
1207 IXGBE_WRITE_FLUSH(hw);
1207 schedule_work(&adapter->watchdog_task); 1208 schedule_work(&adapter->watchdog_task);
1208 } 1209 }
1209} 1210}