summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-07-23 19:23:10 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-07-23 19:23:10 +0000
commit71de92cce8e6be819b68320711097ae57f073019 (patch)
tree1c51d38b8a41ac81611a8ee441d3b31f4dfb1406 /sys/arch
parent8efb29caf1b3a3b8ca7c5024af7baa85d8550b6f (diff)
Do not print an odd message on machines where led0 is configured but did
not attach.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/vax/vax/autoconf.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/vax/vax/autoconf.c b/sys/arch/vax/vax/autoconf.c
index 461efa06320..057cae61024 100644
--- a/sys/arch/vax/vax/autoconf.c
+++ b/sys/arch/vax/vax/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.22 2006/07/20 19:15:35 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.23 2006/07/23 19:23:09 miod Exp $ */
/* $NetBSD: autoconf.c,v 1.45 1999/10/23 14:56:05 ragge Exp $ */
/*
@@ -95,8 +95,14 @@ mainbus_print(aux, hej)
void *aux;
const char *hej;
{
- if (hej)
+ struct mainbus_attach_args *maa = aux;
+
+ if (maa->maa_bustype == VAX_LEDS)
+ return (QUIET);
+
+ if (hej) {
printf("nothing at %s", hej);
+ }
return (UNCONF);
}