From 7911a3458263610d25ad5caf610eff8c2e874ce1 Mon Sep 17 00:00:00 2001 From: "Dale S. Rahn" Date: Fri, 31 Mar 2000 06:06:29 +0000 Subject: Quiet down the boot for powerpc, do not print openfirmware devices not configured, still prints all of the buses... --- sys/dev/ofw/ofbus.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'sys/dev/ofw') 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 -- cgit v1.2.3