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:
parent
6f818c1fb0
commit
9d2c88ab2a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user