patch-2.4.14 linux/drivers/acorn/scsi/eesox.c

Next file: linux/drivers/acorn/scsi/powertec.c
Previous file: linux/drivers/acorn/scsi/ecoscsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/drivers/acorn/scsi/eesox.c linux/drivers/acorn/scsi/eesox.c
@@ -199,7 +199,8 @@
 			memcpy(info->sg + 1, SCp->buffer + 1,
 				sizeof(struct scatterlist) * bufs);
 		info->sg[0].address = SCp->ptr;
-		info->sg[0].length = SCp->this_residual;
+		info->sg[0].page    = NULL;
+		info->sg[0].length  = SCp->this_residual;
 
 		if (direction == DMA_OUT)
 			pci_dir = PCI_DMA_TODEVICE,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)