From owner-svn-src-head@FreeBSD.ORG Mon Sep 17 07:46:45 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34988106566C; Mon, 17 Sep 2012 07:46:45 +0000 (UTC) (envelope-from gber@freebsd.org) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id D1B408FC12; Mon, 17 Sep 2012 07:46:44 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 2D0FB119C09; Mon, 17 Sep 2012 09:46:38 +0200 (CEST) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id PIz3S5hI7BtK; Mon, 17 Sep 2012 09:46:37 +0200 (CEST) Received: from [10.0.0.93] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id 76BEA119C00; Mon, 17 Sep 2012 09:46:37 +0200 (CEST) Message-ID: <5056F10C.9000602@freebsd.org> Date: Mon, 17 Sep 2012 11:44:44 +0200 From: Grzegorz Bernacki User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.24) Gecko/20120127 Thunderbird/3.1.16 MIME-Version: 1.0 To: Aleksandr Rybalko References: <201209140933.q8E9XZnd088621@svn.freebsd.org> <20120914171652.780e25c6.ray@freebsd.org> <50535E29.2030102@freebsd.org> <20120916022702.055cb08b.ray@freebsd.org> In-Reply-To: <20120916022702.055cb08b.ray@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r240484 - head/sys/dev/fdt X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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, 17 Sep 2012 07:46:45 -0000 On 09/16/12 01:27, Aleksandr Rybalko wrote: > On Fri, 14 Sep 2012 18:41:13 +0200 > Grzegorz Bernacki wrote: > >> On 09/14/12 16:16, Aleksandr Rybalko wrote: >>> On Fri, 14 Sep 2012 09:33:35 +0000 (UTC) >>> Grzegorz Bernacki wrote: >>> >>>> Author: gber >>>> Date: Fri Sep 14 09:33:35 2012 >>>> New Revision: 240484 >>>> URL: http://svn.freebsd.org/changeset/base/240484 >>>> >>>> Log: >>>> Set busaddr and bussize to 0 when fdt_get_range() fails. >>> >>> Why bussize is 0? >> >> I though that setting it to 0 makes sense, since we do not use >> this variable in this function and setting it to some value could be >> confused. I could skip setting it, but I also thought it could cause >> confusion :). If you think that setting it to other value or remove >> it will be better please let me know and I will change it. >> >> thanks >> grzesiek > > Yeah, indeed, false alarm. Sorry for noise. > > But it will be very nice to hear developers opinion about ePAPR1.1 row > (about "range" property): > "If the property is not present in a bus node, it is assumed that no > mapping exists between children of the node and the parent address > space." > > Assuming since in most cases root node have no "ranges" property, but > his child "SOC" have that property with defaults (0x0 x 0xffffffff). > So nodes which have property "ranges" or not, must be processed same > way. Right? > > WBW Hi, I am not quite sure that I understand your question. What nodes are you referring to and what to you mean by processing them the same way? regards, grzesiek