Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262481
b: refs/heads/master
c: d3e6145
h: refs/heads/master
i:
  262479: 5bdac3d
v: v3
  • Loading branch information
Tord Andersson authored and David S. Miller committed Aug 4, 2011
1 parent ff061d1 commit 42254cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 36c35416a94f5632c3addad05217ff02c39b3b61
refs/heads/master: d3e614577198757d5854caa912e88f2d4296479b
3 changes: 3 additions & 0 deletions trunk/drivers/net/macb.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,9 @@ static void macb_tx(struct macb *bp)
for (i = 0; i < TX_RING_SIZE; i++)
bp->tx_ring[i].ctrl = MACB_BIT(TX_USED);

/* Add wrap bit */
bp->tx_ring[TX_RING_SIZE - 1].ctrl |= MACB_BIT(TX_WRAP);

/* free transmit buffer in upper layer*/
for (tail = bp->tx_tail; tail != head; tail = NEXT_TX(tail)) {
struct ring_info *rp = &bp->tx_skb[tail];
Expand Down

0 comments on commit 42254cb

Please sign in to comment.