diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-01 16:42:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-01 16:42:25 +0000 |
commit | a0ee00f9369305ab65e5c05fd657b13a49303ec6 (patch) | |
tree | a5eb82503a005c1ab92f51350cf9075e3749c26f /sys/dev/isa | |
parent | 3e1fc6e38ffdd75256a745b42321b0e6b516979a (diff) |
untimeout & density handling; from rcjvdb@urc.tue.nl... this patch is from january 2 1995
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/wt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/isa/wt.c b/sys/dev/isa/wt.c index 80a065db8f6..f98bf73ac7a 100644 --- a/sys/dev/isa/wt.c +++ b/sys/dev/isa/wt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wt.c,v 1.10 1996/05/26 00:27:33 deraadt Exp $ */ +/* $OpenBSD: wt.c,v 1.11 1996/09/01 16:42:24 deraadt Exp $ */ /* $NetBSD: wt.c,v 1.33 1996/05/12 23:54:22 mycroft Exp $ */ /* @@ -486,6 +486,7 @@ wtioctl(dev, cmd, addr, flag, p) ((struct mtget*)addr)->mt_resid = 0; ((struct mtget*)addr)->mt_fileno = 0; /* file */ ((struct mtget*)addr)->mt_blkno = 0; /* block */ + ((struct mtget*)addr)->mt_density = sc->dens; /* density */ return 0; case MTIOCTOP: break; @@ -721,6 +722,7 @@ wtintr(arg) if (sc->dmacount > sc->dmatotal) /* short last block */ sc->dmacount = sc->dmatotal; /* Wake up user level. */ + untimeout(wttimer, sc); wakeup((caddr_t)sc); WTDBPRINT(("i/o finished, %d\n", sc->dmacount)); return 1; |