projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a607072
)
tg3: Revert RSS indir tbl setup change
author
Matt Carlson
<
[email protected]
>
Sun, 11 Jul 2010 09:31:40 +0000
(09:31 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 12 Jul 2010 00:07:40 +0000
(17:07 -0700)
This patch reverts commit
2601d8a0049c8b5d29cd5adb844a305a804e505f
. A
spectacular set of coincidences made it look as though the table was
setup incorrectly. The original version was correct.
Signed-off-by: Matt Carlson <
[email protected]
>
Reviewed-by: Michael Chan <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/tg3.c
patch
|
blob
|
history
diff --git
a/drivers/net/tg3.c
b/drivers/net/tg3.c
index aa2d64f58ed3cec3f1c963b0f78dfa6731aba299..89aa486217876740ae4c934e61f54d041185af64 100644
(file)
--- a/
drivers/net/tg3.c
+++ b/
drivers/net/tg3.c
@@
-8237,7
+8237,7
@@
static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
for (i = 0; i < TG3_RSS_INDIR_TBL_SIZE; i++) {
int idx = i % sizeof(val);
- ent[idx] =
(i % (tp->irq_cnt - 1)) + 1
;
+ ent[idx] =
i % (tp->irq_cnt - 1)
;
if (idx == sizeof(val) - 1) {
tw32(reg, val);
reg += 4;