diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-04-04 23:32:02 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-04-04 23:32:02 +0200 |
commit | d2b0510e3c44c9dfdd1b9f0204abee40140464ae (patch) | |
tree | 5b684e9049adcba5d2eee6781bff9816edfa4821 | |
parent | feb26509abe0672e6b56fa4c4765c0e62d4432c3 (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>
-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 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); } |