summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/dev/tz.c
diff options
context:
space:
mode:
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;