svn commit: r347242 - head/sys/powerpc/ofw
Justin Hibbits
jhibbits at FreeBSD.org
Wed May 8 03:15:23 UTC 2019
Author: jhibbits
Date: Wed May 8 03:15:22 2019
New Revision: 347242
URL: https://svnweb.freebsd.org/changeset/base/347242
Log:
powerpc: hide innocuous printf behind bootverbose
NUMA associativity, and OFW node existence, is completely optional, and
shouldn't warn always.
Modified:
head/sys/powerpc/ofw/ofw_pcibus.c
Modified: head/sys/powerpc/ofw/ofw_pcibus.c
==============================================================================
--- head/sys/powerpc/ofw/ofw_pcibus.c Wed May 8 02:32:11 2019 (r347241)
+++ head/sys/powerpc/ofw/ofw_pcibus.c Wed May 8 03:15:22 2019 (r347242)
@@ -393,7 +393,8 @@ ofw_pcibus_parse_associativity(device_t dev, int *doma
int res;
if ((node = ofw_bus_get_node(dev)) == -1) {
- device_printf(dev, "no ofw node found\n");
+ if (bootverbose)
+ device_printf(dev, "no ofw node found\n");
return (ENXIO);
}
res = OF_getproplen(node, "ibm,associativity");
More information about the svn-src-all
mailing list