diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-02-15 02:15:32 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-02-15 02:15:32 +0000 |
commit | 86464aed71025541805e7b1515541aee89879e33 (patch) | |
tree | e01a457a4912a8553bc65524aa3125d51f29f810 /drivers/scsi/g_NCR5380.c | |
parent | 88f99939ecc6a95a79614574cb7d95ffccfc3466 (diff) |
Merge with Linux 2.2.1.
Diffstat (limited to 'drivers/scsi/g_NCR5380.c')
-rw-r--r-- | drivers/scsi/g_NCR5380.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c index d8c0c9e0d..ec1f6edc8 100644 --- a/drivers/scsi/g_NCR5380.c +++ b/drivers/scsi/g_NCR5380.c @@ -495,7 +495,7 @@ static inline int NCR5380_pread (struct Scsi_Host *instance, unsigned char *dst, dst[start+i] = NCR5380_read(C400_HOST_BUFFER); #else /* implies CONFIG_SCSI_G_NCR5380_MEM */ - memmove(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128); + memcpy(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128); #endif start+=128; blocks--; @@ -516,7 +516,7 @@ static inline int NCR5380_pread (struct Scsi_Host *instance, unsigned char *dst, dst[start+i] = NCR5380_read(C400_HOST_BUFFER); #else /* implies CONFIG_SCSI_G_NCR5380_MEM */ - memmove(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128); + memcpy(dst+start,NCR53C400_host_buffer+NCR5380_map_name,128); #endif start+=128; blocks--; @@ -603,7 +603,7 @@ static inline int NCR5380_pwrite (struct Scsi_Host *instance, unsigned char *src NCR5380_write(C400_HOST_BUFFER, src[start+i]); #else /* implies CONFIG_SCSI_G_NCR5380_MEM */ - memmove(NCR53C400_host_buffer+NCR5380_map_name,src+start,128); + memcpy(NCR53C400_host_buffer+NCR5380_map_name,src+start,128); #endif start+=128; blocks--; @@ -623,7 +623,7 @@ static inline int NCR5380_pwrite (struct Scsi_Host *instance, unsigned char *src NCR5380_write(C400_HOST_BUFFER, src[start+i]); #else /* implies CONFIG_SCSI_G_NCR5380_MEM */ - memmove(NCR53C400_host_buffer+NCR5380_map_name,src+start,128); + memcpy(NCR53C400_host_buffer+NCR5380_map_name,src+start,128); #endif start+=128; blocks--; |