From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 26064DDEEB for ; Thu, 5 Feb 2009 08:45:55 +1100 (EST) Date: Wed, 4 Feb 2009 16:39:14 -0500 From: "John W. Linville" To: Gerhard Pircher Subject: Re: [PATCH v2 1/4] Add platform support for AmigaOne Message-ID: <20090204213914.GB15411@tuxdriver.com> References: <20090202212139.69160@gmx.net> <20090202213910.258290@gmx.net> <1233719407.16867.164.camel@pasglop> <20090204205941.GB17771@iram.es> <20090204213531.164090@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20090204213531.164090@gmx.net> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Feb 04, 2009 at 10:35:31PM +0100, Gerhard Pircher wrote: > > -------- Original-Nachricht -------- > > Datum: Wed, 4 Feb 2009 21:59:41 +0100 > > Von: Gabriel Paubert > > An: Benjamin Herrenschmidt > > CC: Gerhard Pircher , linuxppc-dev list > > Betreff: Re: [PATCH v2 1/4] Add platform support for AmigaOne > > > On Wed, Feb 04, 2009 at 02:50:07PM +1100, Benjamin Herrenschmidt wrote: > > > > > > > + hose->first_busno = bus_range ? bus_range[0] : 0; > > > > + hose->last_busno = bus_range ? bus_range[1] : 0xff; > > > > + > > > > + setup_indirect_pci(hose, 0xfec00cf8, 0xfee00cfc, 0); > > > > > > Minor in the context of amigaone but still... the above should come > > > from the device-tree... I suppose those are really just IO space > > > addresses cf8 and cfc, in which case, an option is to call that first: > > > > Hmm, the first is feC...,the other one feE..., 2Mbytes apart. > > > > I don't know the hardware but I've never seen something like that. > > Of course a typo is always a possibility... > The Pegasos 1 uses the same northbridge and chrp_find_bridges() calls > setup_indirect_pci() with the same addresses. As a proud owner, I concur that those numbers are correct... -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.