fbcon: allow fbcon to use the primary display driver
[safe/jmp/linux-2.6] / drivers / video / console / Kconfig
1 #
2 # Video configuration
3 #
4
5 menu "Console display driver support"
6
7 config VGA_CONSOLE
8         bool "VGA text console" if EMBEDDED || !X86
9         depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC && !M68K && !PARISC && !FRV && !ARCH_VERSATILE && !SUPERH && !BFIN
10         default y
11         help
12           Saying Y here will allow you to use Linux in text mode through a
13           display that complies with the generic VGA standard. Virtually
14           everyone wants that.
15
16           The program SVGATextMode can be used to utilize SVGA video cards to
17           their full potential in text mode. Download it from
18           <ftp://ibiblio.org/pub/Linux/utils/console/>.
19
20           Say Y.
21
22 config VGACON_SOFT_SCROLLBACK
23        bool "Enable Scrollback Buffer in System RAM"
24        depends on VGA_CONSOLE
25        default n
26        help
27          The scrollback buffer of the standard VGA console is located in
28          the VGA RAM.  The size of this RAM is fixed and is quite small.
29          If you require a larger scrollback buffer, this can be placed in
30          System RAM which is dynamically allocated during intialization.
31          Placing the scrollback buffer in System RAM will slightly slow
32          down the console.
33
34          If you want this feature, say 'Y' here and enter the amount of
35          RAM to allocate for this buffer.  If unsure, say 'N'.
36
37 config VGACON_SOFT_SCROLLBACK_SIZE
38        int "Scrollback Buffer Size (in KB)"
39        depends on VGACON_SOFT_SCROLLBACK
40        default "64"
41        help
42          Enter the amount of System RAM to allocate for the scrollback
43          buffer.  Each 64KB will give you approximately 16 80x25
44          screenfuls of scrollback buffer
45
46 config VIDEO_SELECT
47         bool "Video mode selection support"
48         depends on  X86 && VGA_CONSOLE
49         ---help---
50           This enables support for text mode selection on kernel startup. If
51           you want to take advantage of some high-resolution text mode your
52           card's BIOS offers, but the traditional Linux utilities like
53           SVGATextMode don't, you can say Y here and set the mode using the
54           "vga=" option from your boot loader (lilo or loadlin) or set
55           "vga=ask" which brings up a video mode menu on kernel startup. (Try
56           "man bootparam" or see the documentation of your boot loader about
57           how to pass options to the kernel.)
58
59           Read the file <file:Documentation/svga.txt> for more information
60           about the Video mode selection support. If unsure, say N.
61
62 config MDA_CONSOLE
63         depends on !M68K && !PARISC && ISA
64         tristate "MDA text console (dual-headed) (EXPERIMENTAL)"
65         ---help---
66           Say Y here if you have an old MDA or monochrome Hercules graphics
67           adapter in your system acting as a second head ( = video card). You
68           will then be able to use two monitors with your Linux system. Do not
69           say Y here if your MDA card is the primary card in your system; the
70           normal VGA driver will handle it.
71
72           To compile this driver as a module, choose M here: the
73           module will be called mdacon.
74
75           If unsure, say N.
76
77 config SGI_NEWPORT_CONSOLE
78         tristate "SGI Newport Console support"
79         depends on SGI_IP22 
80         help
81           Say Y here if you want the console on the Newport aka XL graphics
82           card of your Indy.  Most people say Y here.
83
84 #  bool 'IODC console' CONFIG_IODC_CONSOLE
85
86 config PROM_CONSOLE
87         bool "PROM console"
88         depends on SPARC
89         help
90           Say Y to build a console driver for Sun machines that uses the
91           terminal emulation built into their console PROMS.
92
93 config DUMMY_CONSOLE
94         bool
95         depends on PROM_CONSOLE!=y || VGA_CONSOLE!=y || SGI_NEWPORT_CONSOLE!=y 
96         default y
97
98 config DUMMY_CONSOLE_COLUMNS
99         int "Initial number of console screen columns"
100         depends on PARISC && DUMMY_CONSOLE
101         default "160"
102         help
103           The default value is 160, which should fit a 1280x1024 monitor.
104           Select 80 if you use a 640x480 resolution by default.
105
106 config DUMMY_CONSOLE_ROWS
107         int "Initial number of console screen rows"
108         depends on PARISC && DUMMY_CONSOLE
109         default "64"
110         help
111           The default value is 64, which should fit a 1280x1024 monitor.
112           Select 25 if you use a 640x480 resolution by default.
113
114 config FRAMEBUFFER_CONSOLE
115         tristate "Framebuffer Console support"
116         depends on FB
117         select CRC32
118         help
119           Low-level framebuffer-based console driver.
120
121 config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
122        bool "Map the console to the primary display device"
123        depends on FRAMEBUFFER_CONSOLE && VT_HW_CONSOLE_BINDING
124        default n
125        ---help---
126          If this option is selected, the framebuffer console will
127          automatically select the primary display device (if the architecture
128          supports this feature).  Otherwise, the framebuffer console will
129          always select the first framebuffer driver that is loaded. The latter
130          is the default behavior.
131
132          You can always override the automatic selection of the primary device
133          by using the fbcon=map: boot option.
134
135          To select this feature, "Support for binding and unbinding console
136          drivers", under "Device Drivers"->"Character Devices" must be set to
137          y.
138
139          If unsure, select n.
140
141 config FRAMEBUFFER_CONSOLE_ROTATION
142        bool "Framebuffer Console Rotation"
143        depends on FRAMEBUFFER_CONSOLE
144        help
145          Enable display rotation for the framebuffer console.  This is done
146          in software and may be significantly slower than a normally oriented
147          display.  Note that the rotation is done at the console level only
148          such that other users of the framebuffer will remain normally
149          oriented.
150
151 config STI_CONSOLE
152         tristate "STI text console" 
153         depends on PARISC
154         default y
155         help
156           The STI console is the builtin display/keyboard on HP-PARISC
157           machines.  Say Y here to build support for it into your kernel.
158           The alternative is to use your primary serial port as a console.
159
160 config FONTS
161         bool "Select compiled-in fonts"
162         depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
163         help
164           Say Y here if you would like to use fonts other than the default
165           your frame buffer console usually use.
166
167           Note that the answer to this question won't directly affect the
168           kernel: saying N will just cause the configurator to skip all
169           the questions about foreign fonts.
170
171           If unsure, say N (the default choices are safe).
172
173 config FONT_8x8
174         bool "VGA 8x8 font" if FONTS
175         depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
176         default y if !SPARC && !FONTS
177         help
178           This is the "high resolution" font for the VGA frame buffer (the one
179           provided by the text console 80x50 (and higher) modes).
180
181           Note that this is a poor quality font. The VGA 8x16 font is quite a
182           lot more readable.
183
184           Given the resolution provided by the frame buffer device, answer N
185           here is safe.
186
187 config FONT_8x16
188         bool "VGA 8x16 font" if FONTS
189         depends on FRAMEBUFFER_CONSOLE || SGI_NEWPORT_CONSOLE=y || STI_CONSOLE || USB_SISUSBVGA_CON 
190         default y if !SPARC && !FONTS
191         help
192           This is the "high resolution" font for the VGA frame buffer (the one
193           provided by the VGA text console 80x25 mode.
194
195           If unsure, say Y.
196
197 config FONT_6x11
198         bool "Mac console 6x11 font (not supported by all drivers)" if FONTS
199         depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
200         default y if !SPARC && !FONTS && MAC
201         help
202           Small console font with Macintosh-style high-half glyphs.  Some Mac
203           framebuffer drivers don't support this one at all.
204
205 config FONT_7x14
206         bool "console 7x14 font (not supported by all drivers)" if FONTS
207         depends on FRAMEBUFFER_CONSOLE
208         help
209           Console font with characters just a bit smaller than the default.
210           If the standard 8x16 font is a little too big for you, say Y.
211           Otherwise, say N.
212
213 config FONT_PEARL_8x8
214         bool "Pearl (old m68k) console 8x8 font" if FONTS
215         depends on FRAMEBUFFER_CONSOLE
216         default y if !SPARC && !FONTS && AMIGA
217         help
218           Small console font with PC-style control-character and high-half
219           glyphs.
220
221 config FONT_ACORN_8x8
222         bool "Acorn console 8x8 font" if FONTS
223         depends on FRAMEBUFFER_CONSOLE
224         default y if !SPARC && !FONTS && ARM && ARCH_ACORN
225         help
226           Small console font with PC-style control characters and high-half
227           glyphs.
228
229 config FONT_MINI_4x6
230         bool "Mini 4x6 font"
231         depends on !SPARC && FONTS
232
233 config FONT_SUN8x16
234         bool "Sparc console 8x16 font"
235         depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
236         help
237           This is the high resolution console font for Sun machines. Say Y.
238
239 config FONT_SUN12x22
240         bool "Sparc console 12x22 font (not supported by all drivers)"
241         depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC)
242         help
243           This is the high resolution console font for Sun machines with very
244           big letters (like the letters used in the SPARC PROM). If the
245           standard font is unreadable for you, say Y, otherwise say N.
246
247 config FONT_10x18
248         bool "console 10x18 font (not supported by all drivers)" if FONTS
249         depends on FRAMEBUFFER_CONSOLE
250         help
251           This is a high resolution console font for machines with very
252           big letters. It fits between the sun 12x22 and the normal 8x16 font.
253           If other fonts are too big or too small for you, say Y, otherwise say N.
254
255 endmenu
256