Subject: vga(4) on ATI cards vs. wsfontload and 80x50 screen type: fixes for 1.6.x, FYI
To: NetBSD/i386 Discussion List <port-i386@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 01/18/2005 17:13:07
I finally got around to digging out the fixes for the vga(4) driver to
recognize and cope with "bugs" in the ATI implementation that prevented
wsfontload from having the desired effect and I've pulled them up to my
local netbsd-1-6 working directory and have successfully tested them on
a machine that previously couldn't display any non-default font.

Now finally I can make use of the "80x50" screen type I like so much on
all the apparently quite common ATI-using machines I seem to own and
encounter.

In case anyone's interested these should be the complete set of fixes:

cvs diff -kk -r 1.50 -r 1.52 sys/dev/ic/vga.c | patch sys/dev/ic/vga.c
cvs diff -kk -r 1.53 -r 1.58 sys/dev/ic/vga.c  | patch sys/dev/ic/vga.c

cvs diff -kk -r 1.8 -r 1.11 sys/dev/ic/vga_subr.c  | patch sys/dev/ic/vga_subr.c

cvs diff -kk -r 1.10 -r 1.13 sys/dev/ic/vgavar.h | patch sys/dev/ic/vgavar.h

cvs diff -kk -r 1.7 -r 1.11 sys/dev/isa/vga_isa.c | patch sys/dev/isa/vga_isa.c

cvs diff -kk -r 1.11 -r 1.16 sys/dev/pci/vga_pci.c | patch sys/dev/pci/vga_pci.c

cvs diff -kk -r 1.536 -r 1.538 sys/conf/files | patch sys/conf/files


They should apply cleanly and "just work".

Note the VGA_CONSOLE_ATI_BROKEN_FONTSEL option isn't to be needed for
PCI cards so long as the quirk table matches them (and the comment about
it in the kernel config files where it's discussed should probably
mention this fact).


Now to try compling the font in the kernel again and using 80x50 by
default!  :-)

-- 
						Greg A. Woods

H:+1 416 218-0098  W:+1 416 489-5852 x122  VE3TCP  RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>