.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0 |
---|
1 | 2 | config TTY |
---|
2 | 3 | bool "Enable TTY" if EXPERT |
---|
3 | 4 | default y |
---|
4 | | - ---help--- |
---|
| 5 | + help |
---|
5 | 6 | Allows you to remove TTY support which can save space, and |
---|
6 | 7 | blocks features that require TTY from inclusion in the kernel. |
---|
7 | 8 | TTY is required for any text terminals or serial port |
---|
.. | .. |
---|
14 | 15 | depends on !UML |
---|
15 | 16 | select INPUT |
---|
16 | 17 | default y |
---|
17 | | - ---help--- |
---|
| 18 | + help |
---|
18 | 19 | If you say Y here, you will get support for terminal devices with |
---|
19 | 20 | display and keyboard devices. These are called "virtual" because you |
---|
20 | 21 | can run several virtual terminals (also called virtual consoles) on |
---|
.. | .. |
---|
45 | 46 | depends on VT |
---|
46 | 47 | default y |
---|
47 | 48 | bool "Enable character translations in console" if EXPERT |
---|
48 | | - ---help--- |
---|
| 49 | + help |
---|
49 | 50 | This enables support for font mapping and Unicode translation |
---|
50 | 51 | on virtual consoles. |
---|
51 | 52 | |
---|
.. | .. |
---|
53 | 54 | bool "Support for console on virtual terminal" if EXPERT |
---|
54 | 55 | depends on VT |
---|
55 | 56 | default y |
---|
56 | | - ---help--- |
---|
| 57 | + help |
---|
57 | 58 | The system console is the device which receives all kernel messages |
---|
58 | 59 | and warnings and which allows logins in single user mode. If you |
---|
59 | 60 | answer Y here, a virtual terminal (the device used to interact with |
---|
.. | .. |
---|
81 | 82 | default y |
---|
82 | 83 | |
---|
83 | 84 | config VT_HW_CONSOLE_BINDING |
---|
84 | | - bool "Support for binding and unbinding console drivers" |
---|
85 | | - depends on HW_CONSOLE |
---|
86 | | - default n |
---|
87 | | - ---help--- |
---|
88 | | - The virtual terminal is the device that interacts with the physical |
---|
89 | | - terminal through console drivers. On these systems, at least one |
---|
90 | | - console driver is loaded. In other configurations, additional console |
---|
91 | | - drivers may be enabled, such as the framebuffer console. If more than |
---|
92 | | - 1 console driver is enabled, setting this to 'y' will allow you to |
---|
93 | | - select the console driver that will serve as the backend for the |
---|
94 | | - virtual terminals. |
---|
| 85 | + bool "Support for binding and unbinding console drivers" |
---|
| 86 | + depends on HW_CONSOLE |
---|
| 87 | + help |
---|
| 88 | + The virtual terminal is the device that interacts with the physical |
---|
| 89 | + terminal through console drivers. On these systems, at least one |
---|
| 90 | + console driver is loaded. In other configurations, additional console |
---|
| 91 | + drivers may be enabled, such as the framebuffer console. If more than |
---|
| 92 | + 1 console driver is enabled, setting this to 'y' will allow you to |
---|
| 93 | + select the console driver that will serve as the backend for the |
---|
| 94 | + virtual terminals. |
---|
95 | 95 | |
---|
96 | | - See <file:Documentation/console/console.txt> for more |
---|
97 | | - information. For framebuffer console users, please refer to |
---|
98 | | - <file:Documentation/fb/fbcon.txt>. |
---|
| 96 | + See <file:Documentation/driver-api/console.rst> for more |
---|
| 97 | + information. For framebuffer console users, please refer to |
---|
| 98 | + <file:Documentation/fb/fbcon.rst>. |
---|
99 | 99 | |
---|
100 | 100 | config UNIX98_PTYS |
---|
101 | 101 | bool "Unix98 PTY support" if EXPERT |
---|
102 | 102 | default y |
---|
103 | | - ---help--- |
---|
| 103 | + help |
---|
104 | 104 | A pseudo terminal (PTY) is a software device consisting of two |
---|
105 | 105 | halves: a master and a slave. The slave device behaves identical to |
---|
106 | 106 | a physical terminal; the master device is used by a process to |
---|
.. | .. |
---|
123 | 123 | config LEGACY_PTYS |
---|
124 | 124 | bool "Legacy (BSD) PTY support" |
---|
125 | 125 | default y |
---|
126 | | - ---help--- |
---|
| 126 | + help |
---|
127 | 127 | A pseudo terminal (PTY) is a software device consisting of two |
---|
128 | 128 | halves: a master and a slave. The slave device behaves identical to |
---|
129 | 129 | a physical terminal; the master device is used by a process to |
---|
.. | .. |
---|
137 | 137 | security. This option enables these legacy devices; on most |
---|
138 | 138 | systems, it is safe to say N. |
---|
139 | 139 | |
---|
140 | | - |
---|
141 | 140 | config LEGACY_PTY_COUNT |
---|
142 | 141 | int "Maximum number of legacy PTY in use" |
---|
143 | 142 | depends on LEGACY_PTYS |
---|
144 | 143 | range 0 256 |
---|
145 | 144 | default "256" |
---|
146 | | - ---help--- |
---|
| 145 | + help |
---|
147 | 146 | The maximum number of legacy PTYs that can be used at any one time. |
---|
148 | 147 | The default is 256, and should be more than enough. Embedded |
---|
149 | 148 | systems may want to reduce this to save memory. |
---|
.. | .. |
---|
151 | 150 | When not in use, each legacy PTY occupies 12 bytes on 32-bit |
---|
152 | 151 | architectures and 24 bytes on 64-bit architectures. |
---|
153 | 152 | |
---|
| 153 | +config LDISC_AUTOLOAD |
---|
| 154 | + bool "Automatically load TTY Line Disciplines" |
---|
| 155 | + default y |
---|
| 156 | + help |
---|
| 157 | + Historically the kernel has always automatically loaded any |
---|
| 158 | + line discipline that is in a kernel module when a user asks |
---|
| 159 | + for it to be loaded with the TIOCSETD ioctl, or through other |
---|
| 160 | + means. This is not always the best thing to do on systems |
---|
| 161 | + where you know you will not be using some of the more |
---|
| 162 | + "ancient" line disciplines, so prevent the kernel from doing |
---|
| 163 | + this unless the request is coming from a process with the |
---|
| 164 | + CAP_SYS_MODULE permissions. |
---|
| 165 | + |
---|
| 166 | + Say 'Y' here if you trust your userspace users to do the right |
---|
| 167 | + thing, or if you have only provided the line disciplines that |
---|
| 168 | + you know you will be using, or if you wish to continue to use |
---|
| 169 | + the traditional method of on-demand loading of these modules |
---|
| 170 | + by any user. |
---|
| 171 | + |
---|
| 172 | + This functionality can be changed at runtime with the |
---|
| 173 | + dev.tty.ldisc_autoload sysctl, this configuration option will |
---|
| 174 | + only set the default value of this functionality. |
---|
| 175 | + |
---|
| 176 | +source "drivers/tty/serial/Kconfig" |
---|
| 177 | + |
---|
154 | 178 | config SERIAL_NONSTANDARD |
---|
155 | 179 | bool "Non-standard serial port support" |
---|
156 | 180 | depends on HAS_IOMEM |
---|
157 | | - ---help--- |
---|
| 181 | + help |
---|
158 | 182 | Say Y here if you have any non-standard serial boards -- boards |
---|
159 | 183 | which aren't supported using the standard "dumb" serial driver. |
---|
160 | 184 | This includes intelligent serial boards such as Cyclades, |
---|
.. | .. |
---|
173 | 197 | depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI) |
---|
174 | 198 | help |
---|
175 | 199 | This driver supports Comtrol RocketPort and RocketModem PCI boards. |
---|
176 | | - These boards provide 2, 4, 8, 16, or 32 high-speed serial ports or |
---|
177 | | - modems. For information about the RocketPort/RocketModem boards |
---|
178 | | - and this driver read <file:Documentation/serial/rocket.txt>. |
---|
| 200 | + These boards provide 2, 4, 8, 16, or 32 high-speed serial ports or |
---|
| 201 | + modems. For information about the RocketPort/RocketModem boards |
---|
| 202 | + and this driver read <file:Documentation/driver-api/serial/rocket.rst>. |
---|
179 | 203 | |
---|
180 | 204 | To compile this driver as a module, choose M here: the |
---|
181 | 205 | module will be called rocket. |
---|
182 | 206 | |
---|
183 | 207 | If you want to compile this driver into the kernel, say Y here. If |
---|
184 | | - you don't have a Comtrol RocketPort/RocketModem card installed, say N. |
---|
| 208 | + you don't have a Comtrol RocketPort/RocketModem card installed, say N. |
---|
185 | 209 | |
---|
186 | 210 | config CYCLADES |
---|
187 | 211 | tristate "Cyclades async mux support" |
---|
188 | 212 | depends on SERIAL_NONSTANDARD && (PCI || ISA) |
---|
189 | 213 | select FW_LOADER |
---|
190 | | - ---help--- |
---|
| 214 | + help |
---|
191 | 215 | This driver supports Cyclades Z and Y multiserial boards. |
---|
192 | 216 | You would need something like this to connect more than two modems to |
---|
193 | 217 | your Linux box, for instance in order to become a dial-in server. |
---|
194 | 218 | |
---|
195 | 219 | For information about the Cyclades-Z card, read |
---|
196 | | - <file:Documentation/serial/README.cycladesZ>. |
---|
| 220 | + <file:Documentation/driver-api/serial/cyclades_z.rst>. |
---|
197 | 221 | |
---|
198 | 222 | To compile this driver as a module, choose M here: the |
---|
199 | 223 | module will be called cyclades. |
---|
.. | .. |
---|
270 | 294 | synchronous and asynchronous serial adapters |
---|
271 | 295 | manufactured by Microgate Systems, Ltd. (www.microgate.com) |
---|
272 | 296 | |
---|
273 | | -config NOZOMI |
---|
274 | | - tristate "HSDPA Broadband Wireless Data Card - Globe Trotter" |
---|
275 | | - depends on PCI |
---|
276 | | - help |
---|
277 | | - If you have a HSDPA driver Broadband Wireless Data Card - |
---|
278 | | - Globe Trotter PCMCIA card, say Y here. |
---|
279 | | - |
---|
280 | | - To compile this driver as a module, choose M here, the module |
---|
281 | | - will be called nozomi. |
---|
282 | | - |
---|
283 | 297 | config ISI |
---|
284 | 298 | tristate "Multi-Tech multiport card support" |
---|
285 | 299 | depends on SERIAL_NONSTANDARD && PCI |
---|
.. | .. |
---|
301 | 315 | inserted in and removed from the running kernel whenever you want). |
---|
302 | 316 | The module will be called n_hdlc. If you want to do that, say M |
---|
303 | 317 | here. |
---|
304 | | - |
---|
305 | | -config N_GSM |
---|
306 | | - tristate "GSM MUX line discipline support (EXPERIMENTAL)" |
---|
307 | | - depends on NET |
---|
308 | | - help |
---|
309 | | - This line discipline provides support for the GSM MUX protocol and |
---|
310 | | - presents the mux as a set of 61 individual tty devices. |
---|
311 | | - |
---|
312 | | -config TRACE_ROUTER |
---|
313 | | - tristate "Trace data router for MIPI P1149.7 cJTAG standard" |
---|
314 | | - depends on TRACE_SINK |
---|
315 | | - default n |
---|
316 | | - help |
---|
317 | | - The trace router uses the Linux tty line discipline framework to |
---|
318 | | - route trace data coming from a tty port (say UART for example) to |
---|
319 | | - the trace sink line discipline driver and to another tty port (say |
---|
320 | | - USB). This is part of a solution for the MIPI P1149.7, compact JTAG, |
---|
321 | | - standard, which is for debugging mobile devices. The PTI driver in |
---|
322 | | - drivers/misc/pti.c defines the majority of this MIPI solution. |
---|
323 | | - |
---|
324 | | - You should select this driver if the target kernel is meant for |
---|
325 | | - a mobile device containing a modem. Then you will need to select |
---|
326 | | - "Trace data sink for MIPI P1149.7 cJTAG standard" line discipline |
---|
327 | | - driver. |
---|
328 | | - |
---|
329 | | -config TRACE_SINK |
---|
330 | | - tristate "Trace data sink for MIPI P1149.7 cJTAG standard" |
---|
331 | | - default n |
---|
332 | | - help |
---|
333 | | - The trace sink uses the Linux line discipline framework to receive |
---|
334 | | - trace data coming from the trace router line discipline driver |
---|
335 | | - to a user-defined tty port target, like USB. |
---|
336 | | - This is to provide a way to extract modem trace data on |
---|
337 | | - devices that do not have a PTI HW module, or just need modem |
---|
338 | | - trace data to come out of a different HW output port. |
---|
339 | | - This is part of a solution for the P1149.7, compact JTAG, standard. |
---|
340 | | - |
---|
341 | | - If you select this option, you need to select |
---|
342 | | - "Trace data router for MIPI P1149.7 cJTAG standard". |
---|
343 | 318 | |
---|
344 | 319 | config PPC_EPAPR_HV_BYTECHAN |
---|
345 | 320 | bool "ePAPR hypervisor byte channel driver" |
---|
.. | .. |
---|
389 | 364 | default y if GOLDFISH_TTY=y |
---|
390 | 365 | select SERIAL_EARLYCON |
---|
391 | 366 | |
---|
| 367 | +config N_GSM |
---|
| 368 | + tristate "GSM MUX line discipline support (EXPERIMENTAL)" |
---|
| 369 | + depends on NET |
---|
| 370 | + help |
---|
| 371 | + This line discipline provides support for the GSM MUX protocol and |
---|
| 372 | + presents the mux as a set of 61 individual tty devices. |
---|
| 373 | + |
---|
| 374 | +config NOZOMI |
---|
| 375 | + tristate "HSDPA Broadband Wireless Data Card - Globe Trotter" |
---|
| 376 | + depends on PCI |
---|
| 377 | + help |
---|
| 378 | + If you have a HSDPA driver Broadband Wireless Data Card - |
---|
| 379 | + Globe Trotter PCMCIA card, say Y here. |
---|
| 380 | + |
---|
| 381 | + To compile this driver as a module, choose M here, the module |
---|
| 382 | + will be called nozomi. |
---|
| 383 | + |
---|
392 | 384 | config MIPS_EJTAG_FDC_TTY |
---|
393 | 385 | bool "MIPS EJTAG Fast Debug Channel TTY" |
---|
394 | 386 | depends on MIPS_CDMM |
---|
.. | .. |
---|
425 | 417 | depends on MIPS_EJTAG_FDC_TTY && KGDB |
---|
426 | 418 | default y |
---|
427 | 419 | help |
---|
428 | | - This enables the use of KGDB over an FDC channel, allowing KGDB to be |
---|
429 | | - used remotely or when a serial port isn't available. |
---|
| 420 | + This enables the use of KGDB over an FDC channel, allowing KGDB to be |
---|
| 421 | + used remotely or when a serial port isn't available. |
---|
430 | 422 | |
---|
431 | 423 | config MIPS_EJTAG_FDC_KGDB_CHAN |
---|
432 | 424 | int "KGDB FDC channel" |
---|
.. | .. |
---|
436 | 428 | help |
---|
437 | 429 | FDC channel number to use for KGDB. |
---|
438 | 430 | |
---|
| 431 | +config NULL_TTY |
---|
| 432 | + tristate "NULL TTY driver" |
---|
| 433 | + help |
---|
| 434 | + Say Y here if you want a NULL TTY which simply discards messages. |
---|
| 435 | + |
---|
| 436 | + This is useful to allow userspace applications which expect a console |
---|
| 437 | + device to work without modifications even when no console is |
---|
| 438 | + available or desired. |
---|
| 439 | + |
---|
| 440 | + In order to use this driver, you should redirect the console to this |
---|
| 441 | + TTY, or boot the kernel with console=ttynull. |
---|
| 442 | + |
---|
| 443 | + If unsure, say N. |
---|
| 444 | + |
---|
| 445 | +config TRACE_ROUTER |
---|
| 446 | + tristate "Trace data router for MIPI P1149.7 cJTAG standard" |
---|
| 447 | + depends on TRACE_SINK |
---|
| 448 | + help |
---|
| 449 | + The trace router uses the Linux tty line discipline framework to |
---|
| 450 | + route trace data coming from a tty port (say UART for example) to |
---|
| 451 | + the trace sink line discipline driver and to another tty port (say |
---|
| 452 | + USB). This is part of a solution for the MIPI P1149.7, compact JTAG, |
---|
| 453 | + standard, which is for debugging mobile devices. The PTI driver in |
---|
| 454 | + drivers/misc/pti.c defines the majority of this MIPI solution. |
---|
| 455 | + |
---|
| 456 | + You should select this driver if the target kernel is meant for |
---|
| 457 | + a mobile device containing a modem. Then you will need to select |
---|
| 458 | + "Trace data sink for MIPI P1149.7 cJTAG standard" line discipline |
---|
| 459 | + driver. |
---|
| 460 | + |
---|
| 461 | +config TRACE_SINK |
---|
| 462 | + tristate "Trace data sink for MIPI P1149.7 cJTAG standard" |
---|
| 463 | + help |
---|
| 464 | + The trace sink uses the Linux line discipline framework to receive |
---|
| 465 | + trace data coming from the trace router line discipline driver |
---|
| 466 | + to a user-defined tty port target, like USB. |
---|
| 467 | + This is to provide a way to extract modem trace data on |
---|
| 468 | + devices that do not have a PTI HW module, or just need modem |
---|
| 469 | + trace data to come out of a different HW output port. |
---|
| 470 | + This is part of a solution for the P1149.7, compact JTAG, standard. |
---|
| 471 | + |
---|
| 472 | + If you select this option, you need to select |
---|
| 473 | + "Trace data router for MIPI P1149.7 cJTAG standard". |
---|
| 474 | + |
---|
439 | 475 | config VCC |
---|
440 | 476 | tristate "Sun Virtual Console Concentrator" |
---|
441 | 477 | depends on SUN_LDOMS |
---|
442 | 478 | help |
---|
443 | 479 | Support for Sun logical domain consoles. |
---|
444 | 480 | |
---|
445 | | -config LDISC_AUTOLOAD |
---|
446 | | - bool "Automatically load TTY Line Disciplines" |
---|
447 | | - default y |
---|
448 | | - help |
---|
449 | | - Historically the kernel has always automatically loaded any |
---|
450 | | - line discipline that is in a kernel module when a user asks |
---|
451 | | - for it to be loaded with the TIOCSETD ioctl, or through other |
---|
452 | | - means. This is not always the best thing to do on systems |
---|
453 | | - where you know you will not be using some of the more |
---|
454 | | - "ancient" line disciplines, so prevent the kernel from doing |
---|
455 | | - this unless the request is coming from a process with the |
---|
456 | | - CAP_SYS_MODULE permissions. |
---|
457 | | - |
---|
458 | | - Say 'Y' here if you trust your userspace users to do the right |
---|
459 | | - thing, or if you have only provided the line disciplines that |
---|
460 | | - you know you will be using, or if you wish to continue to use |
---|
461 | | - the traditional method of on-demand loading of these modules |
---|
462 | | - by any user. |
---|
463 | | - |
---|
464 | | - This functionality can be changed at runtime with the |
---|
465 | | - dev.tty.ldisc_autoload sysctl, this configuration option will |
---|
466 | | - only set the default value of this functionality. |
---|
| 481 | +source "drivers/tty/hvc/Kconfig" |
---|
467 | 482 | |
---|
468 | 483 | config RPMSG_TTY |
---|
469 | 484 | tristate "RPMSG tty driver" |
---|
.. | .. |
---|
478 | 493 | called rpmsg_tty. |
---|
479 | 494 | |
---|
480 | 495 | endif # TTY |
---|
| 496 | + |
---|
| 497 | +source "drivers/tty/serdev/Kconfig" |
---|