aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-01-30 08:23:50 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-01-30 11:39:21 -0500
commit774ba59c950926abd27421fa146f1916de89e6f6 (patch)
tree70f766c1a7501770845b4700e4b71cb00d15932d /drivers
parent6a13f66043cd755fc7e19f8e0fbb5bfcdf470e74 (diff)
[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 'drivers')
-rw-r--r--drivers/net/b44.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/b44.c b/drivers/net/b44.c
index 5eb2ec68393..cfc89bc105b 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)
752 dest_idx * sizeof(dest_desc), 752 dest_idx * sizeof(dest_desc),
753 DMA_BIDIRECTIONAL); 753 DMA_BIDIRECTIONAL);
754 754
755 pci_dma_sync_single_for_device(bp->pdev, src_desc->addr, 755 pci_dma_sync_single_for_device(bp->pdev, le32_to_cpu(src_desc->addr),
756 RX_PKT_BUF_SZ, 756 RX_PKT_BUF_SZ,
757 PCI_DMA_FROMDEVICE); 757 PCI_DMA_FROMDEVICE);
758} 758}