aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4/t4_hw.h
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-08-02 09:19:22 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-02 19:26:43 -0400
commit7a3acb852839fd8c1a590ae396e856d75c5faf7b (patch)
tree6420ed3f64973c5676019574f2dfa87d56a69695 /drivers/net/cxgb4/t4_hw.h
parent060e0c752b5047ee691120b75df4c16743981e50 (diff)
cxgb4: fix wrong shift direction
Signed-off-by: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/t4_hw.h')
-rw-r--r--drivers/net/cxgb4/t4_hw.h2
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 */