Re: Prefered method to map PCI memory into userspace.

From: Andi Kleen
Date: Fri Sep 26 2003 - 23:42:59 EST


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

> On 27 Sep 2003 00:03:42 +0200
> Andi Kleen <ak@xxxxxxx> wrote:
>
>> mmap on /dev/mem
>>
>> PIO cannot be done on memory, for that you have to use iopl()
>> or ioperm() to get access to the port and then issue the PIO
>> instructions yourself
>
> Platform dependant, mmap on /dev/mem doesn't work on many systems.

Just curious - what does the X server use on these many systems then ?

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