Re: Prefered method to map PCI memory into userspace.

From: David S. Miller
Date: Fri Sep 26 2003 - 23:03:01 EST


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