Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183705
b: refs/heads/master
c: c2353a3
h: refs/heads/master
i:
  183703: 5cad756
v: v3
  • Loading branch information
Matt Carlson authored and David S. Miller committed Jan 21, 2010
1 parent 6a52aca commit 5b814c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5fd68fbdaf75505a2400826c7f314a1f3121a5f7
refs/heads/master: c2353a3214ff5813c4b719b3cdacbe939b1c63a0
5 changes: 4 additions & 1 deletion trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -7440,10 +7440,13 @@ static void tg3_rings_reset(struct tg3 *tp)
for (i = 1; i < TG3_IRQ_MAX_VECS; i++) {
tp->napi[i].tx_prod = 0;
tp->napi[i].tx_cons = 0;
tw32_mailbox(tp->napi[i].prodmbox, 0);
if (tp->tg3_flags3 & TG3_FLG3_ENABLE_TSS)
tw32_mailbox(tp->napi[i].prodmbox, 0);
tw32_rx_mbox(tp->napi[i].consmbox, 0);
tw32_mailbox_f(tp->napi[i].int_mbox, 1);
}
if (!(tp->tg3_flags3 & TG3_FLG3_ENABLE_TSS))
tw32_mailbox(tp->napi[0].prodmbox, 0);
} else {
tp->napi[0].tx_prod = 0;
tp->napi[0].tx_cons = 0;
Expand Down

0 comments on commit 5b814c9

Please sign in to comment.