summaryrefslogtreecommitdiff
path: root/sys/arch/pmax
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-05-11 04:23:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-05-11 04:23:07 +0000
commit3c841dd2d310bebf676429fdecfc6220dda4bc48 (patch)
tree89982bb3528a16170e4b5e5990335100b6161503 /sys/arch/pmax
parent8b37c525370eca88287da7d747cc1c6de767f53d (diff)
Don't print 'unknown media code' for tapes as we know what they are, they are just not disks!; from NetBSD (simonb)
Diffstat (limited to 'sys/arch/pmax')
-rw-r--r--sys/arch/pmax/dev/rz.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/pmax/dev/rz.c b/sys/arch/pmax/dev/rz.c
index 87ec719ad54..59361b5ca18 100644
--- a/sys/arch/pmax/dev/rz.c
+++ b/sys/arch/pmax/dev/rz.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: rz.c,v 1.12 1998/05/10 04:01:16 millert Exp $ */
-/* $NetBSD: rz.c,v 1.37 1998/03/02 23:17:19 thorpej Exp $ */
+/* $OpenBSD: rz.c,v 1.13 1998/05/11 04:23:06 millert Exp $ */
+/* $NetBSD: rz.c,v 1.38 1998/05/08 00:05:19 simonb Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -454,6 +454,9 @@ rzprobe(xxxsd)
case SCSI_OPTICAL_MEM_TYPE: /* Magneto-optical */
break;
+ SCSI_TAPE_TYPE: /* tape, handled by tz driver */
+ goto bad;
+
default: /* not a disk */
printf("rz%d: unknown media code 0x%x\n",
sd->sd_unit, inqbuf.type);