Kconfig.char 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. menu "Character Devices"
  2. config STDERR_CONSOLE
  3. bool "stderr console"
  4. default y
  5. help
  6. console driver which dumps all printk messages to stderr.
  7. config STDIO_CONSOLE
  8. bool
  9. default y
  10. config SSL
  11. bool "Virtual serial line"
  12. help
  13. The User-Mode Linux environment allows you to create virtual serial
  14. lines on the UML that are usually made to show up on the host as
  15. ttys or ptys.
  16. See <http://user-mode-linux.sourceforge.net/old/input.html> for more
  17. information and command line examples of how to use this facility.
  18. Unless you have a specific reason for disabling this, say Y.
  19. config NULL_CHAN
  20. bool "null channel support"
  21. help
  22. This option enables support for attaching UML consoles and serial
  23. lines to a device similar to /dev/null. Data written to it disappears
  24. and there is never any data to be read.
  25. config PORT_CHAN
  26. bool "port channel support"
  27. help
  28. This option enables support for attaching UML consoles and serial
  29. lines to host portals. They may be accessed with 'telnet <host>
  30. <port number>'. Any number of consoles and serial lines may be
  31. attached to a single portal, although what UML device you get when
  32. you telnet to that portal will be unpredictable.
  33. It is safe to say 'Y' here.
  34. config PTY_CHAN
  35. bool "pty channel support"
  36. help
  37. This option enables support for attaching UML consoles and serial
  38. lines to host pseudo-terminals. Access to both traditional
  39. pseudo-terminals (/dev/pty*) and pts pseudo-terminals are controlled
  40. with this option. The assignment of UML devices to host devices
  41. will be announced in the kernel message log.
  42. It is safe to say 'Y' here.
  43. config TTY_CHAN
  44. bool "tty channel support"
  45. help
  46. This option enables support for attaching UML consoles and serial
  47. lines to host terminals. Access to both virtual consoles
  48. (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and
  49. /dev/pts/*) are controlled by this option.
  50. It is safe to say 'Y' here.
  51. config XTERM_CHAN
  52. bool "xterm channel support"
  53. help
  54. This option enables support for attaching UML consoles and serial
  55. lines to xterms. Each UML device so assigned will be brought up in
  56. its own xterm.
  57. It is safe to say 'Y' here.
  58. config NOCONFIG_CHAN
  59. bool
  60. default !(XTERM_CHAN && TTY_CHAN && PTY_CHAN && PORT_CHAN && NULL_CHAN)
  61. config CON_ZERO_CHAN
  62. string "Default main console channel initialization"
  63. default "fd:0,fd:1"
  64. help
  65. This is the string describing the channel to which the main console
  66. will be attached by default. This value can be overridden from the
  67. command line. The default value is "fd:0,fd:1", which attaches the
  68. main console to stdin and stdout.
  69. It is safe to leave this unchanged.
  70. config CON_CHAN
  71. string "Default console channel initialization"
  72. default "xterm"
  73. help
  74. This is the string describing the channel to which all consoles
  75. except the main console will be attached by default. This value can
  76. be overridden from the command line. The default value is "xterm",
  77. which brings them up in xterms.
  78. It is safe to leave this unchanged, although you may wish to change
  79. this if you expect the UML that you build to be run in environments
  80. which don't have X or xterm available.
  81. config SSL_CHAN
  82. string "Default serial line channel initialization"
  83. default "pty"
  84. help
  85. This is the string describing the channel to which the serial lines
  86. will be attached by default. This value can be overridden from the
  87. command line. The default value is "pty", which attaches them to
  88. traditional pseudo-terminals.
  89. It is safe to leave this unchanged, although you may wish to change
  90. this if you expect the UML that you build to be run in environments
  91. which don't have a set of /dev/pty* devices.
  92. config UNIX98_PTYS
  93. bool "Unix98 PTY support"
  94. help
  95. A pseudo terminal (PTY) is a software device consisting of two
  96. halves: a master and a slave. The slave device behaves identical to
  97. a physical terminal; the master device is used by a process to
  98. read data from and write data to the slave, thereby emulating a
  99. terminal. Typical programs for the master side are telnet servers
  100. and xterms.
  101. Linux has traditionally used the BSD-like names /dev/ptyxx for
  102. masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
  103. has a number of problems. The GNU C library glibc 2.1 and later,
  104. however, supports the Unix98 naming standard: in order to acquire a
  105. pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
  106. terminal is then made available to the process and the pseudo
  107. terminal slave can be accessed as /dev/pts/<number>. What was
  108. traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
  109. All modern Linux systems use the Unix98 ptys. Say Y unless
  110. you're on an embedded system and want to conserve memory.
  111. config LEGACY_PTYS
  112. bool "Legacy (BSD) PTY support"
  113. default y
  114. help
  115. A pseudo terminal (PTY) is a software device consisting of two
  116. halves: a master and a slave. The slave device behaves identical to
  117. a physical terminal; the master device is used by a process to
  118. read data from and write data to the slave, thereby emulating a
  119. terminal. Typical programs for the master side are telnet servers
  120. and xterms.
  121. Linux has traditionally used the BSD-like names /dev/ptyxx
  122. for masters and /dev/ttyxx for slaves of pseudo
  123. terminals. This scheme has a number of problems, including
  124. security. This option enables these legacy devices; on most
  125. systems, it is safe to say N.
  126. config RAW_DRIVER
  127. tristate "RAW driver (/dev/raw/rawN)"
  128. depends on BLOCK
  129. help
  130. The raw driver permits block devices to be bound to /dev/raw/rawN.
  131. Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
  132. See the raw(8) manpage for more details.
  133. Applications should preferably open the device (eg /dev/hda1)
  134. with the O_DIRECT flag.
  135. config MAX_RAW_DEVS
  136. int "Maximum number of RAW devices to support (1-8192)"
  137. depends on RAW_DRIVER
  138. default "256"
  139. help
  140. The maximum number of RAW devices that are supported.
  141. Default is 256. Increase this number in case you need lots of
  142. raw devices.
  143. config LEGACY_PTY_COUNT
  144. int "Maximum number of legacy PTY in use"
  145. depends on LEGACY_PTYS
  146. default "256"
  147. help
  148. The maximum number of legacy PTYs that can be used at any one time.
  149. The default is 256, and should be more than enough. Embedded
  150. systems may want to reduce this to save memory.
  151. When not in use, each legacy PTY occupies 12 bytes on 32-bit
  152. architectures and 24 bytes on 64-bit architectures.
  153. config WATCHDOG
  154. bool "Watchdog Timer Support"
  155. config WATCHDOG_NOWAYOUT
  156. bool "Disable watchdog shutdown on close"
  157. depends on WATCHDOG
  158. config SOFT_WATCHDOG
  159. tristate "Software Watchdog"
  160. depends on WATCHDOG
  161. config UML_WATCHDOG
  162. tristate "UML watchdog"
  163. depends on WATCHDOG
  164. config UML_SOUND
  165. tristate "Sound support"
  166. help
  167. This option enables UML sound support. If enabled, it will pull in
  168. soundcore and the UML hostaudio relay, which acts as a intermediary
  169. between the host's dsp and mixer devices and the UML sound system.
  170. It is safe to say 'Y' here.
  171. config SOUND
  172. tristate
  173. default UML_SOUND
  174. config SOUND_OSS_CORE
  175. bool
  176. default UML_SOUND
  177. config HOSTAUDIO
  178. tristate
  179. default UML_SOUND
  180. #It is selected elsewhere, so kconfig would warn without this.
  181. config HW_RANDOM
  182. tristate
  183. default n
  184. config UML_RANDOM
  185. tristate "Hardware random number generator"
  186. help
  187. This option enables UML's "hardware" random number generator. It
  188. attaches itself to the host's /dev/random, supplying as much entropy
  189. as the host has, rather than the small amount the UML gets from its
  190. own drivers. It registers itself as a standard hardware random number
  191. generator, major 10, minor 183, and the canonical device name is
  192. /dev/hwrng.
  193. The way to make use of this is to install the rng-tools package
  194. (check your distro, or download from
  195. http://sourceforge.net/projects/gkernel/). rngd periodically reads
  196. /dev/hwrng and injects the entropy into /dev/random.
  197. config MMAPPER
  198. tristate "iomem emulation driver"
  199. help
  200. This driver allows a host file to be used as emulated IO memory inside
  201. UML.
  202. endmenu