From owner-svn-src-head@FreeBSD.ORG Mon Mar 18 23:38:15 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EF10E454; Mon, 18 Mar 2013 23:38:15 +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 D00383E3; Mon, 18 Mar 2013 23:38:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2INcFHY043060; Mon, 18 Mar 2013 23:38:15 GMT (envelope-from ray@svn.freebsd.org) Received: (from ray@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2INcFse043059; Mon, 18 Mar 2013 23:38:15 GMT (envelope-from ray@svn.freebsd.org) Message-Id: <201303182338.r2INcFse043059@svn.freebsd.org> From: Aleksandr Rybalko Date: Mon, 18 Mar 2013 23:38:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r248481 - head/sys/dev/fdt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2013 23:38:16 -0000 Author: ray Date: Mon Mar 18 23:38:15 2013 New Revision: 248481 URL: http://svnweb.freebsd.org/changeset/base/248481 Log: Hide "no default resources for" warning under bootverbose. It's ok to use optional resources. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/fdt/simplebus.c Modified: head/sys/dev/fdt/simplebus.c ============================================================================== --- head/sys/dev/fdt/simplebus.c Mon Mar 18 23:35:01 2013 (r248480) +++ head/sys/dev/fdt/simplebus.c Mon Mar 18 23:38:15 2013 (r248481) @@ -251,8 +251,9 @@ simplebus_alloc_resource(device_t bus, d rle = resource_list_find(&di->di_res, type, *rid); if (rle == NULL) { - device_printf(bus, "no default resources for " - "rid = %d, type = %d\n", *rid, type); + if (bootverbose) + device_printf(bus, "no default resources for " + "rid = %d, type = %d\n", *rid, type); return (NULL); } start = rle->start;