xref: /linux/drivers/tty/Kconfig (revision 3117ff13f104e98b05b61e19cc754d1377e92e15)
138c91d1dSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
24f73bc4dSJoe Millenbachconfig TTY
34f73bc4dSJoe Millenbach	bool "Enable TTY" if EXPERT
44f73bc4dSJoe Millenbach	default y
54f73bc4dSJoe Millenbach	---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
15579f1a28SFarhan Ali	depends on !UML
16bdcffc5aSGreg Kroah-Hartman	select INPUT
17bdcffc5aSGreg Kroah-Hartman	default y
18bdcffc5aSGreg Kroah-Hartman	---help---
19bdcffc5aSGreg Kroah-Hartman	  If you say Y here, you will get support for terminal devices with
20bdcffc5aSGreg Kroah-Hartman	  display and keyboard devices. These are called "virtual" because you
21bdcffc5aSGreg Kroah-Hartman	  can run several virtual terminals (also called virtual consoles) on
22bdcffc5aSGreg Kroah-Hartman	  one physical terminal. This is rather useful, for example one
23bdcffc5aSGreg Kroah-Hartman	  virtual terminal can collect system messages and warnings, another
24bdcffc5aSGreg Kroah-Hartman	  one can be used for a text-mode user session, and a third could run
25bdcffc5aSGreg Kroah-Hartman	  an X session, all in parallel. Switching between virtual terminals
26bdcffc5aSGreg Kroah-Hartman	  is done with certain key combinations, usually Alt-<function key>.
27bdcffc5aSGreg Kroah-Hartman
28bdcffc5aSGreg Kroah-Hartman	  The setterm command ("man setterm") can be used to change the
29bdcffc5aSGreg Kroah-Hartman	  properties (such as colors or beeping) of a virtual terminal. The
30bdcffc5aSGreg Kroah-Hartman	  man page console_codes(4) ("man console_codes") contains the special
31bdcffc5aSGreg Kroah-Hartman	  character sequences that can be used to change those properties
32bdcffc5aSGreg Kroah-Hartman	  directly. The fonts used on virtual terminals can be changed with
33bdcffc5aSGreg Kroah-Hartman	  the setfont ("man setfont") command and the key bindings are defined
34bdcffc5aSGreg Kroah-Hartman	  with the loadkeys ("man loadkeys") command.
35bdcffc5aSGreg Kroah-Hartman
36bdcffc5aSGreg Kroah-Hartman	  You need at least one virtual terminal device in order to make use
37bdcffc5aSGreg Kroah-Hartman	  of your keyboard and monitor. Therefore, only people configuring an
38bdcffc5aSGreg Kroah-Hartman	  embedded system would want to say N here in order to save some
39bdcffc5aSGreg Kroah-Hartman	  memory; the only way to log into such a system is then via a serial
40bdcffc5aSGreg Kroah-Hartman	  or network connection.
41bdcffc5aSGreg Kroah-Hartman
42bdcffc5aSGreg Kroah-Hartman	  If unsure, say Y, or else you won't be able to do much with your new
43bdcffc5aSGreg Kroah-Hartman	  shiny Linux system :-)
44bdcffc5aSGreg Kroah-Hartman
45bdcffc5aSGreg Kroah-Hartmanconfig CONSOLE_TRANSLATIONS
46bdcffc5aSGreg Kroah-Hartman	depends on VT
47bdcffc5aSGreg Kroah-Hartman	default y
48bdcffc5aSGreg Kroah-Hartman	bool "Enable character translations in console" if EXPERT
49bdcffc5aSGreg Kroah-Hartman	---help---
50bdcffc5aSGreg Kroah-Hartman	  This enables support for font mapping and Unicode translation
51bdcffc5aSGreg Kroah-Hartman	  on virtual consoles.
52bdcffc5aSGreg Kroah-Hartman
53bdcffc5aSGreg Kroah-Hartmanconfig VT_CONSOLE
54bdcffc5aSGreg Kroah-Hartman	bool "Support for console on virtual terminal" if EXPERT
55bdcffc5aSGreg Kroah-Hartman	depends on VT
56bdcffc5aSGreg Kroah-Hartman	default y
57bdcffc5aSGreg Kroah-Hartman	---help---
58bdcffc5aSGreg Kroah-Hartman	  The system console is the device which receives all kernel messages
59bdcffc5aSGreg Kroah-Hartman	  and warnings and which allows logins in single user mode. If you
60bdcffc5aSGreg Kroah-Hartman	  answer Y here, a virtual terminal (the device used to interact with
61bdcffc5aSGreg Kroah-Hartman	  a physical terminal) can be used as system console. This is the most
62bdcffc5aSGreg Kroah-Hartman	  common mode of operations, so you should say Y here unless you want
63bdcffc5aSGreg Kroah-Hartman	  the kernel messages be output only to a serial port (in which case
64bdcffc5aSGreg Kroah-Hartman	  you should say Y to "Console on serial port", below).
65bdcffc5aSGreg Kroah-Hartman
66bdcffc5aSGreg Kroah-Hartman	  If you do say Y here, by default the currently visible virtual
67bdcffc5aSGreg Kroah-Hartman	  terminal (/dev/tty0) will be used as system console. You can change
68bdcffc5aSGreg Kroah-Hartman	  that with a kernel command line option such as "console=tty3" which
69bdcffc5aSGreg Kroah-Hartman	  would use the third virtual terminal as system console. (Try "man
70bdcffc5aSGreg Kroah-Hartman	  bootparam" or see the documentation of your boot loader (lilo or
71bdcffc5aSGreg Kroah-Hartman	  loadlin) about how to pass options to the kernel at boot time.)
72bdcffc5aSGreg Kroah-Hartman
73bdcffc5aSGreg Kroah-Hartman	  If unsure, say Y.
74bdcffc5aSGreg Kroah-Hartman
7537cce26bSH Hartley Sweetenconfig VT_CONSOLE_SLEEP
7637cce26bSH Hartley Sweeten	def_bool y
7737cce26bSH Hartley Sweeten	depends on VT_CONSOLE && PM_SLEEP
7837cce26bSH Hartley Sweeten
79bdcffc5aSGreg Kroah-Hartmanconfig HW_CONSOLE
80bdcffc5aSGreg Kroah-Hartman	bool
8124b59223SPaul Bolle	depends on VT && !UML
82bdcffc5aSGreg Kroah-Hartman	default y
83bdcffc5aSGreg Kroah-Hartman
84bdcffc5aSGreg Kroah-Hartmanconfig VT_HW_CONSOLE_BINDING
85bdcffc5aSGreg Kroah-Hartman       bool "Support for binding and unbinding console drivers"
86bdcffc5aSGreg Kroah-Hartman       depends on HW_CONSOLE
87bdcffc5aSGreg Kroah-Hartman       ---help---
88bdcffc5aSGreg Kroah-Hartman         The virtual terminal is the device that interacts with the physical
89bdcffc5aSGreg Kroah-Hartman         terminal through console drivers. On these systems, at least one
90bdcffc5aSGreg Kroah-Hartman         console driver is loaded. In other configurations, additional console
91bdcffc5aSGreg Kroah-Hartman         drivers may be enabled, such as the framebuffer console. If more than
92bdcffc5aSGreg Kroah-Hartman         1 console driver is enabled, setting this to 'y' will allow you to
93bdcffc5aSGreg Kroah-Hartman         select the console driver that will serve as the backend for the
94bdcffc5aSGreg Kroah-Hartman         virtual terminals.
95bdcffc5aSGreg Kroah-Hartman
96bdcffc5aSGreg Kroah-Hartman	 See <file:Documentation/console/console.txt> for more
97bdcffc5aSGreg Kroah-Hartman	 information. For framebuffer console users, please refer to
98bdcffc5aSGreg Kroah-Hartman	 <file:Documentation/fb/fbcon.txt>.
99bdcffc5aSGreg Kroah-Hartman
100bdcffc5aSGreg Kroah-Hartmanconfig UNIX98_PTYS
101bdcffc5aSGreg Kroah-Hartman	bool "Unix98 PTY support" if EXPERT
102bdcffc5aSGreg Kroah-Hartman	default y
103bdcffc5aSGreg Kroah-Hartman	---help---
104bdcffc5aSGreg Kroah-Hartman	  A pseudo terminal (PTY) is a software device consisting of two
105bdcffc5aSGreg Kroah-Hartman	  halves: a master and a slave. The slave device behaves identical to
106bdcffc5aSGreg Kroah-Hartman	  a physical terminal; the master device is used by a process to
107bdcffc5aSGreg Kroah-Hartman	  read data from and write data to the slave, thereby emulating a
108bdcffc5aSGreg Kroah-Hartman	  terminal. Typical programs for the master side are telnet servers
109bdcffc5aSGreg Kroah-Hartman	  and xterms.
110bdcffc5aSGreg Kroah-Hartman
111bdcffc5aSGreg Kroah-Hartman	  Linux has traditionally used the BSD-like names /dev/ptyxx for
112bdcffc5aSGreg Kroah-Hartman	  masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
113bdcffc5aSGreg Kroah-Hartman	  has a number of problems. The GNU C library glibc 2.1 and later,
114bdcffc5aSGreg Kroah-Hartman	  however, supports the Unix98 naming standard: in order to acquire a
115bdcffc5aSGreg Kroah-Hartman	  pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
116bdcffc5aSGreg Kroah-Hartman	  terminal is then made available to the process and the pseudo
117bdcffc5aSGreg Kroah-Hartman	  terminal slave can be accessed as /dev/pts/<number>. What was
118bdcffc5aSGreg Kroah-Hartman	  traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
119bdcffc5aSGreg Kroah-Hartman
120bdcffc5aSGreg Kroah-Hartman	  All modern Linux systems use the Unix98 ptys.  Say Y unless
121bdcffc5aSGreg Kroah-Hartman	  you're on an embedded system and want to conserve memory.
122bdcffc5aSGreg Kroah-Hartman
123bdcffc5aSGreg Kroah-Hartmanconfig LEGACY_PTYS
124bdcffc5aSGreg Kroah-Hartman	bool "Legacy (BSD) PTY support"
125bdcffc5aSGreg Kroah-Hartman	default y
126bdcffc5aSGreg Kroah-Hartman	---help---
127bdcffc5aSGreg Kroah-Hartman	  A pseudo terminal (PTY) is a software device consisting of two
128bdcffc5aSGreg Kroah-Hartman	  halves: a master and a slave. The slave device behaves identical to
129bdcffc5aSGreg Kroah-Hartman	  a physical terminal; the master device is used by a process to
130bdcffc5aSGreg Kroah-Hartman	  read data from and write data to the slave, thereby emulating a
131bdcffc5aSGreg Kroah-Hartman	  terminal. Typical programs for the master side are telnet servers
132bdcffc5aSGreg Kroah-Hartman	  and xterms.
133bdcffc5aSGreg Kroah-Hartman
134bdcffc5aSGreg Kroah-Hartman	  Linux has traditionally used the BSD-like names /dev/ptyxx
135bdcffc5aSGreg Kroah-Hartman	  for masters and /dev/ttyxx for slaves of pseudo
136bdcffc5aSGreg Kroah-Hartman	  terminals. This scheme has a number of problems, including
137bdcffc5aSGreg Kroah-Hartman	  security.  This option enables these legacy devices; on most
138bdcffc5aSGreg Kroah-Hartman	  systems, it is safe to say N.
139bdcffc5aSGreg Kroah-Hartman
140bdcffc5aSGreg Kroah-Hartman
141bdcffc5aSGreg Kroah-Hartmanconfig LEGACY_PTY_COUNT
142bdcffc5aSGreg Kroah-Hartman	int "Maximum number of legacy PTY in use"
143bdcffc5aSGreg Kroah-Hartman	depends on LEGACY_PTYS
144bdcffc5aSGreg Kroah-Hartman	range 0 256
145bdcffc5aSGreg Kroah-Hartman	default "256"
146bdcffc5aSGreg Kroah-Hartman	---help---
147bdcffc5aSGreg Kroah-Hartman	  The maximum number of legacy PTYs that can be used at any one time.
148bdcffc5aSGreg Kroah-Hartman	  The default is 256, and should be more than enough.  Embedded
149bdcffc5aSGreg Kroah-Hartman	  systems may want to reduce this to save memory.
150bdcffc5aSGreg Kroah-Hartman
151bdcffc5aSGreg Kroah-Hartman	  When not in use, each legacy PTY occupies 12 bytes on 32-bit
152bdcffc5aSGreg Kroah-Hartman	  architectures and 24 bytes on 64-bit architectures.
153bdcffc5aSGreg Kroah-Hartman
154a6afd9f3SGreg Kroah-Hartmanconfig SERIAL_NONSTANDARD
155a6afd9f3SGreg Kroah-Hartman	bool "Non-standard serial port support"
156a6afd9f3SGreg Kroah-Hartman	depends on HAS_IOMEM
157a6afd9f3SGreg Kroah-Hartman	---help---
158a6afd9f3SGreg Kroah-Hartman	  Say Y here if you have any non-standard serial boards -- boards
159a6afd9f3SGreg Kroah-Hartman	  which aren't supported using the standard "dumb" serial driver.
160a6afd9f3SGreg Kroah-Hartman	  This includes intelligent serial boards such as Cyclades,
161a6afd9f3SGreg Kroah-Hartman	  Digiboards, etc. These are usually used for systems that need many
162a6afd9f3SGreg Kroah-Hartman	  serial ports because they serve many terminals or dial-in
163a6afd9f3SGreg Kroah-Hartman	  connections.
164a6afd9f3SGreg Kroah-Hartman
165a6afd9f3SGreg Kroah-Hartman	  Note that the answer to this question won't directly affect the
166a6afd9f3SGreg Kroah-Hartman	  kernel: saying N will just cause the configurator to skip all
167a6afd9f3SGreg Kroah-Hartman	  the questions about non-standard serial boards.
168a6afd9f3SGreg Kroah-Hartman
169a6afd9f3SGreg Kroah-Hartman	  Most people can say N here.
170a6afd9f3SGreg Kroah-Hartman
171a6afd9f3SGreg Kroah-Hartmanconfig ROCKETPORT
172a6afd9f3SGreg Kroah-Hartman	tristate "Comtrol RocketPort support"
173a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI)
174a6afd9f3SGreg Kroah-Hartman	help
175a6afd9f3SGreg Kroah-Hartman	  This driver supports Comtrol RocketPort and RocketModem PCI boards.
176a6afd9f3SGreg Kroah-Hartman          These boards provide 2, 4, 8, 16, or 32 high-speed serial ports or
177a6afd9f3SGreg Kroah-Hartman          modems.  For information about the RocketPort/RocketModem  boards
178a6afd9f3SGreg Kroah-Hartman          and this driver read <file:Documentation/serial/rocket.txt>.
179a6afd9f3SGreg Kroah-Hartman
180a6afd9f3SGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
181a6afd9f3SGreg Kroah-Hartman	  module will be called rocket.
182a6afd9f3SGreg Kroah-Hartman
183a6afd9f3SGreg Kroah-Hartman	  If you want to compile this driver into the kernel, say Y here.  If
184a6afd9f3SGreg Kroah-Hartman          you don't have a Comtrol RocketPort/RocketModem card installed, say N.
185a6afd9f3SGreg Kroah-Hartman
186a6afd9f3SGreg Kroah-Hartmanconfig CYCLADES
187a6afd9f3SGreg Kroah-Hartman	tristate "Cyclades async mux support"
188a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD && (PCI || ISA)
189a6afd9f3SGreg Kroah-Hartman	select FW_LOADER
190a6afd9f3SGreg Kroah-Hartman	---help---
191a6afd9f3SGreg Kroah-Hartman	  This driver supports Cyclades Z and Y multiserial boards.
192a6afd9f3SGreg Kroah-Hartman	  You would need something like this to connect more than two modems to
193a6afd9f3SGreg Kroah-Hartman	  your Linux box, for instance in order to become a dial-in server.
194a6afd9f3SGreg Kroah-Hartman
195a6afd9f3SGreg Kroah-Hartman	  For information about the Cyclades-Z card, read
196a6afd9f3SGreg Kroah-Hartman	  <file:Documentation/serial/README.cycladesZ>.
197a6afd9f3SGreg Kroah-Hartman
198a6afd9f3SGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
199a6afd9f3SGreg Kroah-Hartman	  module will be called cyclades.
200a6afd9f3SGreg Kroah-Hartman
201a6afd9f3SGreg Kroah-Hartman	  If you haven't heard about it, it's safe to say N.
202a6afd9f3SGreg Kroah-Hartman
203a6afd9f3SGreg Kroah-Hartmanconfig CYZ_INTR
2048b77562bSGreg Kroah-Hartman	bool "Cyclades-Z interrupt mode operation"
20505ead496SArnd Bergmann	depends on CYCLADES && PCI
206a6afd9f3SGreg Kroah-Hartman	help
207a6afd9f3SGreg Kroah-Hartman	  The Cyclades-Z family of multiport cards allows 2 (two) driver op
208a6afd9f3SGreg Kroah-Hartman	  modes: polling and interrupt. In polling mode, the driver will check
209a6afd9f3SGreg Kroah-Hartman	  the status of the Cyclades-Z ports every certain amount of time
210a6afd9f3SGreg Kroah-Hartman	  (which is called polling cycle and is configurable). In interrupt
211a6afd9f3SGreg Kroah-Hartman	  mode, it will use an interrupt line (IRQ) in order to check the
212a6afd9f3SGreg Kroah-Hartman	  status of the Cyclades-Z ports. The default op mode is polling. If
213a6afd9f3SGreg Kroah-Hartman	  unsure, say N.
214a6afd9f3SGreg Kroah-Hartman
215a6afd9f3SGreg Kroah-Hartmanconfig MOXA_INTELLIO
216a6afd9f3SGreg Kroah-Hartman	tristate "Moxa Intellio support"
217a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI)
218a6afd9f3SGreg Kroah-Hartman	select FW_LOADER
219a6afd9f3SGreg Kroah-Hartman	help
220a6afd9f3SGreg Kroah-Hartman	  Say Y here if you have a Moxa Intellio multiport serial card.
221a6afd9f3SGreg Kroah-Hartman
222a6afd9f3SGreg Kroah-Hartman	  To compile this driver as a module, choose M here: the
223a6afd9f3SGreg Kroah-Hartman	  module will be called moxa.
224a6afd9f3SGreg Kroah-Hartman
225a6afd9f3SGreg Kroah-Hartmanconfig MOXA_SMARTIO
226a6afd9f3SGreg Kroah-Hartman	tristate "Moxa SmartIO support v. 2.0"
227a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA)
228a6afd9f3SGreg Kroah-Hartman	help
229a6afd9f3SGreg Kroah-Hartman	  Say Y here if you have a Moxa SmartIO multiport serial card and/or
230a6afd9f3SGreg Kroah-Hartman	  want to help develop a new version of this driver.
231a6afd9f3SGreg Kroah-Hartman
232a6afd9f3SGreg Kroah-Hartman	  This is upgraded (1.9.1) driver from original Moxa drivers with
233a6afd9f3SGreg Kroah-Hartman	  changes finally resulting in PCI probing.
234a6afd9f3SGreg Kroah-Hartman
235a6afd9f3SGreg Kroah-Hartman	  This driver can also be built as a module. The module will be called
236a6afd9f3SGreg Kroah-Hartman	  mxser. If you want to do that, say M here.
237a6afd9f3SGreg Kroah-Hartman
238a6afd9f3SGreg Kroah-Hartmanconfig SYNCLINK
239a6afd9f3SGreg Kroah-Hartman	tristate "Microgate SyncLink card support"
240a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD && PCI && ISA_DMA_API
241a6afd9f3SGreg Kroah-Hartman	help
242a6afd9f3SGreg Kroah-Hartman	  Provides support for the SyncLink ISA and PCI multiprotocol serial
243a6afd9f3SGreg Kroah-Hartman	  adapters. These adapters support asynchronous and HDLC bit
244a6afd9f3SGreg Kroah-Hartman	  synchronous communication up to 10Mbps (PCI adapter).
245a6afd9f3SGreg Kroah-Hartman
246a6afd9f3SGreg Kroah-Hartman	  This driver can only be built as a module ( = code which can be
247a6afd9f3SGreg Kroah-Hartman	  inserted in and removed from the running kernel whenever you want).
248a6afd9f3SGreg Kroah-Hartman	  The module will be called synclink.  If you want to do that, say M
249a6afd9f3SGreg Kroah-Hartman	  here.
250a6afd9f3SGreg Kroah-Hartman
251a6afd9f3SGreg Kroah-Hartmanconfig SYNCLINKMP
252a6afd9f3SGreg Kroah-Hartman	tristate "SyncLink Multiport support"
253a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD && PCI
254a6afd9f3SGreg Kroah-Hartman	help
255a6afd9f3SGreg Kroah-Hartman	  Enable support for the SyncLink Multiport (2 or 4 ports)
256a6afd9f3SGreg Kroah-Hartman	  serial adapter, running asynchronous and HDLC communications up
257a6afd9f3SGreg Kroah-Hartman	  to 2.048Mbps. Each ports is independently selectable for
258a6afd9f3SGreg Kroah-Hartman	  RS-232, V.35, RS-449, RS-530, and X.21
259a6afd9f3SGreg Kroah-Hartman
260a6afd9f3SGreg Kroah-Hartman	  This driver may be built as a module ( = code which can be
261a6afd9f3SGreg Kroah-Hartman	  inserted in and removed from the running kernel whenever you want).
262a6afd9f3SGreg Kroah-Hartman	  The module will be called synclinkmp.  If you want to do that, say M
263a6afd9f3SGreg Kroah-Hartman	  here.
264a6afd9f3SGreg Kroah-Hartman
265a6afd9f3SGreg Kroah-Hartmanconfig SYNCLINK_GT
266a6afd9f3SGreg Kroah-Hartman	tristate "SyncLink GT/AC support"
267a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD && PCI
268a6afd9f3SGreg Kroah-Hartman	help
269a6afd9f3SGreg Kroah-Hartman	  Support for SyncLink GT and SyncLink AC families of
270a6afd9f3SGreg Kroah-Hartman	  synchronous and asynchronous serial adapters
271a6afd9f3SGreg Kroah-Hartman	  manufactured by Microgate Systems, Ltd. (www.microgate.com)
272a6afd9f3SGreg Kroah-Hartman
273a6afd9f3SGreg Kroah-Hartmanconfig NOZOMI
274a6afd9f3SGreg Kroah-Hartman	tristate "HSDPA Broadband Wireless Data Card - Globe Trotter"
2758b77562bSGreg Kroah-Hartman	depends on PCI
276a6afd9f3SGreg Kroah-Hartman	help
277a6afd9f3SGreg Kroah-Hartman	  If you have a HSDPA driver Broadband Wireless Data Card -
278a6afd9f3SGreg Kroah-Hartman	  Globe Trotter PCMCIA card, say Y here.
279a6afd9f3SGreg Kroah-Hartman
280a6afd9f3SGreg Kroah-Hartman	  To compile this driver as a module, choose M here, the module
281a6afd9f3SGreg Kroah-Hartman	  will be called nozomi.
282a6afd9f3SGreg Kroah-Hartman
283a6afd9f3SGreg Kroah-Hartmanconfig ISI
2848b77562bSGreg Kroah-Hartman	tristate "Multi-Tech multiport card support"
285a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD && PCI
286a6afd9f3SGreg Kroah-Hartman	select FW_LOADER
287a6afd9f3SGreg Kroah-Hartman	help
288a6afd9f3SGreg Kroah-Hartman	  This is a driver for the Multi-Tech cards which provide several
289a6afd9f3SGreg Kroah-Hartman	  serial ports.  The driver is experimental and can currently only be
290a6afd9f3SGreg Kroah-Hartman	  built as a module. The module will be called isicom.
291a6afd9f3SGreg Kroah-Hartman	  If you want to do that, choose M here.
292a6afd9f3SGreg Kroah-Hartman
293a6afd9f3SGreg Kroah-Hartmanconfig N_HDLC
294a6afd9f3SGreg Kroah-Hartman	tristate "HDLC line discipline support"
295a6afd9f3SGreg Kroah-Hartman	depends on SERIAL_NONSTANDARD
296a6afd9f3SGreg Kroah-Hartman	help
297a6afd9f3SGreg Kroah-Hartman	  Allows synchronous HDLC communications with tty device drivers that
298a6afd9f3SGreg Kroah-Hartman	  support synchronous HDLC such as the Microgate SyncLink adapter.
299a6afd9f3SGreg Kroah-Hartman
300a6afd9f3SGreg Kroah-Hartman	  This driver can be built as a module ( = code which can be
301a6afd9f3SGreg Kroah-Hartman	  inserted in and removed from the running kernel whenever you want).
302a6afd9f3SGreg Kroah-Hartman	  The module will be called n_hdlc. If you want to do that, say M
303a6afd9f3SGreg Kroah-Hartman	  here.
304a6afd9f3SGreg Kroah-Hartman
305a6afd9f3SGreg Kroah-Hartmanconfig N_GSM
3065de69349SGreg Kroah-Hartman	tristate "GSM MUX line discipline support (EXPERIMENTAL)"
307a6afd9f3SGreg Kroah-Hartman	depends on NET
308a6afd9f3SGreg Kroah-Hartman	help
309a6afd9f3SGreg Kroah-Hartman	  This line discipline provides support for the GSM MUX protocol and
310a6afd9f3SGreg Kroah-Hartman	  presents the mux as a set of 61 individual tty devices.
311bdcffc5aSGreg Kroah-Hartman
312ee4f6b4bSJ Freyenseeconfig TRACE_ROUTER
313ee4f6b4bSJ Freyensee	tristate "Trace data router for MIPI P1149.7 cJTAG standard"
314ee4f6b4bSJ Freyensee	depends on TRACE_SINK
315ee4f6b4bSJ Freyensee	help
316ee4f6b4bSJ Freyensee	  The trace router uses the Linux tty line discipline framework to
317ee4f6b4bSJ Freyensee	  route trace data coming from a tty port (say UART for example) to
318ee4f6b4bSJ Freyensee	  the trace sink line discipline driver and to another tty port (say
319ee4f6b4bSJ Freyensee	  USB). This is part of a solution for the MIPI P1149.7, compact JTAG,
320ee4f6b4bSJ Freyensee	  standard, which is for debugging mobile devices. The PTI driver in
321ee4f6b4bSJ Freyensee	  drivers/misc/pti.c defines the majority of this MIPI solution.
322ee4f6b4bSJ Freyensee
323ee4f6b4bSJ Freyensee	  You should select this driver if the target kernel is meant for
324ee4f6b4bSJ Freyensee	  a mobile device containing a modem.  Then you will need to select
325ee4f6b4bSJ Freyensee	  "Trace data sink for MIPI P1149.7 cJTAG standard" line discipline
326ee4f6b4bSJ Freyensee	  driver.
327ee4f6b4bSJ Freyensee
328ee4f6b4bSJ Freyenseeconfig TRACE_SINK
329ee4f6b4bSJ Freyensee	tristate "Trace data sink for MIPI P1149.7 cJTAG standard"
330ee4f6b4bSJ Freyensee	help
331ee4f6b4bSJ Freyensee	  The trace sink uses the Linux line discipline framework to receive
332ee4f6b4bSJ Freyensee	  trace data coming from the trace router line discipline driver
333ee4f6b4bSJ Freyensee	  to a user-defined tty port target, like USB.
334ee4f6b4bSJ Freyensee	  This is to provide a way to extract modem trace data on
335ee4f6b4bSJ Freyensee	  devices that do not have a PTI HW module, or just need modem
336ee4f6b4bSJ Freyensee	  trace data to come out of a different HW output port.
337ee4f6b4bSJ Freyensee	  This is part of a solution for the P1149.7, compact JTAG, standard.
338ee4f6b4bSJ Freyensee
339ee4f6b4bSJ Freyensee	  If you select this option, you need to select
340ee4f6b4bSJ Freyensee	  "Trace data router for MIPI P1149.7 cJTAG standard".
341dcd83aafSTimur Tabi
342dcd83aafSTimur Tabiconfig PPC_EPAPR_HV_BYTECHAN
343a183d3aeSAnton Blanchard	bool "ePAPR hypervisor byte channel driver"
344dcd83aafSTimur Tabi	depends on PPC
34540656397SStuart Yoder	select EPAPR_PARAVIRT
346dcd83aafSTimur Tabi	help
347dcd83aafSTimur Tabi	  This driver creates /dev entries for each ePAPR hypervisor byte
348dcd83aafSTimur Tabi	  channel, thereby allowing applications to communicate with byte
349dcd83aafSTimur Tabi	  channels as if they were serial ports.
350dcd83aafSTimur Tabi
351dcd83aafSTimur Tabiconfig PPC_EARLY_DEBUG_EHV_BC
352dcd83aafSTimur Tabi	bool "Early console (udbg) support for ePAPR hypervisors"
353f21c6d4aSStephen Rothwell	depends on PPC_EPAPR_HV_BYTECHAN=y
354dcd83aafSTimur Tabi	help
355dcd83aafSTimur Tabi	  Select this option to enable early console (a.k.a. "udbg") support
356dcd83aafSTimur Tabi	  via an ePAPR byte channel.  You also need to choose the byte channel
357dcd83aafSTimur Tabi	  handle below.
358dcd83aafSTimur Tabi
359dcd83aafSTimur Tabiconfig PPC_EARLY_DEBUG_EHV_BC_HANDLE
360dcd83aafSTimur Tabi	int "Byte channel handle for early console (udbg)"
361dcd83aafSTimur Tabi	depends on PPC_EARLY_DEBUG_EHV_BC
362dcd83aafSTimur Tabi	default 0
363dcd83aafSTimur Tabi	help
364dcd83aafSTimur Tabi	  If you want early console (udbg) output through a byte channel,
365dcd83aafSTimur Tabi	  specify the handle of the byte channel to use.
366dcd83aafSTimur Tabi
367dcd83aafSTimur Tabi	  For this to work, the byte channel driver must be compiled
368dcd83aafSTimur Tabi	  in-kernel, not as a module.
369dcd83aafSTimur Tabi
370dcd83aafSTimur Tabi	  Note that only one early console driver can be enabled, so don't
371dcd83aafSTimur Tabi	  enable any others if you enable this one.
372dcd83aafSTimur Tabi
373dcd83aafSTimur Tabi	  If the number you specify is not a valid byte channel handle, then
374dcd83aafSTimur Tabi	  there simply will be no early console output.  This is true also
375dcd83aafSTimur Tabi	  if you don't boot under a hypervisor at all.
3764f73bc4dSJoe Millenbach
377*3117ff13SVincent Whitchurchconfig NULL_TTY
378*3117ff13SVincent Whitchurch	tristate "NULL TTY driver"
379*3117ff13SVincent Whitchurch	help
380*3117ff13SVincent Whitchurch	  Say Y here if you want a NULL TTY which simply discards messages.
381*3117ff13SVincent Whitchurch
382*3117ff13SVincent Whitchurch	  This is useful to allow userspace applications which expect a console
383*3117ff13SVincent Whitchurch	  device to work without modifications even when no console is
384*3117ff13SVincent Whitchurch	  available or desired.
385*3117ff13SVincent Whitchurch
386*3117ff13SVincent Whitchurch	  In order to use this driver, you should redirect the console to this
387*3117ff13SVincent Whitchurch	  TTY, or boot the kernel with console=ttynull.
388*3117ff13SVincent Whitchurch
389*3117ff13SVincent Whitchurch	  If unsure, say N.
390*3117ff13SVincent Whitchurch
391666b7793SArve Hjønnevågconfig GOLDFISH_TTY
392666b7793SArve Hjønnevåg	tristate "Goldfish TTY Driver"
393666b7793SArve Hjønnevåg	depends on GOLDFISH
3943840ed95SMiodrag Dinic	select SERIAL_CORE
3953840ed95SMiodrag Dinic	select SERIAL_CORE_CONSOLE
396666b7793SArve Hjønnevåg	help
397666b7793SArve Hjønnevåg	  Console and system TTY driver for the Goldfish virtual platform.
398666b7793SArve Hjønnevåg
3996a28fd2bSSebastian Andrzej Siewiorconfig GOLDFISH_TTY_EARLY_CONSOLE
4006a28fd2bSSebastian Andrzej Siewior	bool
4016a28fd2bSSebastian Andrzej Siewior	default y if GOLDFISH_TTY=y
4026a28fd2bSSebastian Andrzej Siewior	select SERIAL_EARLYCON
4036a28fd2bSSebastian Andrzej Siewior
4044cebec60SJames Hoganconfig MIPS_EJTAG_FDC_TTY
4054cebec60SJames Hogan	bool "MIPS EJTAG Fast Debug Channel TTY"
4064cebec60SJames Hogan	depends on MIPS_CDMM
4074cebec60SJames Hogan	help
4084cebec60SJames Hogan	  This enables a TTY and console on the MIPS EJTAG Fast Debug Channels,
4094cebec60SJames Hogan	  if they are present. This can be useful when working with an EJTAG
4104cebec60SJames Hogan	  probe which supports it, to get console output and a login prompt via
4114cebec60SJames Hogan	  EJTAG without needing to connect a serial cable.
4124cebec60SJames Hogan
4134cebec60SJames Hogan	  TTY devices are named e.g. ttyFDC3c2 (for FDC channel 2 of the FDC on
4144cebec60SJames Hogan	  CPU3).
4154cebec60SJames Hogan
4164cebec60SJames Hogan	  The console can be enabled with console=fdc1 (for FDC channel 1 on all
4174cebec60SJames Hogan	  CPUs). Do not use the console unless there is a debug probe attached
4184cebec60SJames Hogan	  to drain the FDC TX FIFO.
4194cebec60SJames Hogan
4204cebec60SJames Hogan	  If unsure, say N.
4214cebec60SJames Hogan
422e934945dSJames Hoganconfig MIPS_EJTAG_FDC_EARLYCON
423e934945dSJames Hogan	bool "Early FDC console"
424e934945dSJames Hogan	depends on MIPS_EJTAG_FDC_TTY
425e934945dSJames Hogan	help
426e934945dSJames Hogan	  This registers a console on FDC channel 1 very early during boot (from
427e934945dSJames Hogan	  MIPS arch code). This is useful for bring-up and debugging early boot
428e934945dSJames Hogan	  issues.
429e934945dSJames Hogan
430e934945dSJames Hogan	  Do not enable unless there is a debug probe attached to drain the FDC
431e934945dSJames Hogan	  TX FIFO.
432e934945dSJames Hogan
433e934945dSJames Hogan	  If unsure, say N.
434e934945dSJames Hogan
435c2d7ef51SJames Hoganconfig MIPS_EJTAG_FDC_KGDB
436c2d7ef51SJames Hogan	bool "Use KGDB over an FDC channel"
437c2d7ef51SJames Hogan	depends on MIPS_EJTAG_FDC_TTY && KGDB
438c2d7ef51SJames Hogan	default y
439c2d7ef51SJames Hogan	help
440c2d7ef51SJames Hogan          This enables the use of KGDB over an FDC channel, allowing KGDB to be
441c2d7ef51SJames Hogan          used remotely or when a serial port isn't available.
442c2d7ef51SJames Hogan
443c2d7ef51SJames Hoganconfig MIPS_EJTAG_FDC_KGDB_CHAN
444c2d7ef51SJames Hogan	int "KGDB FDC channel"
445c2d7ef51SJames Hogan	depends on MIPS_EJTAG_FDC_KGDB
446c2d7ef51SJames Hogan	range 2 15
447c2d7ef51SJames Hogan	default 3
448c2d7ef51SJames Hogan	help
449c2d7ef51SJames Hogan	  FDC channel number to use for KGDB.
450c2d7ef51SJames Hogan
45155bd2133SJag Ramanconfig VCC
45255bd2133SJag Raman	tristate "Sun Virtual Console Concentrator"
45355bd2133SJag Raman	depends on SUN_LDOMS
45455bd2133SJag Raman	help
45555bd2133SJag Raman	  Support for Sun logical domain consoles.
4567c0cca7cSGreg Kroah-Hartman
4577c0cca7cSGreg Kroah-Hartmanconfig LDISC_AUTOLOAD
4587c0cca7cSGreg Kroah-Hartman	bool "Automatically load TTY Line Disciplines"
4597c0cca7cSGreg Kroah-Hartman	default y
4607c0cca7cSGreg Kroah-Hartman	help
4617c0cca7cSGreg Kroah-Hartman	  Historically the kernel has always automatically loaded any
4627c0cca7cSGreg Kroah-Hartman	  line discipline that is in a kernel module when a user asks
4637c0cca7cSGreg Kroah-Hartman	  for it to be loaded with the TIOCSETD ioctl, or through other
4647c0cca7cSGreg Kroah-Hartman	  means.  This is not always the best thing to do on systems
4657c0cca7cSGreg Kroah-Hartman	  where you know you will not be using some of the more
4667c0cca7cSGreg Kroah-Hartman	  "ancient" line disciplines, so prevent the kernel from doing
4677c0cca7cSGreg Kroah-Hartman	  this unless the request is coming from a process with the
4687c0cca7cSGreg Kroah-Hartman	  CAP_SYS_MODULE permissions.
4697c0cca7cSGreg Kroah-Hartman
4707c0cca7cSGreg Kroah-Hartman	  Say 'Y' here if you trust your userspace users to do the right
4717c0cca7cSGreg Kroah-Hartman	  thing, or if you have only provided the line disciplines that
4727c0cca7cSGreg Kroah-Hartman	  you know you will be using, or if you wish to continue to use
4737c0cca7cSGreg Kroah-Hartman	  the traditional method of on-demand loading of these modules
4747c0cca7cSGreg Kroah-Hartman	  by any user.
4757c0cca7cSGreg Kroah-Hartman
4767c0cca7cSGreg Kroah-Hartman	  This functionality can be changed at runtime with the
4777c0cca7cSGreg Kroah-Hartman	  dev.tty.ldisc_autoload sysctl, this configuration option will
4787c0cca7cSGreg Kroah-Hartman	  only set the default value of this functionality.
4797c0cca7cSGreg Kroah-Hartman
4804f73bc4dSJoe Millenbachendif # TTY
481