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