diff options
-rw-r--r-- | drivers/net/cxgb4/t4_hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/t4_hw.h b/drivers/net/cxgb4/t4_hw.h index e875d095af39..10a055565776 100644 --- a/drivers/net/cxgb4/t4_hw.h +++ b/drivers/net/cxgb4/t4_hw.h | |||
@@ -135,5 +135,5 @@ struct rsp_ctrl { | |||
135 | 135 | ||
136 | #define QINTR_CNT_EN 0x1 | 136 | #define QINTR_CNT_EN 0x1 |
137 | #define QINTR_TIMER_IDX(x) ((x) << 1) | 137 | #define QINTR_TIMER_IDX(x) ((x) << 1) |
138 | #define QINTR_TIMER_IDX_GET(x) (((x) << 1) & 0x7) | 138 | #define QINTR_TIMER_IDX_GET(x) (((x) >> 1) & 0x7) |
139 | #endif /* __T4_HW_H */ | 139 | #endif /* __T4_HW_H */ |