Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2012 22:28:53 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r244668 - projects/efika_mx/sys/dev/fdt
Message-ID:  <201212242228.qBOMSrcd093127@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ray
Date: Mon Dec 24 22:28:52 2012
New Revision: 244668
URL: http://svnweb.freebsd.org/changeset/base/244668

Log:
  Resources can be optional, so report lack of resource only if verbose.
  
  Sponsored by:	FreeBSD Foundation

Modified:
  projects/efika_mx/sys/dev/fdt/simplebus.c

Modified: projects/efika_mx/sys/dev/fdt/simplebus.c
==============================================================================
--- projects/efika_mx/sys/dev/fdt/simplebus.c	Mon Dec 24 22:26:03 2012	(r244667)
+++ projects/efika_mx/sys/dev/fdt/simplebus.c	Mon Dec 24 22:28:52 2012	(r244668)
@@ -259,7 +259,7 @@ simplebus_alloc_resource(device_t bus, d
 			type = SYS_RES_MEMORY;
 
 		rle = resource_list_find(&di->di_res, type, *rid);
-		if (rle == NULL) {
+		if (rle == NULL && bootverbose) {
 			device_printf(bus, "no default resources for "
 			    "rid = %d, type = %d\n", *rid, type);
 			return (NULL);



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