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 ESMTPS id 35C041007D1 for ; Fri, 27 Nov 2009 11:11:30 +1100 (EST) In-Reply-To: <1259275130.2659.4.camel@pasglop> References: <1258927311-4340-1-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-2-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-3-git-send-email-albert_herranz@yahoo.es> <0AE26D40-D051-4CDE-878C-64CC8EF33E07@kernel.crashing.org> <1259209436.16367.243.camel@pasglop> <807D3910-3357-4DBF-A1C7-9C07A7C80A39@kernel.crashing.org> <1259275130.2659.4.camel@pasglop> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3371FB1F-72B7-4AF4-B243-1C09092D2AAC@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [RFC PATCH 02/19] powerpc: gamecube: device tree Date: Fri, 27 Nov 2009 01:18:26 +0100 To: Benjamin Herrenschmidt Cc: Albert Herranz , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>>> If you have only one interrupt controller, like here, you don't >>>> need to refer to it _at all_ :-) >>> >>> I think Linux requires that you do though. It might be a mistake on >>> our >>> part but heh ... >> >> Linux doesn't require it; (old) Macs are like this, for example, >> and that works fine. Oh and all Maple firmwares are like that as >> well I think. Etc. > > It works fine on old macs thanks to a quirk we enable in the mac code > iirc and old maple works thanks to mere luck with the fallback code we > have which reads things of PCI config space :-) > > Don't rely on that. It is standard OF. Let's fix the Linux code if that is needed (and I don't think it is, anyway). OTOH, it's nice to use the interrupt mapping stuff in all new device trees. Segher