Subject: CVS commit: syssrc/sys/dev
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 06/26/2002 00:07:44
Module Name:	syssrc
Committed By:	drochner
Date:		Tue Jun 25 21:07:44 UTC 2002

Modified Files:
	syssrc/sys/dev/ic: vga.c vgavar.h
	syssrc/sys/dev/isa: vga_isa.c
	syssrc/sys/dev/pci: vga_pci.c

Log Message:
allow to overwrite the builtin VGA font if necessary,
make the number of available font slots variable,
set up a "quirk" mechanism to tell the generic vga code about crippled
VGA adapters which ignore the "fontsel" TS register,
initiate the quirk table with an ATI chip which happened to be on a board
I tested with.
Afaik quite a number of ATI chips suffers from the "loaded fonts don't
work" problem - these should be added.
Bad side effect of my change: The builtin font will be kicked out
always if a VGA_CONSOLE_SCREENTYPE is specified which needs a loaded
font. In early console initialization, we don't know much about the
graphics card, so we have to assume the worst (ie ATI:-).


To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 syssrc/sys/dev/ic/vga.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/dev/ic/vgavar.h
cvs rdiff -r1.7 -r1.8 syssrc/sys/dev/isa/vga_isa.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/dev/pci/vga_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.