projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
060e0c7
)
cxgb4: fix wrong shift direction
author
Dimitris Michailidis
<dm@chelsio.com>
Mon, 2 Aug 2010 13:19:22 +0000
(13:19 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 2 Aug 2010 23:26:43 +0000
(16:26 -0700)
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/t4_hw.h
patch
|
blob
|
history
diff --git
a/drivers/net/cxgb4/t4_hw.h
b/drivers/net/cxgb4/t4_hw.h
index e875d095af39571d702b8e5995b2df341b0bf22a..10a055565776cfceb4730df1168b44662d4d9761 100644
(file)
--- a/
drivers/net/cxgb4/t4_hw.h
+++ b/
drivers/net/cxgb4/t4_hw.h
@@
-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 */