projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a13f66
)
[PATCH] b44: src_desc->addr is little-endian
author
Al Viro
<viro@ftp.linux.org.uk>
Tue, 30 Jan 2007 13:23:50 +0000
(13:23 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 30 Jan 2007 16:39:21 +0000
(08:39 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/b44.c
patch
|
blob
|
history
diff --git
a/drivers/net/b44.c
b/drivers/net/b44.c
index
5eb2ec6
..
cfc89bc
100644
(file)
--- 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);
}