Re: Prefered method to map PCI memory into userspace.

From: David S. Miller
Date: Sat Sep 27 2003 - 18:52:57 EST


On Fri, 26 Sep 2003 23:59:08 +1000
Anton Blanchard <anton@xxxxxxxxx> wrote:

>
> > Just curious - what does the X server use on these many systems then ?
>
> FYI ppc64 and some ppc32 systems fall into the cant use /dev/mem
> category. The answer is to use pci domains (ie using /proc/bus/pci/...
> to be able to mmap PCI memory and IO regions)

Exactly.

XFREE86-4.3.0 and later has full domain infrastructure, it just isn't
enabled on anything other than ppc and sparc because the other platforms
haven't made their /proc/bus/pci/* mmap() arch support routines fully
functional yet.
-
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/