blob: aa99cd26ba8bc4c6ff7ab89e8ecf3357dc4f19a6 [file] [log] [blame]
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -08001config VT
2 bool "Virtual terminal" if EXPERT
Al Viro33694652011-08-18 20:11:59 +01003 depends on !S390 && !UML
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -08004 select INPUT
5 default y
6 ---help---
7 If you say Y here, you will get support for terminal devices with
8 display and keyboard devices. These are called "virtual" because you
9 can run several virtual terminals (also called virtual consoles) on
10 one physical terminal. This is rather useful, for example one
11 virtual terminal can collect system messages and warnings, another
12 one can be used for a text-mode user session, and a third could run
13 an X session, all in parallel. Switching between virtual terminals
14 is done with certain key combinations, usually Alt-<function key>.
15
16 The setterm command ("man setterm") can be used to change the
17 properties (such as colors or beeping) of a virtual terminal. The
18 man page console_codes(4) ("man console_codes") contains the special
19 character sequences that can be used to change those properties
20 directly. The fonts used on virtual terminals can be changed with
21 the setfont ("man setfont") command and the key bindings are defined
22 with the loadkeys ("man loadkeys") command.
23
24 You need at least one virtual terminal device in order to make use
25 of your keyboard and monitor. Therefore, only people configuring an
26 embedded system would want to say N here in order to save some
27 memory; the only way to log into such a system is then via a serial
28 or network connection.
29
30 If unsure, say Y, or else you won't be able to do much with your new
31 shiny Linux system :-)
32
33config CONSOLE_TRANSLATIONS
34 depends on VT
35 default y
36 bool "Enable character translations in console" if EXPERT
37 ---help---
38 This enables support for font mapping and Unicode translation
39 on virtual consoles.
40
41config VT_CONSOLE
42 bool "Support for console on virtual terminal" if EXPERT
43 depends on VT
44 default y
45 ---help---
46 The system console is the device which receives all kernel messages
47 and warnings and which allows logins in single user mode. If you
48 answer Y here, a virtual terminal (the device used to interact with
49 a physical terminal) can be used as system console. This is the most
50 common mode of operations, so you should say Y here unless you want
51 the kernel messages be output only to a serial port (in which case
52 you should say Y to "Console on serial port", below).
53
54 If you do say Y here, by default the currently visible virtual
55 terminal (/dev/tty0) will be used as system console. You can change
56 that with a kernel command line option such as "console=tty3" which
57 would use the third virtual terminal as system console. (Try "man
58 bootparam" or see the documentation of your boot loader (lilo or
59 loadlin) about how to pass options to the kernel at boot time.)
60
61 If unsure, say Y.
62
H Hartley Sweeten37cce262011-09-21 22:47:55 +020063config VT_CONSOLE_SLEEP
64 def_bool y
65 depends on VT_CONSOLE && PM_SLEEP
66
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -080067config HW_CONSOLE
68 bool
Paul Bolle24b59222011-10-12 14:40:02 +020069 depends on VT && !UML
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -080070 default y
71
72config VT_HW_CONSOLE_BINDING
73 bool "Support for binding and unbinding console drivers"
74 depends on HW_CONSOLE
75 default n
76 ---help---
77 The virtual terminal is the device that interacts with the physical
78 terminal through console drivers. On these systems, at least one
79 console driver is loaded. In other configurations, additional console
80 drivers may be enabled, such as the framebuffer console. If more than
81 1 console driver is enabled, setting this to 'y' will allow you to
82 select the console driver that will serve as the backend for the
83 virtual terminals.
84
85 See <file:Documentation/console/console.txt> for more
86 information. For framebuffer console users, please refer to
87 <file:Documentation/fb/fbcon.txt>.
88
89config UNIX98_PTYS
90 bool "Unix98 PTY support" if EXPERT
91 default y
92 ---help---
93 A pseudo terminal (PTY) is a software device consisting of two
94 halves: a master and a slave. The slave device behaves identical to
95 a physical terminal; the master device is used by a process to
96 read data from and write data to the slave, thereby emulating a
97 terminal. Typical programs for the master side are telnet servers
98 and xterms.
99
100 Linux has traditionally used the BSD-like names /dev/ptyxx for
101 masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
102 has a number of problems. The GNU C library glibc 2.1 and later,
103 however, supports the Unix98 naming standard: in order to acquire a
104 pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
105 terminal is then made available to the process and the pseudo
106 terminal slave can be accessed as /dev/pts/<number>. What was
107 traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
108
109 All modern Linux systems use the Unix98 ptys. Say Y unless
110 you're on an embedded system and want to conserve memory.
111
112config DEVPTS_MULTIPLE_INSTANCES
113 bool "Support multiple instances of devpts"
114 depends on UNIX98_PTYS
115 default n
116 ---help---
117 Enable support for multiple instances of devpts filesystem.
118 If you want to have isolated PTY namespaces (eg: in containers),
119 say Y here. Otherwise, say N. If enabled, each mount of devpts
120 filesystem with the '-o newinstance' option will create an
121 independent PTY namespace.
122
123config LEGACY_PTYS
124 bool "Legacy (BSD) PTY support"
125 default y
126 ---help---
127 A pseudo terminal (PTY) is a software device consisting of two
128 halves: a master and a slave. The slave device behaves identical to
129 a physical terminal; the master device is used by a process to
130 read data from and write data to the slave, thereby emulating a
131 terminal. Typical programs for the master side are telnet servers
132 and xterms.
133
134 Linux has traditionally used the BSD-like names /dev/ptyxx
135 for masters and /dev/ttyxx for slaves of pseudo
136 terminals. This scheme has a number of problems, including
137 security. This option enables these legacy devices; on most
138 systems, it is safe to say N.
139
140
141config LEGACY_PTY_COUNT
142 int "Maximum number of legacy PTY in use"
143 depends on LEGACY_PTYS
144 range 0 256
145 default "256"
146 ---help---
147 The maximum number of legacy PTYs that can be used at any one time.
148 The default is 256, and should be more than enough. Embedded
149 systems may want to reduce this to save memory.
150
151 When not in use, each legacy PTY occupies 12 bytes on 32-bit
152 architectures and 24 bytes on 64-bit architectures.
153
Greg Kroah-Hartmana6afd9f2011-02-22 16:14:56 -0800154config BFIN_JTAG_COMM
155 tristate "Blackfin JTAG Communication"
156 depends on BLACKFIN
157 help
158 Add support for emulating a TTY device over the Blackfin JTAG.
159
160 To compile this driver as a module, choose M here: the
161 module will be called bfin_jtag_comm.
162
163config BFIN_JTAG_COMM_CONSOLE
164 bool "Console on Blackfin JTAG"
165 depends on BFIN_JTAG_COMM=y
166
167config SERIAL_NONSTANDARD
168 bool "Non-standard serial port support"
169 depends on HAS_IOMEM
170 ---help---
171 Say Y here if you have any non-standard serial boards -- boards
172 which aren't supported using the standard "dumb" serial driver.
173 This includes intelligent serial boards such as Cyclades,
174 Digiboards, etc. These are usually used for systems that need many
175 serial ports because they serve many terminals or dial-in
176 connections.
177
178 Note that the answer to this question won't directly affect the
179 kernel: saying N will just cause the configurator to skip all
180 the questions about non-standard serial boards.
181
182 Most people can say N here.
183
184config ROCKETPORT
185 tristate "Comtrol RocketPort support"
186 depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI)
187 help
188 This driver supports Comtrol RocketPort and RocketModem PCI boards.
189 These boards provide 2, 4, 8, 16, or 32 high-speed serial ports or
190 modems. For information about the RocketPort/RocketModem boards
191 and this driver read <file:Documentation/serial/rocket.txt>.
192
193 To compile this driver as a module, choose M here: the
194 module will be called rocket.
195
196 If you want to compile this driver into the kernel, say Y here. If
197 you don't have a Comtrol RocketPort/RocketModem card installed, say N.
198
199config CYCLADES
200 tristate "Cyclades async mux support"
201 depends on SERIAL_NONSTANDARD && (PCI || ISA)
202 select FW_LOADER
203 ---help---
204 This driver supports Cyclades Z and Y multiserial boards.
205 You would need something like this to connect more than two modems to
206 your Linux box, for instance in order to become a dial-in server.
207
208 For information about the Cyclades-Z card, read
209 <file:Documentation/serial/README.cycladesZ>.
210
211 To compile this driver as a module, choose M here: the
212 module will be called cyclades.
213
214 If you haven't heard about it, it's safe to say N.
215
216config CYZ_INTR
217 bool "Cyclades-Z interrupt mode operation (EXPERIMENTAL)"
218 depends on EXPERIMENTAL && CYCLADES
219 help
220 The Cyclades-Z family of multiport cards allows 2 (two) driver op
221 modes: polling and interrupt. In polling mode, the driver will check
222 the status of the Cyclades-Z ports every certain amount of time
223 (which is called polling cycle and is configurable). In interrupt
224 mode, it will use an interrupt line (IRQ) in order to check the
225 status of the Cyclades-Z ports. The default op mode is polling. If
226 unsure, say N.
227
228config MOXA_INTELLIO
229 tristate "Moxa Intellio support"
230 depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI)
231 select FW_LOADER
232 help
233 Say Y here if you have a Moxa Intellio multiport serial card.
234
235 To compile this driver as a module, choose M here: the
236 module will be called moxa.
237
238config MOXA_SMARTIO
239 tristate "Moxa SmartIO support v. 2.0"
240 depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA)
241 help
242 Say Y here if you have a Moxa SmartIO multiport serial card and/or
243 want to help develop a new version of this driver.
244
245 This is upgraded (1.9.1) driver from original Moxa drivers with
246 changes finally resulting in PCI probing.
247
248 This driver can also be built as a module. The module will be called
249 mxser. If you want to do that, say M here.
250
251config SYNCLINK
252 tristate "Microgate SyncLink card support"
253 depends on SERIAL_NONSTANDARD && PCI && ISA_DMA_API
254 help
255 Provides support for the SyncLink ISA and PCI multiprotocol serial
256 adapters. These adapters support asynchronous and HDLC bit
257 synchronous communication up to 10Mbps (PCI adapter).
258
259 This driver can only be built as a module ( = code which can be
260 inserted in and removed from the running kernel whenever you want).
261 The module will be called synclink. If you want to do that, say M
262 here.
263
264config SYNCLINKMP
265 tristate "SyncLink Multiport support"
266 depends on SERIAL_NONSTANDARD && PCI
267 help
268 Enable support for the SyncLink Multiport (2 or 4 ports)
269 serial adapter, running asynchronous and HDLC communications up
270 to 2.048Mbps. Each ports is independently selectable for
271 RS-232, V.35, RS-449, RS-530, and X.21
272
273 This driver may be built as a module ( = code which can be
274 inserted in and removed from the running kernel whenever you want).
275 The module will be called synclinkmp. If you want to do that, say M
276 here.
277
278config SYNCLINK_GT
279 tristate "SyncLink GT/AC support"
280 depends on SERIAL_NONSTANDARD && PCI
281 help
282 Support for SyncLink GT and SyncLink AC families of
283 synchronous and asynchronous serial adapters
284 manufactured by Microgate Systems, Ltd. (www.microgate.com)
285
286config NOZOMI
287 tristate "HSDPA Broadband Wireless Data Card - Globe Trotter"
288 depends on PCI && EXPERIMENTAL
289 help
290 If you have a HSDPA driver Broadband Wireless Data Card -
291 Globe Trotter PCMCIA card, say Y here.
292
293 To compile this driver as a module, choose M here, the module
294 will be called nozomi.
295
296config ISI
297 tristate "Multi-Tech multiport card support (EXPERIMENTAL)"
298 depends on SERIAL_NONSTANDARD && PCI
299 select FW_LOADER
300 help
301 This is a driver for the Multi-Tech cards which provide several
302 serial ports. The driver is experimental and can currently only be
303 built as a module. The module will be called isicom.
304 If you want to do that, choose M here.
305
306config N_HDLC
307 tristate "HDLC line discipline support"
308 depends on SERIAL_NONSTANDARD
309 help
310 Allows synchronous HDLC communications with tty device drivers that
311 support synchronous HDLC such as the Microgate SyncLink adapter.
312
313 This driver can be built as a module ( = code which can be
314 inserted in and removed from the running kernel whenever you want).
315 The module will be called n_hdlc. If you want to do that, say M
316 here.
317
318config N_GSM
319 tristate "GSM MUX line discipline support (EXPERIMENTAL)"
320 depends on EXPERIMENTAL
321 depends on NET
322 help
323 This line discipline provides support for the GSM MUX protocol and
324 presents the mux as a set of 61 individual tty devices.
Greg Kroah-Hartmanbdcffc52011-02-22 15:41:47 -0800325
J Freyenseeee4f6b42011-05-06 16:56:50 -0700326config TRACE_ROUTER
327 tristate "Trace data router for MIPI P1149.7 cJTAG standard"
328 depends on TRACE_SINK
329 default n
330 help
331 The trace router uses the Linux tty line discipline framework to
332 route trace data coming from a tty port (say UART for example) to
333 the trace sink line discipline driver and to another tty port (say
334 USB). This is part of a solution for the MIPI P1149.7, compact JTAG,
335 standard, which is for debugging mobile devices. The PTI driver in
336 drivers/misc/pti.c defines the majority of this MIPI solution.
337
338 You should select this driver if the target kernel is meant for
339 a mobile device containing a modem. Then you will need to select
340 "Trace data sink for MIPI P1149.7 cJTAG standard" line discipline
341 driver.
342
343config TRACE_SINK
344 tristate "Trace data sink for MIPI P1149.7 cJTAG standard"
345 default n
346 help
347 The trace sink uses the Linux line discipline framework to receive
348 trace data coming from the trace router line discipline driver
349 to a user-defined tty port target, like USB.
350 This is to provide a way to extract modem trace data on
351 devices that do not have a PTI HW module, or just need modem
352 trace data to come out of a different HW output port.
353 This is part of a solution for the P1149.7, compact JTAG, standard.
354
355 If you select this option, you need to select
356 "Trace data router for MIPI P1149.7 cJTAG standard".
Timur Tabidcd83aa2011-07-08 19:06:12 -0500357
358config PPC_EPAPR_HV_BYTECHAN
359 tristate "ePAPR hypervisor byte channel driver"
360 depends on PPC
Stuart Yoder40656392012-07-03 05:48:54 +0000361 select EPAPR_PARAVIRT
Timur Tabidcd83aa2011-07-08 19:06:12 -0500362 help
363 This driver creates /dev entries for each ePAPR hypervisor byte
364 channel, thereby allowing applications to communicate with byte
365 channels as if they were serial ports.
366
367config PPC_EARLY_DEBUG_EHV_BC
368 bool "Early console (udbg) support for ePAPR hypervisors"
Stephen Rothwellf21c6d42012-02-20 07:22:38 +1100369 depends on PPC_EPAPR_HV_BYTECHAN=y
Timur Tabidcd83aa2011-07-08 19:06:12 -0500370 help
371 Select this option to enable early console (a.k.a. "udbg") support
372 via an ePAPR byte channel. You also need to choose the byte channel
373 handle below.
374
375config PPC_EARLY_DEBUG_EHV_BC_HANDLE
376 int "Byte channel handle for early console (udbg)"
377 depends on PPC_EARLY_DEBUG_EHV_BC
378 default 0
379 help
380 If you want early console (udbg) output through a byte channel,
381 specify the handle of the byte channel to use.
382
383 For this to work, the byte channel driver must be compiled
384 in-kernel, not as a module.
385
386 Note that only one early console driver can be enabled, so don't
387 enable any others if you enable this one.
388
389 If the number you specify is not a valid byte channel handle, then
390 there simply will be no early console output. This is true also
391 if you don't boot under a hypervisor at all.