summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorsoren <soren@NetBSD.org>2002-10-04 18:58:45 +0000
committersoren <soren@NetBSD.org>2002-10-04 18:58:45 +0000
commit98ec436df39fd538f76f6cbcf8791611d250c80f (patch)
tree70158cdf0725c11e2716cfe44bc17c568c531f9c /sys/dev
parent76f283beebd224a50821a15bd92254f3cf5ec77f (diff)
As in scsiconf.c, don't print the numberic device type in the attach message.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/scsipi/atapiconf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/scsipi/atapiconf.c b/sys/dev/scsipi/atapiconf.c
index ffc75d6f65e..5e81c2f40cd 100644
--- a/sys/dev/scsipi/atapiconf.c
+++ b/sys/dev/scsipi/atapiconf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: atapiconf.c,v 1.53 2002/10/02 16:52:47 thorpej Exp $ */
+/* $NetBSD: atapiconf.c,v 1.54 2002/10/04 18:58:45 soren Exp $ */
/*
* Copyright (c) 1996, 2001 Manuel Bouyer. All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atapiconf.c,v 1.53 2002/10/02 16:52:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atapiconf.c,v 1.54 2002/10/04 18:58:45 soren Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -345,9 +345,9 @@ atapibusprint(aux, pnp)
inqbuf = &sa->sa_inqbuf;
dtype = scsipi_dtype(inqbuf->type & SID_TYPE);
- printf(" drive %d: <%s, %s, %s> type %d %s %s",
- sa->sa_periph->periph_target ,inqbuf->vendor,
- inqbuf->product, inqbuf->revision, inqbuf->type, dtype,
+ printf(" drive %d: <%s, %s, %s> %s %s",
+ sa->sa_periph->periph_target, inqbuf->vendor,
+ inqbuf->product, inqbuf->revision, dtype,
inqbuf->removable ? "removable" : "fixed");
return (UNCONF);
}