OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
e875d09
..
10a0555
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 */