Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 May 2019 03:15:22 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347242 - head/sys/powerpc/ofw
Message-ID:  <201905080315.x483FM97012057@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905080315.x483FM97012057>