patch-2.4.22 linux-2.4.22/arch/parisc/kernel/ccio-rm-dma.c
Next file: linux-2.4.22/arch/parisc/kernel/drivers.c
Previous file: linux-2.4.22/arch/parisc/kernel/ccio-dma.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/parisc/kernel/ccio-rm-dma.c
- Orig date:
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/parisc/kernel/ccio-rm-dma.c linux-2.4.22/arch/parisc/kernel/ccio-rm-dma.c
@@ -118,7 +118,7 @@
/* KISS: map each buffer seperately. */
while (nents) {
- sg_dma_address(sglist) = ccio_map_single(dev, sglist->address, sglist->length, direction);
+ sg_dma_address(sglist) = ccio_map_single(dev, sg_virt_addr(sglist), sglist->length, direction);
sg_dma_len(sglist) = sglist->length;
nents--;
sglist++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)