From: Nelson, Shannon Date: Thu, 12 Nov 2009 18:47:11 +0000 (+0000) Subject: ixgbe: Flush the LSC mask change to prevent repeated interrupts X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8a0717f30ce93a686d325122d8b0c6b73b32cfb3;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ixgbe: Flush the LSC mask change to prevent repeated interrupts Signed-off-by: Shannon Nelson Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- 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) 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); } }