multiple separate pci bridges ...
geert at linux-m68k.org
Wed Jan 7 01:40:30 EST 2004
On Tue, 6 Jan 2004, Sven Luther wrote:
> On Tue, Jan 06, 2004 at 07:00:24PM +1100, Benjamin Herrenschmidt wrote:
> > Type 0 is an access to the primary segment (doesn't contain a bus
> > number), type 1 is to be forwarded to another bus segment by a P2P
> > bridge. So for anything directly attached to the host bridge, it's a
> > type 0 access. Anything else is type 1. Typically, if the bus number of
> > your "target" == hose->first_busno, it's type 0, else type 1
> Yep, except we have two pci controllers, and it should be type 0 for
> both of them.
Yep, two hoses, with different hose->first_busno.
> > They could have appeared as on-chip PCI devices on a "pseudo-bus", but
> > we can eventually just match with the host's PCI device.
> Ok. but this can also be faked or something ? But, how can we match with
> the host PCI device, if we are going to hide it ?
Hide the memory BAR only, not the full PCI device.
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev