summaryrefslogtreecommitdiff
path: root/sys/dev/ofw
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>2000-03-31 06:06:29 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>2000-03-31 06:06:29 +0000
commit7911a3458263610d25ad5caf610eff8c2e874ce1 (patch)
tree8bd9f8ad4f327e69fd44acd297f5429bde04e398 /sys/dev/ofw
parent0d5f991e904ee40e779504c8388d5f9018f432cd (diff)
Quiet down the boot for powerpc, do not print openfirmware devices not
configured, still prints all of the buses...
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r--sys/dev/ofw/ofbus.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/dev/ofw/ofbus.c b/sys/dev/ofw/ofbus.c
index bc25fee7439..b234c7b0bd7 100644
--- a/sys/dev/ofw/ofbus.c
+++ b/sys/dev/ofw/ofbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofbus.c,v 1.7 2000/01/15 17:17:45 rahnds Exp $ */
+/* $OpenBSD: ofbus.c,v 1.8 2000/03/31 06:06:28 rahnds Exp $ */
/* $NetBSD: ofbus.c,v 1.3 1996/10/13 01:38:11 christos Exp $ */
/*
@@ -78,11 +78,16 @@ ofbprint(aux, name)
l = sizeof child - 1;
child[l] = 0;
- if (name)
+ if (name) {
+ /* Dont print anything here, be quiet
printf("%s at %s", child, name);
- else
+ return UNCONF;
+ */
+ return QUIET;
+ } else {
printf(" (%s)", child);
- return UNCONF;
+ return QUIET;
+ }
}
int