Author: manu
Date: Wed Jul 8 17:14:44 2020
New Revision: 363015
URL: https://svnweb.freebsd.org/changeset/base/363015
Log:
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
Modified:
head/sys/dev/extres/syscon/syscon_generic.c
Modified: head/sys/dev/extres/syscon/syscon_generic.c
==============================================================================
--- head/sys/dev/extres/syscon/syscon_generic.c Wed Jul 8 17:12:12 2020
(r363014)
+++ head/sys/dev/extres/syscon/syscon_generic.c Wed Jul 8 17:14:44 2020
(r363015)
@@ -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);
}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"