diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-01-30 08:23:50 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-01-30 09:36:02 -0500 |
commit | 00576e93805bd4f2dd2649e354726dee872d1e8a (patch) | |
tree | 85cda043ecb1715f85f7cd2c4eca697ffe9cfc6d /drivers/net/b44.c | |
parent | 518d83382568964ca9657511140398ebac925ecd (diff) |
b44: src_desc->addr is little-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/b44.c')
-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 1c8fb8e7df59..26b9295cb9b7 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c | |||
@@ -757,7 +757,7 @@ static void b44_recycle_rx(struct b44 *bp, int src_idx, u32 dest_idx_unmasked) | |||
757 | dest_idx * sizeof(dest_desc), | 757 | dest_idx * sizeof(dest_desc), |
758 | DMA_BIDIRECTIONAL); | 758 | DMA_BIDIRECTIONAL); |
759 | 759 | ||
760 | pci_dma_sync_single_for_device(bp->pdev, src_desc->addr, | 760 | pci_dma_sync_single_for_device(bp->pdev, le32_to_cpu(src_desc->addr), |
761 | RX_PKT_BUF_SZ, | 761 | RX_PKT_BUF_SZ, |
762 | PCI_DMA_FROMDEVICE); | 762 | PCI_DMA_FROMDEVICE); |
763 | } | 763 | } |