patch-2.4.0-test5 linux/drivers/sound/msnd.c
Next file: linux/drivers/sound/nm256_audio.c
Previous file: linux/drivers/sound/maestro.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jul 26 12:37:06 2000
- Orig file:
v2.4.0-test4/linux/drivers/sound/msnd.c
- Orig date:
Fri Jun 23 21:55:10 2000
diff -u --recursive --new-file v2.4.0-test4/linux/drivers/sound/msnd.c linux/drivers/sound/msnd.c
@@ -181,7 +181,7 @@
if (copy_from_user(f->data + f->tail, buf, nwritten))
return -EFAULT;
} else
- memcpy(f->data + f->tail, buf, nwritten);
+ isa_memcpy_fromio(f->data + f->tail, (unsigned long) buf, nwritten);
count += nwritten;
buf += nwritten;
@@ -219,7 +219,7 @@
if (copy_to_user(buf, f->data + f->head, nread))
return -EFAULT;
} else
- memcpy(buf, f->data + f->head, nread);
+ isa_memcpy_toio((unsigned long) buf, f->data + f->head, nread);
count += nread;
buf += nread;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)