Re: [PATCH 2.5] Make root PCI bus child of system_bus in device tree

From: Deepak Saxena (dsaxena@mvista.com)
Date: Tue Mar 25 2003 - 18:31:18 EST


On Mar 26 2003, at 00:35, Alan Cox was caught saying:
> On Tue, 2003-03-25 at 23:16, Deepak Saxena wrote:
> > All,
> >
> > The following patch updates the PCI subsystem so that root PCI host
> > bridges appear as devices hanging off the system bus instead of root
>
> This seems odd for some systems we support. Older PARISC for example
> have PCI busses hanging off gecko. I do agree with you for the general
> case. So systems whose root level bridges are 'normal' should reflect
> this and I guess others should attach them to the relevant bus.
>
> Over time it seems that PCI is going to become a secondary bus like
> ISA did as well. In fact it already has in many ways, its just things
> like VLINK and the Intel hub busses look like PCI to us

Sounds like more reasoning to just force the caller to provide a parent.
'normal' is a moving target and I'd rather not have the code making
assumptions and let the platform's kernel developer explictly map
the PCI bridge into the system.

~Deepak

-- 
Deepak Saxena
MontaVista Software - Powering the Embedded Revolution - www.mvista.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:21 EST