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

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)