aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnjali Singhai Jain <anjali.singhai@intel.com>2013-11-26 05:49:32 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-12-18 01:42:35 -0500
commit84ed40e7bd551bc06365cb3b4cb5be25af9e2bf7 (patch)
tree4f57356789b1fdc9859cb0dac0b4d9e3cc1c667c
parente625f71ba1faa0ce9e98a4322f12b7b4802e8ecd (diff)
i40e: Fix wrong mask bits being used in misc interrupt
No functional change, but the wrong defines were being used. Change-Id: Ica2afd2dfe18154ca0f1260a508f31e372319ba7 Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index fba0aada062a..994eb02e1064 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -2489,8 +2489,8 @@ static void i40e_enable_misc_int_causes(struct i40e_hw *hw)
2489 wr32(hw, I40E_PFINT_ICR0_ENA, val); 2489 wr32(hw, I40E_PFINT_ICR0_ENA, val);
2490 2490
2491 /* SW_ITR_IDX = 0, but don't change INTENA */ 2491 /* SW_ITR_IDX = 0, but don't change INTENA */
2492 wr32(hw, I40E_PFINT_DYN_CTL0, I40E_PFINT_DYN_CTLN_SW_ITR_INDX_MASK | 2492 wr32(hw, I40E_PFINT_DYN_CTL0, I40E_PFINT_DYN_CTL0_SW_ITR_INDX_MASK |
2493 I40E_PFINT_DYN_CTLN_INTENA_MSK_MASK); 2493 I40E_PFINT_DYN_CTL0_INTENA_MSK_MASK);
2494 2494
2495 /* OTHER_ITR_IDX = 0 */ 2495 /* OTHER_ITR_IDX = 0 */
2496 wr32(hw, I40E_PFINT_STAT_CTL0, 0); 2496 wr32(hw, I40E_PFINT_STAT_CTL0, 0);