From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id C3260DE038 for ; Tue, 7 Aug 2007 05:42:45 +1000 (EST) In-Reply-To: <20070803063532.GB14456@localhost.localdomain> References: <20070627065335.GD11191@localhost.localdomain> <20070627071008.GA30648@localhost.localdomain> <20070628100020.GA24215@iram.es> <20070803063532.GB14456@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4d4b2d7064b052024d37a11a580e51a6@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH 3/3] First cut at PReP support for arch/powerpc Date: Mon, 6 Aug 2007 21:42:34 +0200 To: David Gibson Cc: linuxppc-dev@ozlabs.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>> + PIC8259: interrupt-controller { >>> + device_type = "i8259"; >>> >>> device_type = "interrupt-controller". > > Is that really right? The MPIC binding, at least, has device_type = > "open-pic" rather than "interrupt-controller". I got confused. "open-pic" as device_type is nonsense, because it doesn't define anything an OF can work with itself. However, since some older interrupt controller bindings (pre-imap) define a device_type, the interrupt mapping recommended practice had to work around this, so it specified an empty "interrupt-controller" property for all interrupt controller nodes. I don't know what the specified device_type for 8259s is; it seems to me you don't need it in a flat device tree at all. >>> + MPIC: interrupt-controller@d { >>> + device_type = "open-pic"; >>> >>> device_type = "interrupt-controller". > > Not according to the binding in booting-without-of.txt Yeah, mea culpa. Again, you can just leave it out I think. Segher