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-Tag: upstream/snapshot3+hdmi~16449^2~381 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a0717f30ce93a686d325122d8b0c6b73b32cfb3;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 afd49e0..0489286 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); } }