diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-01-30 14:23:50 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-01-30 17:39:21 +0100 |
commit | 774ba59c950926abd27421fa146f1916de89e6f6 (patch) | |
tree | 70f766c1a7501770845b4700e4b71cb00d15932d /drivers/net/b44.c | |
parent | [PATCH] dma-mapping.h stubs fix (diff) | |
download | linux-774ba59c950926abd27421fa146f1916de89e6f6.tar.xz linux-774ba59c950926abd27421fa146f1916de89e6f6.zip |
[PATCH] b44: src_desc->addr is little-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/b44.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 5eb2ec68393f..cfc89bc105b1 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c @@ -752,7 +752,7 @@ static void b44_recycle_rx(struct b44 *bp, int src_idx, u32 dest_idx_unmasked) dest_idx * sizeof(dest_desc), DMA_BIDIRECTIONAL); - pci_dma_sync_single_for_device(bp->pdev, src_desc->addr, + pci_dma_sync_single_for_device(bp->pdev, le32_to_cpu(src_desc->addr), RX_PKT_BUF_SZ, PCI_DMA_FROMDEVICE); } |