From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [RFC] Device tree for new desktop platform in arch/powerpc From: Benjamin Herrenschmidt To: Segher Boessenkool In-Reply-To: References: <20070618185715.321010@gmx.net> <20070619054232.GB32039@localhost.localdomain> <1182429733.24740.12.camel@localhost.localdomain> <558860c3d90100cd18df5f9a66cce3f9@kernel.crashing.org> <1182468325.24740.18.camel@localhost.localdomain> Content-Type: text/plain Date: Fri, 22 Jun 2007 18:16:31 +1000 Message-Id: <1182500191.24740.49.camel@localhost.localdomain> Mime-Version: 1.0 Cc: list , David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2007-06-22 at 09:52 +0200, Segher Boessenkool wrote: > >> The "#address-cells" property should be completely absent, > >> even; for interrupt matching, that means "treat as 0, no > >> unit address used in interrupt mapping, just the interrupt > >> number", and for the "normal" purpose (defining the format > >> of devices on the bus rooted at / represented by this node) > >> it means "there is no such bus" -- this is different from > >> #address-cells = 0. > > > > I'd rather have it present and explicitely set to 0, > > It is not the "right thing" to do, but should be harmless > in most situations. It's pretty much the right thing to do in that case imho... based on the assumption that a common practice is worth 10 standards :-) (I think I could even quote Linus on that one, let's just say that I totally agree with him on those matters, I'd rather have people "standardize" around existing common practices that happen to also work well with existing code rather than doing differently because that's what a 10 yrs old unmaintained piece of pdf says should be done :-) Ben.