Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131198
b: refs/heads/master
c: b991d2b
h: refs/heads/master
v: v3
  • Loading branch information
Risto Suominen authored and David S. Miller committed Feb 9, 2009
1 parent 33ccf61 commit 3b42ba8
Show file tree
Hide file tree
Showing 2 changed files with 3 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: cfbf84fcbcda98bb91ada683a8dc8e6901a83ebd
refs/heads/master: b991d2bc4a6e1821555bdc2a682f9aed24650c98
3 changes: 2 additions & 1 deletion trunk/drivers/net/tulip/de2104x.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,13 +464,14 @@ static void de_rx (struct de_private *de)
drop = 1;

rx_next:
de->rx_ring[rx_tail].opts1 = cpu_to_le32(DescOwn);
if (rx_tail == (DE_RX_RING_SIZE - 1))
de->rx_ring[rx_tail].opts2 =
cpu_to_le32(RingEnd | de->rx_buf_sz);
else
de->rx_ring[rx_tail].opts2 = cpu_to_le32(de->rx_buf_sz);
de->rx_ring[rx_tail].addr1 = cpu_to_le32(mapping);
wmb();
de->rx_ring[rx_tail].opts1 = cpu_to_le32(DescOwn);
rx_tail = NEXT_RX(rx_tail);
}

Expand Down

0 comments on commit 3b42ba8

Please sign in to comment.