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
This commit is contained in:
parent
ac0bed8e35
commit
2c6610f343
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57244
@ -1147,9 +1147,11 @@ 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user