Re: [patch 2.5] VGA IO on systems with multiple PCI IO domains

From: Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Date: Wed Feb 05 2003 - 06:12:25 EST


On Wed, Jan 29, 2003 at 06:15:36PM +0000, James Simmons wrote:
> As a small note I really like to move vagcon.c to start to use the inline
> functions in include/video/vga.h. I have provisions to even use a specific
> register base region. I like to combine it with your work.

Unfortunately, these functions won't work "as is" on all architectures.
Even if the IO port space is mapped somewhere in the CPU memory space,
this doesn't mean that the mapping is linear - look at parisc inX/outX
functions, for example.
In other words, you cannot portably use readX/writeX instead of inX/outX.

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:17 EST