Re: VGA handling was [Re: Going beyond 256 PCI buses]

David S. Miller
2001-06-14T23:43:11Z

James Simmons writes:
> Actually this weekend I'm working on this for the console system. I
> plan to get my TNT card and 3Dfx card both working at the same time both in
> VGA text mode. If you also really want to get multiple card in vga text
> mode it is going to get far more complex in a multihead besides the
> problem of multiple buses.

You going to have to enable/disable I/O, MEM access, and VGA pallette
snooping in the PCI_COMMAND register of both boards every time you go
from rendering text on one to rendering text on the other. If there
are bridges leading to either device, you may need to fiddle with VGA
forwarding during each switch as well.

You'll also need a semaphore or similar to control this "active VGA"
state.

Really, I don't think this is all that good of an idea.

Later,
David S. Miller
davem@redhat.com