patch-2.3.29 linux/drivers/scsi/g_NCR5380.c
Next file: linux/drivers/scsi/g_NCR5380.h
Previous file: linux/drivers/scsi/fdomain.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Nov 19 11:30:54 1999
- Orig file:
v2.3.28/linux/drivers/scsi/g_NCR5380.c
- Orig date:
Thu Nov 11 20:11:47 1999
diff -u --recursive --new-file v2.3.28/linux/drivers/scsi/g_NCR5380.c linux/drivers/scsi/g_NCR5380.c
@@ -490,7 +490,7 @@
dst[start+i] = NCR5380_read(C400_HOST_BUFFER);
#else
/* implies CONFIG_SCSI_G_NCR5380_MEM */
- memcpy(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128);
+ isa_memcpy_fromio(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128);
#endif
start+=128;
blocks--;
@@ -511,7 +511,7 @@
dst[start+i] = NCR5380_read(C400_HOST_BUFFER);
#else
/* implies CONFIG_SCSI_G_NCR5380_MEM */
- memcpy(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128);
+ isa_memcpy_fromio(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128);
#endif
start+=128;
blocks--;
@@ -598,7 +598,7 @@
NCR5380_write(C400_HOST_BUFFER, src[start+i]);
#else
/* implies CONFIG_SCSI_G_NCR5380_MEM */
- memcpy(NCR53C400_host_buffer+NCR5380_map_name,src+start,128);
+ isa_memcpy_toio(NCR53C400_host_buffer+NCR5380_map_name,src+start,128);
#endif
start+=128;
blocks--;
@@ -618,7 +618,7 @@
NCR5380_write(C400_HOST_BUFFER, src[start+i]);
#else
/* implies CONFIG_SCSI_G_NCR5380_MEM */
- memcpy(NCR53C400_host_buffer+NCR5380_map_name,src+start,128);
+ isa_memcpy_toio(NCR53C400_host_buffer+NCR5380_map_name,src+start,128);
#endif
start+=128;
blocks--;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)