From: rahnds Date: Fri, 31 Mar 2000 06:06:28 +0000 (+0000) Subject: Quiet down the boot for powerpc, do not print openfirmware devices not X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b32ca7ae8bc6e510de5ce1ca37db431c5c65e067;p=openbsd Quiet down the boot for powerpc, do not print openfirmware devices not configured, still prints all of the buses... --- 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