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