ixgbe: Flush the LSC mask change to prevent repeated interrupts
authorNelson, Shannon <shannon.nelson@intel.com>
Thu, 12 Nov 2009 18:47:11 +0000 (18:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:46:54 +0000 (20:46 -0800)
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>
drivers/net/ixgbe/ixgbe_main.c

index afd49e04a56a9c37886728a7a74a4bc17f2de4a6..04892863ef02bfcc3641d9fb266022b23d1becdd 100644 (file)
@@ -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);
        }
 }