Add VESA mode support for syscons. The vesa.ko module must be loaded and
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 4 Sep 2004 06:15:08 +0000 (06:15 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 4 Sep 2004 06:15:08 +0000 (06:15 +0000)
commit2a85d763a98b7bb4ad7c92b12a01cfa8d3b3af17
tree8d90bc499f7a365e7a073277fdb6625d6b700a65
parent54992903eca62f325f30e0826e5217c2900f7280
Add VESA mode support for syscons.  The vesa.ko module must be loaded and
syscons (sc0) must be compiled with 'options SC_PIXEL_MODE'.
'vidcontrol -i mode' may then be used to list available modes and
'vidcontrol MODE_n' may be used to set the mode.  This patch adds support
for 15, 16, 24, and 32 bit modes and also does a bit of related cleanup and
restructuring.

Submitted-by: Sascha Wildner <saw@online.de>
Testing-and-Discussion: Sarunas Vancevicius, YONETANI Tomokazu and Joerg Anslik
sys/dev/misc/syscons/scvesactl.c
sys/dev/misc/syscons/scvgarndr.c
sys/dev/misc/syscons/scvidctl.c
sys/dev/misc/syscons/syscons.c
sys/dev/misc/syscons/syscons.h