i386 removal, part 35/x: Remove the i386 specific vesa(4) code.
[dragonfly.git] / share / man / man4 / vga.4
1 .\"
2 .\" Copyright (c) 1999
3 .\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer as
11 .\"    the first lines of this file unmodified.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\"    notice, this list of conditions and the following disclaimer in the
14 .\"    documentation and/or other materials provided with the distribution.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 .\"
27 .\" $FreeBSD: src/share/man/man4/vga.4,v 1.7.2.10 2002/12/20 18:03:05 trhodes Exp $
28 .\"
29 .Dd August 14, 2015
30 .Dt VGA 4
31 .Os
32 .Sh NAME
33 .Nm vga
34 .Nd generic video card interface
35 .Sh SYNOPSIS
36 .Cd "options VGA_KEEP_POWERON_MODE"
37 .Cd "options VGA_NO_FONT_LOADING"
38 .Cd "options VGA_NO_MODE_CHANGE"
39 .Cd "options VGA_DEBUG=N"
40 .Cd "options VGA_WIDTH90"
41 .Cd "device vga0 at isa? port ?"
42 .Sh DESCRIPTION
43 The
44 .Nm
45 driver is a generic video card driver which provides access to
46 video cards.
47 This driver is required for the console driver
48 .Xr syscons 4 .
49 The console driver will call the
50 .Nm
51 driver to manipulate video hardware (changing video modes, loading font, etc).
52 .Pp
53 The
54 .Nm
55 driver supports the standard VGA video cards.
56 .Sh DRIVER CONFIGURATION
57 .Ss Kernel Configuration Options
58 The following kernel configuration options
59 (see
60 .Xr config 8 )
61 can be used to control the
62 .Nm
63 driver.
64 These options provide compatibility with certain VGA cards.
65 .Bl -tag -width ".Dv VGA_KEEP_POWERON_MODE"
66 .It Dv VGA_DEBUG=N
67 Set the VGA support debug level to
68 .Fa N .
69 The default value is 0, which suppresses all debugging output.
70 A value of 2 gives maximum verbosity.
71 .It Dv VGA_KEEP_POWERON_MODE
72 This option keeps the initial mode's register settings for switching back
73 to it from another mode.
74 .It Dv VGA_WIDTH90
75 This option enables 90 column modes: 90x25, 90x30, 90x43, 90x50, 90x60.
76 These modes are not always supported by the video card and the display.
77 It is highly likely that LCD display cannot work with these modes.
78 .El
79 .Pp
80 The following options will remove some features from the
81 .Nm
82 driver and save kernel memory.
83 .Bl -tag -width ".Dv VGA_KEEP_POWERON_MODE"
84 .It Dv VGA_NO_FONT_LOADING
85 This option removes font loading from the driver.
86 Note that if you use this option and
87 still wish to use the mouse on the console then you must also use the
88 .Dv SC_ALT_MOUSE_IMAGE
89 option.
90 See
91 .Xr syscons 4 .
92 .It Dv VGA_NO_MODE_CHANGE
93 This option prevents the driver from changing video modes.
94 .El
95 .Sh EXAMPLES
96 Your kernel configuration should normally have:
97 .Pp
98 .D1 Cd "device vga0 at isa? port ?"
99 .Sh SEE ALSO
100 .Xr vgl 3 ,
101 .Xr syscons 4 ,
102 .Xr config 8 ,
103 .Xr kldload 8 ,
104 .Xr kldunload 8
105 .Sh STANDARDS
106 .Rs
107 .%A "Apple, IBM, Motorola"
108 .%T "Common Hardware Reference Platform: I/O Device Reference"
109 .%B "Appendix A: VGA Programming Model"
110 .%P "p. 195"
111 .%O "ftp://ftp.software.ibm.com/rs6000/technology/spec/chrp/"
112 .Re
113 .Sh HISTORY
114 The
115 .Nm
116 driver first appeared in
117 .Fx 3.1 .
118 .Sh AUTHORS
119 .An -nosplit
120 The
121 .Nm
122 driver was written by
123 .An S\(/oren Schmidt Aq Mt sos@FreeBSD.org
124 and
125 .An Kazutaka Yokota Aq Mt yokota@FreeBSD.org .
126 This manual page was written by
127 .An Kazutaka Yokota .