Kconfig 11 KB

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