summaryrefslogtreecommitdiff
path: root/sys/dev/isa/wt.c
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-07-18 20:52:47 +0000
committerthorpej <thorpej@NetBSD.org>2001-07-18 20:52:47 +0000
commit600cfcb30ac00a0f2c15e07e938955ac12d87939 (patch)
tree006d9140ea4daf8e22d5405a0e674b0a034bf92f /sys/dev/isa/wt.c
parent0dfc6a96e146b74082621272c1de919dea9e635d (diff)
bcopy -> memcpy
Diffstat (limited to 'sys/dev/isa/wt.c')
-rw-r--r--sys/dev/isa/wt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/wt.c b/sys/dev/isa/wt.c
index 068d9eb7b99..9e22733ba5e 100644
--- a/sys/dev/isa/wt.c
+++ b/sys/dev/isa/wt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wt.c,v 1.51 2000/07/06 02:02:50 thorpej Exp $ */
+/* $NetBSD: wt.c,v 1.52 2001/07/18 20:52:48 thorpej Exp $ */
/*
* Streamer tape driver.
@@ -248,7 +248,7 @@ wtattach(parent, self, aux)
/* Try Wangtek. */
if (wtreset(iot, ioh, &wtregs)) {
sc->type = WANGTEK;
- bcopy(&wtregs, &sc->regs, sizeof(sc->regs));
+ memcpy(&sc->regs, &wtregs, sizeof(sc->regs));
printf(": type <Wangtek>\n");
goto ok;
}
@@ -256,7 +256,7 @@ wtattach(parent, self, aux)
/* Try Archive. */
if (wtreset(iot, ioh, &avregs)) {
sc->type = ARCHIVE;
- bcopy(&avregs, &sc->regs, sizeof(sc->regs));
+ memcpy(&sc->regs, &avregs, sizeof(sc->regs));
printf(": type <Archive>\n");
/* Reset DMA. */
bus_space_write_1(iot, ioh, sc->regs.RDMAPORT, 0);
@@ -717,7 +717,7 @@ wtintr(arg)
/* If reading short block, copy the internal buffer
* to the user memory. */
isa_dmadone(sc->sc_ic, sc->chan);
- bcopy(sc->buf, sc->dmavaddr, sc->dmatotal - sc->dmacount);
+ memcpy(sc->dmavaddr, sc->buf, sc->dmatotal - sc->dmacount);
} else
isa_dmadone(sc->sc_ic, sc->chan);