Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142370
b: refs/heads/master
c: 5d4d9e8
h: refs/heads/master
v: v3
  • Loading branch information
Michael Buesch authored and David S. Miller committed Apr 4, 2009
1 parent 8d636f4 commit 18e7e09
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 4e69489a0ac11a9b62a25923975bfc370a30eae5
refs/heads/master: 5d4d9e8ad6c646c4811bf0049df761dee6affc3d
6 changes: 3 additions & 3 deletions trunk/drivers/net/b44.c
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ static int b44_alloc_rx_skb(struct b44 *bp, int src_idx, u32 dest_idx_unmasked)

if (bp->flags & B44_FLAG_RX_RING_HACK)
b44_sync_dma_desc_for_device(bp->sdev, bp->rx_ring_dma,
dest_idx * sizeof(dp),
dest_idx * sizeof(*dp),
DMA_BIDIRECTIONAL);

return RX_PKT_BUF_SZ;
Expand Down Expand Up @@ -731,7 +731,7 @@ static void b44_recycle_rx(struct b44 *bp, int src_idx, u32 dest_idx_unmasked)

if (bp->flags & B44_FLAG_RX_RING_HACK)
b44_sync_dma_desc_for_cpu(bp->sdev, bp->rx_ring_dma,
src_idx * sizeof(src_desc),
src_idx * sizeof(*src_desc),
DMA_BIDIRECTIONAL);

ctrl = src_desc->ctrl;
Expand All @@ -747,7 +747,7 @@ static void b44_recycle_rx(struct b44 *bp, int src_idx, u32 dest_idx_unmasked)

if (bp->flags & B44_FLAG_RX_RING_HACK)
b44_sync_dma_desc_for_device(bp->sdev, bp->rx_ring_dma,
dest_idx * sizeof(dest_desc),
dest_idx * sizeof(*dest_desc),
DMA_BIDIRECTIONAL);

ssb_dma_sync_single_for_device(bp->sdev, le32_to_cpu(src_desc->addr),
Expand Down

0 comments on commit 18e7e09

Please sign in to comment.