From owner-svn-src-projects@FreeBSD.ORG Mon Dec 24 22:28:53 2012 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 459DC639; Mon, 24 Dec 2012 22:28:53 +0000 (UTC) (envelope-from ray@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 2AA328FC0C; Mon, 24 Dec 2012 22:28:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBOMSrTE093128; Mon, 24 Dec 2012 22:28:53 GMT (envelope-from ray@svn.freebsd.org) Received: (from ray@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBOMSrcd093127; Mon, 24 Dec 2012 22:28:53 GMT (envelope-from ray@svn.freebsd.org) Message-Id: <201212242228.qBOMSrcd093127@svn.freebsd.org> From: Aleksandr Rybalko Date: Mon, 24 Dec 2012 22:28:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r244668 - projects/efika_mx/sys/dev/fdt X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2012 22:28:53 -0000 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);