summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNelson, Shannon <shannon.nelson@intel.com>2009-11-12 18:47:11 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-13 20:46:54 -0800
commit8a0717f30ce93a686d325122d8b0c6b73b32cfb3 (patch)
treebaea6358c61aa242f94f9ef33d1e0fc876fe849e /drivers
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')
-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 afd49e04a56..04892863ef0 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)
adapter->link_check_timeout = jiffies;
if (!test_bit(__IXGBE_DOWN, &adapter->state)) {
IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_LSC);
+ IXGBE_WRITE_FLUSH(hw);
schedule_work(&adapter->watchdog_task);
}
}