Re: Prefered method to map PCI memory into userspace.

From: Andi Kleen
Date: Sat Sep 27 2003 - 00:11:20 EST


"David S. Miller" <davem@xxxxxxxxxx> writes:

> If someone is looking for something to do, it would be incredibly
> value to make it so that all arches support this, and in particular
> get right the case of mmap()'ing the PCI host bridge.
>
> If this were done, the PCI domain code in xfree86 could be enabled
> for all Linux platforms, not just the ones that have this implemented
> properly.

What semantics would it have? Can the "seek offset" just be the
bus address?

If yes then it would be trivial to implement for x86/x86-64

-andi
-
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/