Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37945
b: refs/heads/master
c: dc45010
h: refs/heads/master
i:
  37943: 85687a9
v: v3
  • Loading branch information
Jesse Brandeburg authored and Auke Kok committed Sep 27, 2006
1 parent c5accff commit 4ad2d6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: c4e24f01f18f6cea422552caec2fdbf5765a7c7c
refs/heads/master: dc45010e28bc4a1bfa6043eee31d1c59e93e1546
7 changes: 4 additions & 3 deletions trunk/drivers/net/e100.c
Original file line number Diff line number Diff line change
Expand Up @@ -1657,13 +1657,14 @@ static int e100_tx_clean(struct nic *nic)

spin_lock(&nic->cb_lock);

DPRINTK(TX_DONE, DEBUG, "cb->status = 0x%04X\n",
nic->cb_to_clean->status);

/* Clean CBs marked complete */
for(cb = nic->cb_to_clean;
cb->status & cpu_to_le16(cb_complete);
cb = nic->cb_to_clean = cb->next) {
DPRINTK(TX_DONE, DEBUG, "cb[%d]->status = 0x%04X\n",
(int)(((void*)cb - (void*)nic->cbs)/sizeof(struct cb)),
cb->status);

if(likely(cb->skb != NULL)) {
nic->net_stats.tx_packets++;
nic->net_stats.tx_bytes += cb->skb->len;
Expand Down

0 comments on commit 4ad2d6e

Please sign in to comment.