xref: /linux/drivers/tty/Kconfig (revision 4f9786035f9e519db41375818e1d0b5f20da2f10)
138c91d1dSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
24f73bc4dSJoe Millenbachconfig TTY
34f73bc4dSJoe Millenbach	bool "Enable TTY" if EXPERT
44f73bc4dSJoe Millenbach	default y
5a7f7f624SMasahiro Yamada	help
64f73bc4dSJoe Millenbach	  Allows you to remove TTY support which can save space, and
74f73bc4dSJoe Millenbach	  blocks features that require TTY from inclusion in the kernel.
84f73bc4dSJoe Millenbach	  TTY is required for any text terminals or serial port
94f73bc4dSJoe Millenbach	  communication. Most users should leave this enabled.
104f73bc4dSJoe Millenbach
114f73bc4dSJoe Millenbachif TTY
124f73bc4dSJoe Millenbach
13bdcffc5aSGreg Kroah-Hartmanconfig VT
14bdcffc5aSGreg Kroah-Hartman	bool "Virtual terminal" if EXPERT
15bdcffc5aSGreg Kroah-Hartman	select INPUT
160bbadafdSJohannes Berg	default y if !UML
17a7f7f624SMasahiro Yamada	help
18bdcffc5aSGreg Kroah-Hartman	  If you say Y here, you will get support for terminal devices with
19bdcffc5aSGreg Kroah-Hartman	  display and keyboard devices. These are called "virtual" because you
20bdcffc5aSGreg Kroah-Hartman	  can run several virtual terminals (also called virtual consoles) on
21bdcffc5aSGreg Kroah-Hartman	  one physical terminal. This is rather useful, for example one
22bdcffc5aSGreg Kroah-Hartman	  virtual terminal can collect system messages and warnings, another
23bdcffc5aSGreg Kroah-Hartman	  one can be used for a text-mode user session, and a third could run
24bdcffc5aSGreg Kroah-Hartman	  an X session, all in parallel. Switching between virtual terminals
25bdcffc5aSGreg Kroah-Hartman	  is done with certain key combinations, usually Alt-<function key>.
26bdcffc5aSGreg Kroah-Hartman
27bdcffc5aSGreg Kroah-Hartman	  The setterm command ("man setterm") can be used to change the
28bdcffc5aSGreg Kroah-Hartman	  properties (such as colors or beeping) of a virtual terminal. The
29bdcffc5aSGreg Kroah-Hartman	  man page console_codes(4) ("man console_codes") contains the special
30bdcffc5aSGreg Kroah-Hartman	  character sequences that can be used to change those properties
31bdcffc5aSGreg Kroah-Hartman	  directly. The fonts used on virtual terminals can be changed with
32bdcffc5aSGreg Kroah-Hartman	  the setfont ("man setfont") command and the key bindings are defined
33bdcffc5aSGreg Kroah-Hartman	  with the loadkeys ("man loadkeys") command.
34bdcffc5aSGreg Kroah-Hartman
35bdcffc5aSGreg Kroah-Hartman	  You need at least one virtual terminal device in order to make use
36bdcffc5aSGreg Kroah-Hartman	  of your keyboard and monitor. Therefore, only people configuring an
37bdcffc5aSGreg Kroah-Hartman	  embedded system would want to say N here in order to save some
38bdcffc5aSGreg Kroah-Hartman	  memory; the only way to log into such a system is then via a serial
39bdcffc5aSGreg Kroah-Hartman	  or network connection.
40bdcffc5aSGreg Kroah-Hartman
41bdcffc5aSGreg Kroah-Hartman	  If unsure, say Y, or else you won't be able to do much with your new
42bdcffc5aSGreg Kroah-Hartman	  shiny Linux system :-)
43bdcffc5aSGreg Kroah-Hartman
44bdcffc5aSGreg Kroah-Hartmanconfig CONSOLE_TRANSLATIONS
45bdcffc5aSGreg Kroah-Hartman	depends on VT
46bdcffc5aSGreg Kroah-Hartman	default y
47bdcffc5aSGreg Kroah-Hartman	bool "Enable character translations in console" if EXPERT
48a7f7f624SMasahiro Yamada	help
49bdcffc5aSGreg Kroah-Hartman	  This enables support for font mapping and Unicode translation
50bdcffc5aSGreg Kroah-Hartman	  on virtual consoles.
51bdcffc5aSGreg Kroah-Hartman
52bdcffc5aSGreg Kroah-Hartmanconfig VT_CONSOLE
53bdcffc5aSGreg Kroah-Hartman	bool "Support for console on virtual terminal" if EXPERT
54bdcffc5aSGreg Kroah-Hartman	depends on VT
55bdcffc5aSGreg Kroah-Hartman	default y
56a7f7f624SMasahiro Yamada	help
57bdcffc5aSGreg Kroah-Hartman	  The system console is the device which receives all kernel messages
58bdcffc5aSGreg Kroah-Hartman	  and warnings and which allows logins in single user mode. If you
59bdcffc5aSGreg Kroah-Hartman	  answer Y here, a virtual terminal (the device used to interact with
60bdcffc5aSGreg Kroah-Hartman	  a physical terminal) can be used as system console. This is the most
61bdcffc5aSGreg Kroah-Hartman	  common mode of operations, so you should say Y here unless you want
62bdcffc5aSGreg Kroah-Hartman	  the kernel messages be output only to a serial port (in which case
63bdcffc5aSGreg Kroah-Hartman	  you should say Y to "Console on serial port", below).
64bdcffc5aSGreg Kroah-Hartman
65bdcffc5aSGreg Kroah-Hartman	  If you do say Y here, by default the currently visible virtual
66bdcffc5aSGreg Kroah-Hartman	  terminal (/dev/tty0) will be used as system console. You can change
67bdcffc5aSGreg Kroah-Hartman	  that with a kernel command line option such as "console=tty3" which
68bdcffc5aSGreg Kroah-Hartman	  would use the third virtual terminal as system console. (Try "man
69bdcffc5aSGreg Kroah-Hartman	  bootparam" or see the documentation of your boot loader (lilo or
70bdcffc5aSGreg Kroah-Hartman	  loadlin) about how to pass options to the kernel at boot time.)
71bdcffc5aSGreg Kroah-Hartman
72bdcffc5aSGreg Kroah-Hartman	  If unsure, say Y.
73bdcffc5aSGreg Kroah-Hartman
7437cce26bSH Hartley Sweetenconfig VT_CONSOLE_SLEEP
7537cce26bSH Hartley Sweeten	def_bool y
7637cce26bSH Hartley Sweeten	depends on VT_CONSOLE && PM_SLEEP
7737cce26bSH Hartley Sweeten
78bdcffc5aSGreg Kroah-Hartmanconfig VT_HW_CONSOLE_BINDING
79bdcffc5aSGreg Kroah-Hartman	bool "Support for binding and unbinding console drivers"
805c49b6a4SLukas Bulwahn	depends on VT
81a7f7f624SMasahiro Yamada	help
82bdcffc5aSGreg Kroah-Hartman	  The virtual terminal is the device that interacts with the physical
83bdcffc5aSGreg Kroah-Hartman	  terminal through console drivers. On these systems, at least one
84bdcffc5aSGreg Kroah-Hartman	  console driver is loaded. In other configurations, additional console
85bdcffc5aSGreg Kroah-Hartman	  drivers may be enabled, such as the framebuffer console. If more than
86bdcffc5aSGreg Kroah-Hartman	  1 console driver is enabled, setting this to 'y' will allow you to
87bdcffc5aSGreg Kroah-Hartman	  select the console driver that will serve as the backend for the
88bdcffc5aSGreg Kroah-Hartman	  virtual terminals.
89bdcffc5aSGreg Kroah-Hartman
90baa293e9SMauro Carvalho Chehab	  See <file:Documentation/driver-api/console.rst> for more
91bdcffc5aSGreg Kroah-Hartman	  information. For framebuffer console users, please refer to
92ab42b818SMauro Carvalho Chehab	  <file:Documentation/fb/fbcon.rst>.
93bdcffc5aSGreg Kroah-Hartman
94bdcffc5aSGreg Kroah-Hartmanconfig UNIX98_PTYS
95bdcffc5aSGreg Kroah-Hartman	bool "Unix98 PTY support" if EXPERT
96bdcffc5aSGreg Kroah-Hartman	default y
97a7f7f624SMasahiro Yamada	help
98bdcffc5aSGreg Kroah-Hartman	  A pseudo terminal (PTY) is a software device consisting of two
99bdcffc5aSGreg Kroah-Hartman	  halves: a master and a slave. The slave device behaves identical to
100bdcffc5aSGreg Kroah-Hartman	  a physical terminal; the master device is used by a process to
101bdcffc5aSGreg Kroah-Hartman	  read data from and write data to the slave, thereby emulating a
102bdcffc5aSGreg Kroah-Hartman	  terminal. Typical programs for the master side are telnet servers
103bdcffc5aSGreg Kroah-Hartman	  and xterms.
104bdcffc5aSGreg Kroah-Hartman
105bdcffc5aSGreg Kroah-Hartman	  Linux has traditionally used the BSD-like names /dev/ptyxx for
106bdcffc5aSGreg Kroah-Hartman	  masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
107bdcffc5aSGreg Kroah-Hartman	  has a number of problems. The GNU C library glibc 2.1 and later,
108bdcffc5aSGreg Kroah-Hartman	  however, supports the Unix98 naming standard: in order to acquire a
109bdcffc5aSGreg Kroah-Hartman	  pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
110bdcffc5aSGreg Kroah-Hartman	  terminal is then made available to the process and the pseudo
111bdcffc5aSGreg Kroah-Hartman	  terminal slave can be accessed as /dev/pts/<number>. What was
112bdcffc5aSGreg Kroah-Hartman	  traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
113bdcffc5aSGreg Kroah-Hartman
114bdcffc5aSGreg Kroah-Hartman	  All modern Linux systems use the Unix98 ptys.  Say Y unless
115bdcffc5aSGreg Kroah-Hartman	  you're on an embedded system and want to conserve memory.
116bdcffc5aSGreg Kroah-Hartman
117bdcffc5aSGreg Kroah-Hartmanconfig LEGACY_PTYS
118bdcffc5aSGreg Kroah-Hartman	bool "Legacy (BSD) PTY support"
119bdcffc5aSGreg Kroah-Hartman	default y
120a7f7f624SMasahiro Yamada	help
121bdcffc5aSGreg Kroah-Hartman	  A pseudo terminal (PTY) is a software device consisting of two
122bdcffc5aSGreg Kroah-Hartman	  halves: a master and a slave. The slave device behaves identical to
123bdcffc5aSGreg Kroah-Hartman	  a physical terminal; the master device is used by a process to
124bdcffc5aSGreg Kroah-Hartman	  read data from and write data to the slave, thereby emulating a
125bdcffc5aSGreg Kroah-Hartman	  terminal. Typical programs for the master side are telnet servers
126bdcffc5aSGreg Kroah-Hartman	  and xterms.
127bdcffc5aSGreg Kroah-Hartman
128bdcffc5aSGreg Kroah-Hartman	  Linux has traditionally used the BSD-like names /dev/ptyxx
129bdcffc5aSGreg Kroah-Hartman	  for masters and /dev/ttyxx for slaves of pseudo
130bdcffc5aSGreg Kroah-Hartman	  terminals. This scheme has a number of problems, including
131bdcffc5aSGreg Kroah-Hartman	  security.  This option enables these legacy devices; on most
132bdcffc5aSGreg Kroah-Hartman	  systems, it is safe to say N.
133bdcffc5aSGreg Kroah-Hartman
134bdcffc5aSGreg Kroah-Hartmanconfig LEGACY_PTY_COUNT
135bdcffc5aSGreg Kroah-Hartman	int "Maximum number of legacy PTY in use"
136bdcffc5aSGreg Kroah-Hartman	depends on LEGACY_PTYS
137bdcffc5aSGreg Kroah-Hartman	range 0 256
138bdcffc5aSGreg Kroah-Hartman	default "256"
139a7f7f624SMasahiro Yamada	help
140bdcffc5aSGreg Kroah-Hartman	  The maximum number of legacy PTYs that can be used at any one time.
141bdcffc5aSGreg Kroah-Hartman	  The default is 256, and should be more than enough.  Embedded
142bdcffc5aSGreg Kroah-Hartman	  systems may want to reduce this to save memory.
143bdcffc5aSGreg Kroah-Hartman
144bdcffc5aSGreg Kroah-Hartman	  When not in use, each legacy PTY occupies 12 bytes on 32-bit
145bdcffc5aSGreg Kroah-Hartman	  architectures and 24 bytes on 64-bit architectures.
146bdcffc5aSGreg Kroah-Hartman
14783efeeebSKees Cookconfig LEGACY_TIOCSTI
14883efeeebSKees Cook	bool "Allow legacy TIOCSTI usage"
14983efeeebSKees Cook	default y
15083efeeebSKees Cook	help
15183efeeebSKees Cook	  Historically the kernel has allowed TIOCSTI, which will push
15283efeeebSKees Cook	  characters into a controlling TTY. This continues to be used
15383efeeebSKees Cook	  as a malicious privilege escalation mechanism, and provides no
15483efeeebSKees Cook	  meaningful real-world utility any more. Its use is considered
15583efeeebSKees Cook	  a dangerous legacy operation, and can be disabled on most
15683efeeebSKees Cook	  systems.
15783efeeebSKees Cook
158b2ea273aSHanno Böck	  Say Y here only if you have confirmed that your system's
15983efeeebSKees Cook	  userspace depends on this functionality to continue operating
16083efeeebSKees Cook	  normally.
16183efeeebSKees Cook
1623f29d9eeSGünther Noack	  Processes which run with CAP_SYS_ADMIN, such as BRLTTY, can
1633f29d9eeSGünther Noack	  use TIOCSTI even when this is set to N.
1643f29d9eeSGünther Noack
16583efeeebSKees Cook	  This functionality can be changed at runtime with the
16683efeeebSKees Cook	  dev.tty.legacy_tiocsti sysctl. This configuration option sets
16783efeeebSKees Cook	  the default value of the sysctl.
16883efeeebSKees Cook
1692cca608aSRandy Dunlapconfig LDISC_AUTOLOAD
1702cca608aSRandy Dunlap	bool "Automatically load TTY Line Disciplines"
1712cca608aSRandy Dunlap	default y
1722cca608aSRandy Dunlap	help
1732cca608aSRandy Dunlap	  Historically the kernel has always automatically loaded any
1742cca608aSRandy Dunlap	  line discipline that is in a kernel module when a user asks
1752cca608aSRandy Dunlap	  for it to be loaded with the TIOCSETD ioctl, or through other
1762cca608aSRandy Dunlap	  means.  This is not always the best thing to do on systems
1772cca608aSRandy Dunlap	  where you know you will not be using some of the more
1782cca608aSRandy Dunlap	  "ancient" line disciplines, so prevent the kernel from doing
1792cca608aSRandy Dunlap	  this unless the request is coming from a process with the
1802cca608aSRandy Dunlap	  CAP_SYS_MODULE permissions.
1812cca608aSRandy Dunlap
1822cca608aSRandy Dunlap	  Say 'Y' here if you trust your userspace users to do the right
1832cca608aSRandy Dunlap	  thing, or if you have only provided the line disciplines that
1842cca608aSRandy Dunlap	  you know you will be using, or if you wish to continue to use
1852cca608aSRandy Dunlap	  the traditional method of on-demand loading of these modules
1862cca608aSRandy Dunlap	  by any user.
1872cca608aSRandy Dunlap
1882cca608aSRandy Dunlap	  This functionality can be changed at runtime with the
1892cca608aSRandy Dunlap	  dev.tty.ldisc_autoload sysctl, this configuration option will
1902cca608aSRandy Dunlap	  only set the default value of this functionality.
1912cca608aSRandy Dunlap
1922cca608aSRandy Dunlapsource "drivers/tty/serial/Kconfig"
1932cca608aSRandy Dunlap
194a6afd9f3SGreg Kroah-Hartmanconfig SERIAL_NONSTANDARD
195a6afd9f3SGreg Kroah-Hartman	bool "Non-standard serial port support"
196a6afd9f3SGreg Kroah-Hartman	depends on HAS_IOMEM
197a7f7f624SMasahiro Yamada	help
198a6afd9f3SGreg Kroah-Hartman	  Say Y here if you have any non-standard serial boards -- boards
199a6afd9f3SGreg Kroah-Hartman	  which aren't supported using the standard "dumb" serial driver.
200f76edd8fSJiri Slaby	  This includes intelligent serial boards such as
201a6afd9f3SGreg Kroah-Hartman	  Digiboards, etc. These are usually used for systems that need many
202a6afd9f3SGreg Kroah-Hartman	  serial ports because they serve many terminals or dial-in
203a6afd9f3SGreg Kroah-Hartman	  connections.
204a6afd9f3SGreg Kroah-Hartman
205a6afd9f3SGreg Kroah-Hartman	  Note that the answer to this question won't directly affect the
206a6afd9f3SGreg Kroah-Hartman	  kernel: saying N will just cause the configurator to skip all
207a6afd9f3SGreg Kroah-Hartman	  the questions about non-standard serial boards.
208a6afd9f3SGreg Kroah-Hartman
209a6afd9f3SGreg Kroah-Hartman	  Most people can say N here.
210a6afd9f3SGreg Kroah-Hartman
211a6afd9f3SGreg Kroah-Hartmanconfig MOXA_INTELLIO
212a6afd9f3SGreg Kroah-Hartman	tristate "Moxa Intellio support"
213*eed0d311SJiri Slaby (SUSE)	depends on SERIAL_NONSTANDARD && PCI
214a6afd9f3SGreg Kroah-Hartman	select FW_LOADER
215a6afd9f3SGreg Kroah-Hartman	help
216a6afd9f3SGreg Kroah-Hartman	  Say Y here if you have a Moxa Intellio multiport serial card.
217a6afd9f3SGreg Kroah-Hartman
218a6afd9f3SGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
219a6afd9f3SGreg Kroah-Hartman	  module will be called moxa.
220a6afd9f3SGreg Kroah-Hartman
221a6afd9f3SGreg Kroah-Hartmanconfig MOXA_SMARTIO
222a6afd9f3SGreg Kroah-Hartman	tristate "Moxa SmartIO support v. 2.0"
2237c7e6c89SNiklas Schnelle	depends on SERIAL_NONSTANDARD && PCI && HAS_IOPORT
224a6afd9f3SGreg Kroah-Hartman	help
225a6afd9f3SGreg Kroah-Hartman	  Say Y here if you have a Moxa SmartIO multiport serial card and/or
226a6afd9f3SGreg Kroah-Hartman	  want to help develop a new version of this driver.
227a6afd9f3SGreg Kroah-Hartman
228a6afd9f3SGreg Kroah-Hartman	  This is upgraded (1.9.1) driver from original Moxa drivers with
229a6afd9f3SGreg Kroah-Hartman	  changes finally resulting in PCI probing.
230a6afd9f3SGreg Kroah-Hartman
231a6afd9f3SGreg Kroah-Hartman	  This driver can also be built as a module. The module will be called
232a6afd9f3SGreg Kroah-Hartman	  mxser. If you want to do that, say M here.
233a6afd9f3SGreg Kroah-Hartman
234a6afd9f3SGreg Kroah-Hartmanconfig SYNCLINK_GT
235a6afd9f3SGreg Kroah-Hartman	tristate "SyncLink GT/AC support"
236a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD && PCI
237426263d5SJiri Slaby	depends on BROKEN
238a6afd9f3SGreg Kroah-Hartman	help
239a6afd9f3SGreg Kroah-Hartman	  Support for SyncLink GT and SyncLink AC families of
240a6afd9f3SGreg Kroah-Hartman	  synchronous and asynchronous serial adapters
241a6afd9f3SGreg Kroah-Hartman	  manufactured by Microgate Systems, Ltd. (www.microgate.com)
242a6afd9f3SGreg Kroah-Hartman
243a6afd9f3SGreg Kroah-Hartmanconfig N_HDLC
244a6afd9f3SGreg Kroah-Hartman	tristate "HDLC line discipline support"
245a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD
246a6afd9f3SGreg Kroah-Hartman	help
247a6afd9f3SGreg Kroah-Hartman	  Allows synchronous HDLC communications with tty device drivers that
248a6afd9f3SGreg Kroah-Hartman	  support synchronous HDLC such as the Microgate SyncLink adapter.
249a6afd9f3SGreg Kroah-Hartman
250a6afd9f3SGreg Kroah-Hartman	  This driver can be built as a module ( = code which can be
251a6afd9f3SGreg Kroah-Hartman	  inserted in and removed from the running kernel whenever you want).
252a6afd9f3SGreg Kroah-Hartman	  The module will be called n_hdlc. If you want to do that, say M
253a6afd9f3SGreg Kroah-Hartman	  here.
254a6afd9f3SGreg Kroah-Hartman
255dcd83aafSTimur Tabiconfig PPC_EPAPR_HV_BYTECHAN
256a183d3aeSAnton Blanchard	bool "ePAPR hypervisor byte channel driver"
257dcd83aafSTimur Tabi	depends on PPC
25840656397SStuart Yoder	select EPAPR_PARAVIRT
259dcd83aafSTimur Tabi	help
260dcd83aafSTimur Tabi	  This driver creates /dev entries for each ePAPR hypervisor byte
261dcd83aafSTimur Tabi	  channel, thereby allowing applications to communicate with byte
262dcd83aafSTimur Tabi	  channels as if they were serial ports.
263dcd83aafSTimur Tabi
264dcd83aafSTimur Tabiconfig PPC_EARLY_DEBUG_EHV_BC
265dcd83aafSTimur Tabi	bool "Early console (udbg) support for ePAPR hypervisors"
266f21c6d4aSStephen Rothwell	depends on PPC_EPAPR_HV_BYTECHAN=y
267dcd83aafSTimur Tabi	help
268dcd83aafSTimur Tabi	  Select this option to enable early console (a.k.a. "udbg") support
269dcd83aafSTimur Tabi	  via an ePAPR byte channel.  You also need to choose the byte channel
270dcd83aafSTimur Tabi	  handle below.
271dcd83aafSTimur Tabi
272dcd83aafSTimur Tabiconfig PPC_EARLY_DEBUG_EHV_BC_HANDLE
273dcd83aafSTimur Tabi	int "Byte channel handle for early console (udbg)"
274dcd83aafSTimur Tabi	depends on PPC_EARLY_DEBUG_EHV_BC
275dcd83aafSTimur Tabi	default 0
276dcd83aafSTimur Tabi	help
277dcd83aafSTimur Tabi	  If you want early console (udbg) output through a byte channel,
278dcd83aafSTimur Tabi	  specify the handle of the byte channel to use.
279dcd83aafSTimur Tabi
280dcd83aafSTimur Tabi	  For this to work, the byte channel driver must be compiled
281dcd83aafSTimur Tabi	  in-kernel, not as a module.
282dcd83aafSTimur Tabi
283dcd83aafSTimur Tabi	  Note that only one early console driver can be enabled, so don't
284dcd83aafSTimur Tabi	  enable any others if you enable this one.
285dcd83aafSTimur Tabi
286dcd83aafSTimur Tabi	  If the number you specify is not a valid byte channel handle, then
287dcd83aafSTimur Tabi	  there simply will be no early console output.  This is true also
288dcd83aafSTimur Tabi	  if you don't boot under a hypervisor at all.
2894f73bc4dSJoe Millenbach
290666b7793SArve Hjønnevågconfig GOLDFISH_TTY
291666b7793SArve Hjønnevåg	tristate "Goldfish TTY Driver"
292666b7793SArve Hjønnevåg	depends on GOLDFISH
2933840ed95SMiodrag Dinic	select SERIAL_CORE
2943840ed95SMiodrag Dinic	select SERIAL_CORE_CONSOLE
295666b7793SArve Hjønnevåg	help
296666b7793SArve Hjønnevåg	  Console and system TTY driver for the Goldfish virtual platform.
297666b7793SArve Hjønnevåg
2986a28fd2bSSebastian Andrzej Siewiorconfig GOLDFISH_TTY_EARLY_CONSOLE
2996a28fd2bSSebastian Andrzej Siewior	bool
3006a28fd2bSSebastian Andrzej Siewior	default y if GOLDFISH_TTY=y
3016a28fd2bSSebastian Andrzej Siewior	select SERIAL_EARLYCON
3026a28fd2bSSebastian Andrzej Siewior
3033996954fSJiri Slabyconfig IPWIRELESS
3043996954fSJiri Slaby	tristate "IPWireless 3G UMTS PCMCIA card support"
3057c7e6c89SNiklas Schnelle	depends on PCMCIA && NETDEVICES && HAS_IOPORT
3063996954fSJiri Slaby	select PPP
3073996954fSJiri Slaby	help
3083996954fSJiri Slaby	  This is a driver for 3G UMTS PCMCIA card from IPWireless company. In
3093996954fSJiri Slaby	  some countries (for example Czech Republic, T-Mobile ISP) this card
3103996954fSJiri Slaby	  is shipped for service called UMTS 4G.
3113996954fSJiri Slaby
3122cca608aSRandy Dunlapconfig N_GSM
3132cca608aSRandy Dunlap	tristate "GSM MUX line discipline support (EXPERIMENTAL)"
3142cca608aSRandy Dunlap	depends on NET
3152cca608aSRandy Dunlap	help
3162cca608aSRandy Dunlap	  This line discipline provides support for the GSM MUX protocol and
3172cca608aSRandy Dunlap	  presents the mux as a set of 61 individual tty devices.
3182cca608aSRandy Dunlap
3192cca608aSRandy Dunlapconfig NOZOMI
3202cca608aSRandy Dunlap	tristate "HSDPA Broadband Wireless Data Card - Globe Trotter"
3212cca608aSRandy Dunlap	depends on PCI
3222cca608aSRandy Dunlap	help
3232cca608aSRandy Dunlap	  If you have a HSDPA driver Broadband Wireless Data Card -
3242cca608aSRandy Dunlap	  Globe Trotter PCMCIA card, say Y here.
3252cca608aSRandy Dunlap
3262cca608aSRandy Dunlap	  To compile this driver as a module, choose M here, the module
3272cca608aSRandy Dunlap	  will be called nozomi.
3282cca608aSRandy Dunlap
3294cebec60SJames Hoganconfig MIPS_EJTAG_FDC_TTY
3304cebec60SJames Hogan	bool "MIPS EJTAG Fast Debug Channel TTY"
3314cebec60SJames Hogan	depends on MIPS_CDMM
3324cebec60SJames Hogan	help
3334cebec60SJames Hogan	  This enables a TTY and console on the MIPS EJTAG Fast Debug Channels,
3344cebec60SJames Hogan	  if they are present. This can be useful when working with an EJTAG
3354cebec60SJames Hogan	  probe which supports it, to get console output and a login prompt via
3364cebec60SJames Hogan	  EJTAG without needing to connect a serial cable.
3374cebec60SJames Hogan
3384cebec60SJames Hogan	  TTY devices are named e.g. ttyFDC3c2 (for FDC channel 2 of the FDC on
3394cebec60SJames Hogan	  CPU3).
3404cebec60SJames Hogan
3414cebec60SJames Hogan	  The console can be enabled with console=fdc1 (for FDC channel 1 on all
3424cebec60SJames Hogan	  CPUs). Do not use the console unless there is a debug probe attached
3434cebec60SJames Hogan	  to drain the FDC TX FIFO.
3444cebec60SJames Hogan
3454cebec60SJames Hogan	  If unsure, say N.
3464cebec60SJames Hogan
347e934945dSJames Hoganconfig MIPS_EJTAG_FDC_EARLYCON
348e934945dSJames Hogan	bool "Early FDC console"
349e934945dSJames Hogan	depends on MIPS_EJTAG_FDC_TTY
350e934945dSJames Hogan	help
351e934945dSJames Hogan	  This registers a console on FDC channel 1 very early during boot (from
352e934945dSJames Hogan	  MIPS arch code). This is useful for bring-up and debugging early boot
353e934945dSJames Hogan	  issues.
354e934945dSJames Hogan
355e934945dSJames Hogan	  Do not enable unless there is a debug probe attached to drain the FDC
356e934945dSJames Hogan	  TX FIFO.
357e934945dSJames Hogan
358e934945dSJames Hogan	  If unsure, say N.
359e934945dSJames Hogan
360c2d7ef51SJames Hoganconfig MIPS_EJTAG_FDC_KGDB
361c2d7ef51SJames Hogan	bool "Use KGDB over an FDC channel"
362c2d7ef51SJames Hogan	depends on MIPS_EJTAG_FDC_TTY && KGDB
363c2d7ef51SJames Hogan	default y
364c2d7ef51SJames Hogan	help
365c2d7ef51SJames Hogan	  This enables the use of KGDB over an FDC channel, allowing KGDB to be
366c2d7ef51SJames Hogan	  used remotely or when a serial port isn't available.
367c2d7ef51SJames Hogan
368c2d7ef51SJames Hoganconfig MIPS_EJTAG_FDC_KGDB_CHAN
369c2d7ef51SJames Hogan	int "KGDB FDC channel"
370c2d7ef51SJames Hogan	depends on MIPS_EJTAG_FDC_KGDB
371c2d7ef51SJames Hogan	range 2 15
372c2d7ef51SJames Hogan	default 3
373c2d7ef51SJames Hogan	help
374c2d7ef51SJames Hogan	  FDC channel number to use for KGDB.
375c2d7ef51SJames Hogan
376a91bd622SPetr Mladekconfig NULL_TTY
377a91bd622SPetr Mladek	tristate "NULL TTY driver"
378a91bd622SPetr Mladek	help
379a91bd622SPetr Mladek	  Say Y here if you want a NULL TTY which simply discards messages.
380a91bd622SPetr Mladek
381a91bd622SPetr Mladek	  This is useful to allow userspace applications which expect a console
382a91bd622SPetr Mladek	  device to work without modifications even when no console is
383a91bd622SPetr Mladek	  available or desired.
384a91bd622SPetr Mladek
385a91bd622SPetr Mladek	  In order to use this driver, you should redirect the console to this
3862f1f7787SAdam Simonelli	  TTY, boot the kernel with console=ttynull, or enable
3872f1f7787SAdam Simonelli	  NULL_TTY_DEFAULT_CONSOLE.
3882f1f7787SAdam Simonelli
3892f1f7787SAdam Simonelli	  If unsure, say N.
3902f1f7787SAdam Simonelli
3912f1f7787SAdam Simonelliconfig NULL_TTY_DEFAULT_CONSOLE
3922f1f7787SAdam Simonelli	bool "Support for console on ttynull"
3932f1f7787SAdam Simonelli	depends on NULL_TTY=y && !VT_CONSOLE
3942f1f7787SAdam Simonelli	help
3952f1f7787SAdam Simonelli	  Say Y here if you want the NULL TTY to be used as a /dev/console
3962f1f7787SAdam Simonelli	  device by default.
3972f1f7787SAdam Simonelli
3982f1f7787SAdam Simonelli	  For example, it might be useful to prevent a VT-less kernel from
3992f1f7787SAdam Simonelli	  writing the system log to a random device connected to the serial
4002f1f7787SAdam Simonelli	  port.
4012f1f7787SAdam Simonelli
4022f1f7787SAdam Simonelli	  Another console driver still might get preferred via the command
4032f1f7787SAdam Simonelli	  line, SPCR, or the device tree.
404a91bd622SPetr Mladek
405a91bd622SPetr Mladek	  If unsure, say N.
406a91bd622SPetr Mladek
40755bd2133SJag Ramanconfig VCC
40855bd2133SJag Raman	tristate "Sun Virtual Console Concentrator"
40955bd2133SJag Raman	depends on SUN_LDOMS
41055bd2133SJag Raman	help
41155bd2133SJag Raman	  Support for Sun logical domain consoles.
4127c0cca7cSGreg Kroah-Hartman
41300e37543SRandy Dunlapsource "drivers/tty/hvc/Kconfig"
41400e37543SRandy Dunlap
4157c0408d8SArnaud Pouliquenconfig RPMSG_TTY
4167c0408d8SArnaud Pouliquen	tristate "RPMSG tty driver"
4177c0408d8SArnaud Pouliquen	depends on RPMSG
4187c0408d8SArnaud Pouliquen	help
4197c0408d8SArnaud Pouliquen	  Say y here to export rpmsg endpoints as tty devices, usually found
4207c0408d8SArnaud Pouliquen	  in /dev/ttyRPMSGx.
4217c0408d8SArnaud Pouliquen	  This makes it possible for user-space programs to send and receive
4227c0408d8SArnaud Pouliquen	  rpmsg messages as a standard tty protocol.
4237c0408d8SArnaud Pouliquen
4247c0408d8SArnaud Pouliquen	  To compile this driver as a module, choose M here: the module will be
4257c0408d8SArnaud Pouliquen	  called rpmsg_tty.
4267c0408d8SArnaud Pouliquen
4274f73bc4dSJoe Millenbachendif # TTY
42800e37543SRandy Dunlap
42900e37543SRandy Dunlapsource "drivers/tty/serdev/Kconfig"
430