Kconfig 16 KB

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