Subject: Re: XFree86 and macppc
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Michael <macallan18@earthlink.net>
List: tech-x11
Date: 12/06/2004 09:16:19
Hello,

> > vga* at pci? doesn't attach on macppc because some bus_space
> > functions/macros aren't implemented, adding them may get it to work
> > but I suspect it expects some firmware to put the card into legacy
> > mode which isn't going to happen on a Mac or a SPARC but should be
> > standard on a PC.
> 
> We already have MI code to do most of that - vga_subr.c rev 1.14

So vga can work without a PCish BIOS these days?
Hmm, a cursory glance at the code seems to indicate that it expects the legacy registers ( 0x3b0 and up ) active - is there anything to put a VGA into legacy mode? OF on a Mac certainly doesn't do that, usually it doesn't even enable IO access at all and sticks to the memory mapped registers.

have fun
Michael