forked from Minki/linux
cxgb4: fix wrong shift direction
Signed-off-by: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
060e0c752b
commit
7a3acb8528
@ -135,5 +135,5 @@ struct rsp_ctrl {
|
||||
|
||||
#define QINTR_CNT_EN 0x1
|
||||
#define QINTR_TIMER_IDX(x) ((x) << 1)
|
||||
#define QINTR_TIMER_IDX_GET(x) (((x) << 1) & 0x7)
|
||||
#define QINTR_TIMER_IDX_GET(x) (((x) >> 1) & 0x7)
|
||||
#endif /* __T4_HW_H */
|
||||
|
Loading…
Reference in New Issue
Block a user