Subject: vesafb-20060214 also works in 3.0-RELEASE
To: None <tech-kern@netbsd.org>
From: Byunghyun Oh <octaphial@gmail.com>
List: tech-kern
Date: 02/18/2006 20:40:42
I tested vesafb-20060214 under 3.0-RELEASE, and it works well after
some treatments.

1. Extract vesafb-20060214.tar.gz under /usr/src/sys, and patch < vesafb.pa=
tch.
2. There are two rejections in arch/i386/bios. Read the rejection, and
you can apply it by hand. It was not hard.
2.5. Replace "struct lwp" with "struct proc" in
arch/i386/bios/vesafb.c. It appears twice in it. (Just to avoid
warning and there is no side-effect.)
3. Then you should grab dev/wscons/wsdisplay_vcons*.[ch] from -current
(two files). You should also insert "define vcons" and "file
.../..._vcons.c vcons" lines.
4. Now, insert these in your config file, and compile the kernel. :)

options KVM86
options SPLASH
options SPLASH_PROGRESSBAR
vesabios* at vesabiosbus?
vesafb* at vesabios?
wsdisplay* at vesafb?

Splash, progress-bar, and virtual console all works very well, and
speed is usable.


Byunghyun Oh
Undergraduate, Department of Mathematics, POSTECH