Kconfig 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279
  1. #
  2. # The 8250/16550 serial drivers. You shouldn't be in this list unless
  3. # you somehow have an implicit or explicit dependency on SERIAL_8250.
  4. #
  5. config SERIAL_8250
  6. tristate "8250/16550 and compatible serial support"
  7. select SERIAL_CORE
  8. ---help---
  9. This selects whether you want to include the driver for the standard
  10. serial ports. The standard answer is Y. People who might say N
  11. here are those that are setting up dedicated Ethernet WWW/FTP
  12. servers, or users that have one of the various bus mice instead of a
  13. serial mouse and don't intend to use their machine's standard serial
  14. port for anything. (Note that the Cyclades and Stallion multi
  15. serial port drivers do not need this driver built in for them to
  16. work.)
  17. To compile this driver as a module, choose M here: the
  18. module will be called 8250.
  19. [WARNING: Do not compile this driver as a module if you are using
  20. non-standard serial ports, since the configuration information will
  21. be lost when the driver is unloaded. This limitation may be lifted
  22. in the future.]
  23. BTW1: If you have a mouseman serial mouse which is not recognized by
  24. the X window system, try running gpm first.
  25. BTW2: If you intend to use a software modem (also called Winmodem)
  26. under Linux, forget it. These modems are crippled and require
  27. proprietary drivers which are only available under Windows.
  28. Most people will say Y or M here, so that they can use serial mice,
  29. modems and similar devices connecting to the standard serial ports.
  30. config SERIAL_8250_PNP
  31. bool "8250/16550 PNP device support" if EXPERT
  32. depends on SERIAL_8250 && PNP
  33. default y
  34. ---help---
  35. This builds standard PNP serial support. You may be able to
  36. disable this feature if you only need legacy serial support.
  37. config SERIAL_8250_CONSOLE
  38. bool "Console on 8250/16550 and compatible serial port"
  39. depends on SERIAL_8250=y
  40. select SERIAL_CORE_CONSOLE
  41. ---help---
  42. If you say Y here, it will be possible to use a serial port as the
  43. system console (the system console is the device which receives all
  44. kernel messages and warnings and which allows logins in single user
  45. mode). This could be useful if some terminal or printer is connected
  46. to that serial port.
  47. Even if you say Y here, the currently visible virtual console
  48. (/dev/tty0) will still be used as the system console by default, but
  49. you can alter that using a kernel command line option such as
  50. "console=ttyS1". (Try "man bootparam" or see the documentation of
  51. your boot loader (grub or lilo or loadlin) about how to pass options
  52. to the kernel at boot time.)
  53. If you don't have a VGA card installed and you say Y here, the
  54. kernel will automatically use the first serial line, /dev/ttyS0, as
  55. system console.
  56. You can set that using a kernel command line option such as
  57. "console=uart8250,io,0x3f8,9600n8"
  58. "console=uart8250,mmio,0xff5e0000,115200n8".
  59. and it will switch to normal serial console when the corresponding
  60. port is ready.
  61. "earlycon=uart8250,io,0x3f8,9600n8"
  62. "earlycon=uart8250,mmio,0xff5e0000,115200n8".
  63. it will not only setup early console.
  64. If unsure, say N.
  65. config FIX_EARLYCON_MEM
  66. bool
  67. depends on X86
  68. default y
  69. config SERIAL_8250_GSC
  70. tristate
  71. depends on SERIAL_8250 && GSC
  72. default SERIAL_8250
  73. config SERIAL_8250_PCI
  74. tristate "8250/16550 PCI device support" if EXPERT
  75. depends on SERIAL_8250 && PCI
  76. default SERIAL_8250
  77. help
  78. This builds standard PCI serial support. You may be able to
  79. disable this feature if you only need legacy serial support.
  80. Saves about 9K.
  81. config SERIAL_8250_HP300
  82. tristate
  83. depends on SERIAL_8250 && HP300
  84. default SERIAL_8250
  85. config SERIAL_8250_CS
  86. tristate "8250/16550 PCMCIA device support"
  87. depends on PCMCIA && SERIAL_8250
  88. ---help---
  89. Say Y here to enable support for 16-bit PCMCIA serial devices,
  90. including serial port cards, modems, and the modem functions of
  91. multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are
  92. credit-card size devices often used with laptops.)
  93. To compile this driver as a module, choose M here: the
  94. module will be called serial_cs.
  95. If unsure, say N.
  96. config SERIAL_8250_NR_UARTS
  97. int "Maximum number of 8250/16550 serial ports"
  98. depends on SERIAL_8250
  99. default "4"
  100. help
  101. Set this to the number of serial ports you want the driver
  102. to support. This includes any ports discovered via ACPI or
  103. PCI enumeration and any ports that may be added at run-time
  104. via hot-plug, or any ISA multi-port serial cards.
  105. config SERIAL_8250_RUNTIME_UARTS
  106. int "Number of 8250/16550 serial ports to register at runtime"
  107. depends on SERIAL_8250
  108. range 0 SERIAL_8250_NR_UARTS
  109. default "4"
  110. help
  111. Set this to the maximum number of serial ports you want
  112. the kernel to register at boot time. This can be overridden
  113. with the module parameter "nr_uarts", or boot-time parameter
  114. 8250.nr_uarts
  115. config SERIAL_8250_EXTENDED
  116. bool "Extended 8250/16550 serial driver options"
  117. depends on SERIAL_8250
  118. help
  119. If you wish to use any non-standard features of the standard "dumb"
  120. driver, say Y here. This includes HUB6 support, shared serial
  121. interrupts, special multiport support, support for more than the
  122. four COM 1/2/3/4 boards, etc.
  123. Note that the answer to this question won't directly affect the
  124. kernel: saying N will just cause the configurator to skip all
  125. the questions about serial driver options. If unsure, say N.
  126. config SERIAL_8250_MANY_PORTS
  127. bool "Support more than 4 legacy serial ports"
  128. depends on SERIAL_8250_EXTENDED && !IA64
  129. help
  130. Say Y here if you have dumb serial boards other than the four
  131. standard COM 1/2/3/4 ports. This may happen if you have an AST
  132. FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available
  133. from <http://www.tldp.org/docs.html#howto>), or other custom
  134. serial port hardware which acts similar to standard serial port
  135. hardware. If you only use the standard COM 1/2/3/4 ports, you can
  136. say N here to save some memory. You can also say Y if you have an
  137. "intelligent" multiport card such as Cyclades, Digiboards, etc.
  138. #
  139. # Multi-port serial cards
  140. #
  141. config SERIAL_8250_FOURPORT
  142. tristate "Support Fourport cards"
  143. depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
  144. help
  145. Say Y here if you have an AST FourPort serial board.
  146. To compile this driver as a module, choose M here: the module
  147. will be called 8250_fourport.
  148. config SERIAL_8250_ACCENT
  149. tristate "Support Accent cards"
  150. depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
  151. help
  152. Say Y here if you have an Accent Async serial board.
  153. To compile this driver as a module, choose M here: the module
  154. will be called 8250_accent.
  155. config SERIAL_8250_BOCA
  156. tristate "Support Boca cards"
  157. depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
  158. help
  159. Say Y here if you have a Boca serial board. Please read the Boca
  160. mini-HOWTO, available from <http://www.tldp.org/docs.html#howto>
  161. To compile this driver as a module, choose M here: the module
  162. will be called 8250_boca.
  163. config SERIAL_8250_EXAR_ST16C554
  164. tristate "Support Exar ST16C554/554D Quad UART"
  165. depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
  166. help
  167. The Uplogix Envoy TU301 uses this Exar Quad UART. If you are
  168. tinkering with your Envoy TU301, or have a machine with this UART,
  169. say Y here.
  170. To compile this driver as a module, choose M here: the module
  171. will be called 8250_exar_st16c554.
  172. config SERIAL_8250_HUB6
  173. tristate "Support Hub6 cards"
  174. depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
  175. help
  176. Say Y here if you have a HUB6 serial board.
  177. To compile this driver as a module, choose M here: the module
  178. will be called 8250_hub6.
  179. #
  180. # Misc. options/drivers.
  181. #
  182. config SERIAL_8250_SHARE_IRQ
  183. bool "Support for sharing serial interrupts"
  184. depends on SERIAL_8250_EXTENDED
  185. help
  186. Some serial boards have hardware support which allows multiple dumb
  187. serial ports on the same board to share a single IRQ. To enable
  188. support for this in the serial driver, say Y here.
  189. config SERIAL_8250_DETECT_IRQ
  190. bool "Autodetect IRQ on standard ports (unsafe)"
  191. depends on SERIAL_8250_EXTENDED
  192. help
  193. Say Y here if you want the kernel to try to guess which IRQ
  194. to use for your serial port.
  195. This is considered unsafe; it is far better to configure the IRQ in
  196. a boot script using the setserial command.
  197. If unsure, say N.
  198. config SERIAL_8250_RSA
  199. bool "Support RSA serial ports"
  200. depends on SERIAL_8250_EXTENDED
  201. help
  202. ::: To be written :::
  203. config SERIAL_8250_ACORN
  204. tristate "Acorn expansion card serial port support"
  205. depends on ARCH_ACORN && SERIAL_8250
  206. help
  207. If you have an Atomwide Serial card or Serial Port card for an Acorn
  208. system, say Y to this option. The driver can handle 1, 2, or 3 port
  209. cards. If unsure, say N.
  210. config SERIAL_8250_RM9K
  211. bool "Support for MIPS RM9xxx integrated serial port"
  212. depends on SERIAL_8250 != n && SERIAL_RM9000
  213. select SERIAL_8250_SHARE_IRQ
  214. help
  215. Selecting this option will add support for the integrated serial
  216. port hardware found on MIPS RM9122 and similar processors.
  217. If unsure, say N.
  218. config SERIAL_8250_FSL
  219. bool
  220. depends on SERIAL_8250_CONSOLE && PPC_UDBG_16550
  221. default PPC
  222. config SERIAL_8250_DW
  223. tristate "Support for Synopsys DesignWare 8250 quirks"
  224. depends on SERIAL_8250 && OF
  225. help
  226. Selecting this option will enable handling of the extra features
  227. present in the Synopsys DesignWare APB UART.
  228. config SERIAL_8250_EM
  229. tristate "Support for Emma Mobile integrated serial port"
  230. depends on SERIAL_8250 && ARM && HAVE_CLK
  231. help
  232. Selecting this option will add support for the integrated serial
  233. port hardware found on the Emma Mobile line of processors.
  234. If unsure, say N.