summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2000-02-15 19:23:34 +0000
committerjoerg <joerg@FreeBSD.org>2000-02-15 19:23:34 +0000
commitabe3cf9b8b7e218d932d09457862b0cfeae31416 (patch)
tree631453828c9d587a564c2fd4b86158a9d56761a2 /sys
parent0c9841a5b29064f077634a855eed0e9605511651 (diff)
downloadFreeBSD-src-abe3cf9b8b7e218d932d09457862b0cfeae31416.zip
FreeBSD-src-abe3cf9b8b7e218d932d09457862b0cfeae31416.tar.gz
Hide the boring ``not probed (disabled)'' messages behind `bootverbose'.
This unspams the boot messages, concentrating on the drivers that have actually been probed. This basically resurrects revision 1.106 from old /sys/i386/isa/isa.c. Reviewed by: jkh, dfr
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_bus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index d622ed9..89fa143 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -1147,8 +1147,10 @@ device_probe_and_attach(device_t dev)
BUS_PROBE_NOMATCH(bus, dev);
}
} else {
+ if (bootverbose) {
device_print_prettyname(dev);
printf("not probed (disabled)\n");
+ }
}
return error;
OpenPOWER on IntegriCloud