aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-04-04 23:32:02 +0200
committerAdrian Bunk <bunk@stusta.de>2007-04-04 23:32:02 +0200
commitd2b0510e3c44c9dfdd1b9f0204abee40140464ae (patch)
tree5b684e9049adcba5d2eee6781bff9816edfa4821 /drivers
parentfeb26509abe0672e6b56fa4c4765c0e62d4432c3 (diff)
b44: src_desc->addr is little-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Adrian Bunk <bunk@stusta.de>
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 c3267e4e1bb..c64973f3b7b 100644
--- a/drivers/net/b44.c
+++ b/drivers/net/b44.c
@@ -746,7 +746,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);
}