From 2c6610f343df65a0dc1f4b2c2f088c1a636792c8 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Tue, 15 Feb 2000 19:23:34 +0000 Subject: [PATCH] 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 --- sys/kern/subr_bus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c index d622ed96c3cc..89fa1436f42e 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;