Re: multi-domain PCI and sysfs

From: David S. Miller
Date: Tue Sep 07 2004 - 23:17:14 EST


On Tue, 7 Sep 2004 23:39:49 -0400
Jon Smirl <jonsmirl@xxxxxxxxx> wrote:

> On Tue, 7 Sep 2004 16:11:40 -0700, David S. Miller <davem@xxxxxxxxxxxxx> wrote:
> > On Tue, 7 Sep 2004 18:58:53 -0400
> > Jon Smirl <jonsmirl@xxxxxxxxx> wrote:
> > > How many active VGA devices can I have in this system 1 or 4? If the
> > > answer is 4, how do I independently address each VGA card? If the
> > > answer is one, you can see why I want a pci0000 node to hold the
> > > attribute for turning it off and on.
> >
> > I don't know about the above but for a multi-domain system the
> > way it works is that the I/O ports are accessed using a different
> > base address for each domain.
>
> How does this work for IO ports in port space instead of memory mapped IO?

Those are IO ports in port space. IO ports and PCI memory space just
live in different physical memory windows, no special instructions
for IO port space access as on x86.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/