extres/syscon_generic: Make device quiet if not in boot verbose

On some boards there is a lot of of syscon node that are unused as
more specific drivers is probed before, no need to flood the console
for the mostly-unused generic ones.

MFC after:	1 week
This commit is contained in:
Emmanuel Vadot 2020-07-08 17:14:44 +00:00
parent 6f818c1fb0
commit 9d2c88ab2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363015

View File

@ -142,6 +142,9 @@ syscon_generic_probe(device_t dev)
return (ENXIO);
device_set_desc(dev, "syscon");
if (!bootverbose)
device_quiet(dev);
return (BUS_PROBE_GENERIC);
}