summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-06-01 05:42:02 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-06-01 05:42:02 +0000
commitadf0a824da6d4e09e46e59ff7fddf80a6928c00e (patch)
tree2362e3e266957a297d20bef7cb2cfdf577b6a324 /sys/dev/isa
parent2c614c2317802965476fd24c0aa1a301afa994f7 (diff)
We do not create st devices with different density modes. i.e. with device
minor numbers having bits 2 or 3 set. Eliminate the quirks, etc. used to store info on these non-existant modes. Also eliminate a couple of 'unimplemented' fields in the ioctl request structure. ok beck@ deraadt@
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/wt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/isa/wt.c b/sys/dev/isa/wt.c
index 7cf63520562..305f982d7fd 100644
--- a/sys/dev/isa/wt.c
+++ b/sys/dev/isa/wt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wt.c,v 1.16 2002/05/24 13:31:11 art Exp $ */
+/* $OpenBSD: wt.c,v 1.17 2006/06/01 05:42:01 krw Exp $ */
/* $NetBSD: wt.c,v 1.33 1996/05/12 23:54:22 mycroft Exp $ */
/*
@@ -487,8 +487,6 @@ wtioctl(dev, cmd, addr, flag, p)
((struct mtget*)addr)->mt_dsreg = sc->flags; /* status */
((struct mtget*)addr)->mt_erreg = sc->error; /* errors */
((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: