[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1HBsxi-0002Nz-VA@ZenIV.linux.org.uk>
Date: Tue, 30 Jan 2007 13:23:50 +0000
From: Al Viro <viro@....linux.org.uk>
To: torvalds@...ux-foundation.org
Cc: davem@...emloft.net, jgarzik@...ox.com,
linux-kernel@...r.kernel.org
Subject: [PATCH] b44: src_desc->addr is little-endian
Signed-off-by: Al Viro <viro@...iv.linux.org.uk>
---
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 5eb2ec6..cfc89bc 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);
}
--
1.5.0-rc2.GIT
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists