Update - Re: Open Sourced Glide on Linux PPC

Jeff Garzik jgarzik at mandrakesoft.mandrakesoft.com
Thu Dec 23 06:26:57 EST 1999


On Wed, 22 Dec 1999, Geert Uytterhoeven wrote:
> >   They do all memory access through the GETxx SETxx defines you can 
> > do the byteswapping there, the linux specific code doesn't use this 
> > though so you'll have to change this too.

> Use read*()/write*() for all accesses to PCI memory space, as per
> linux/Documentation/IO-mapping.txt.

I don't know if this applies to the problem, but I thought I would
reference the VGA read/write routines in drivers/video/vga.h.  If Glide
has to talk to VGA registers, the functions in there should be best
for most uses.  They take endianness into account too.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list