summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/dev/tz.c
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1996-12-22 15:19:07 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1996-12-22 15:19:07 +0000
commitca1c7fedd990e6b1e7244233df5a6a638f0e4e31 (patch)
tree20016b11dce3c72001f0e250c8f1a714ed64e546 /sys/arch/pmax/dev/tz.c
parentde4c3561677938c64d13b1e5112686a88b0b47fe (diff)
update the pmax stuff to NetBSD 961107 - this version i got somehow
compiled on my decstation 2100 (PLUTO) - but it will not fully work out of the box - but i want to bring it into the tree because i get my own pmax on 961228 - so that i have a good startpoint then :-) all the OpenBSD changes to the pmax tree will follow in the next commit
Diffstat (limited to 'sys/arch/pmax/dev/tz.c')
-rw-r--r--sys/arch/pmax/dev/tz.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/pmax/dev/tz.c b/sys/arch/pmax/dev/tz.c
index a8b99d367ea..13bcc3fc275 100644
--- a/sys/arch/pmax/dev/tz.c
+++ b/sys/arch/pmax/dev/tz.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tz.c,v 1.10 1996/04/10 16:33:44 jonathan Exp $ */
+/* $NetBSD: tz.c,v 1.14 1996/10/13 12:34:20 jonathan Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -35,7 +35,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)tz.c 8.4 (Berkeley) 1/11/94
+ * @(#)tz.c 8.5 (Berkeley) 6/2/95
*
* from: Header: /sprite/src/kernel/dev/RCS/devSCSITape.c,
* v 8.14 89/07/31 17:26:13 mendel Exp SPRITE (Berkeley)
@@ -130,6 +130,9 @@ tzprobe(xxxsd)
register int i;
ScsiInquiryData inqbuf;
+ if (sd->sd_unit >= NTZ)
+ return (0);
+
/* init some parameters that don't change */
sc->sc_sd = sd;
sc->sc_cmd.sd = sd;