Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f9TJTsX04041 for linux-mips-outgoing; Mon, 29 Oct 2001 11:29:54 -0800 Received: from ns1.ltc.com (ns1.ltc.com [38.149.17.165]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f9TJTm004036 for ; Mon, 29 Oct 2001 11:29:48 -0800 Received: from prefect (gw1.ltc.com [38.149.17.163]) by ns1.ltc.com (Postfix) with SMTP id 59C09590AC; Mon, 29 Oct 2001 10:26:36 -0500 (EST) Message-ID: <04c801c160b0$1d62f660$3501010a@ltc.com> From: "Bradley D. LaRonde" To: "Jun Sun" Cc: , References: <20011026210746.A20395@dev1.ltc.com> <3BDDACD2.7121F905@mvista.com> Subject: Re: PATCH: pci_auto bridge support Date: Mon, 29 Oct 2001 14:30:06 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk I considered that, but since only this small chuck of run-once surrogate bios autoconfig code needs to know, I figured better keep it separate. Regards, Brad ----- Original Message ----- From: "Jun Sun" To: "Bradley D. LaRonde" Cc: ; Sent: Monday, October 29, 2001 2:24 PM Subject: Re: PATCH: pci_auto bridge support > > Brad, > > Have you considered embedding "topbus" argument into hose structure? That > sounds like potentially better solution. > > > > "Bradley D. LaRonde" wrote: > > > > 2001-10-26 Bradley D. LaRonde > > > > * PCI bridge support. See change log entry below. > > > > --- arch/mips/kernel/pci_auto.c 2001/08/18 06:21:53 1.1 > > +++ arch/mips/kernel/pci_auto.c 2001/10/27 01:01:21 > > @@ -4,6 +4,7 @@ > > * Author: Matt Porter > > * > > * Copyright 2000, 2001 MontaVista Software Inc. > > + * Copyright 2001 Bradley D. LaRonde > > * > > * This program is free software; you can redistribute it and/or modify it > > * under the terms of the GNU General Public License as published by the > > @@ -19,6 +20,15 @@ > > * . change most int to u32. > > * > > * Further modified to include it as mips generic code, ppopov@mvista.com. > > + * > > + * 2001-10-26 Bradley D. LaRonde > > + * - Add a top_bus argument to the "early config" functions so that > > + * they can set a fake parent bus pointer to convince the underlying > > + * pci ops to use type 1 configuration for sub busses. > > + * - Set bridge base and limit registers correctly. > > + * - Align io and memory base properly before and after bridge setup. > > + * - Don't fall through to pci_setup_bars for bridge. > > + * - Reformat the debug output to look more like lspci's output. > > */