blob: 037c1e0b7c4c5bd137c0720ccaa3210716c09435 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Serial device configuration
3#
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5menu "Serial drivers"
Martin Schwidefskye25df122007-05-10 15:45:57 +02006 depends on HAS_IOMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8#
9# The new 8250/16550 serial drivers
10config SERIAL_8250
11 tristate "8250/16550 and compatible serial support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 select SERIAL_CORE
13 ---help---
14 This selects whether you want to include the driver for the standard
15 serial ports. The standard answer is Y. People who might say N
16 here are those that are setting up dedicated Ethernet WWW/FTP
17 servers, or users that have one of the various bus mice instead of a
18 serial mouse and don't intend to use their machine's standard serial
19 port for anything. (Note that the Cyclades and Stallion multi
20 serial port drivers do not need this driver built in for them to
21 work.)
22
23 To compile this driver as a module, choose M here: the
Timothy Charles McGrathdf7559d2006-01-23 09:50:09 +000024 module will be called 8250.
Linus Torvalds1da177e2005-04-16 15:20:36 -070025 [WARNING: Do not compile this driver as a module if you are using
26 non-standard serial ports, since the configuration information will
27 be lost when the driver is unloaded. This limitation may be lifted
28 in the future.]
29
30 BTW1: If you have a mouseman serial mouse which is not recognized by
31 the X window system, try running gpm first.
32
33 BTW2: If you intend to use a software modem (also called Winmodem)
34 under Linux, forget it. These modems are crippled and require
35 proprietary drivers which are only available under Windows.
36
37 Most people will say Y or M here, so that they can use serial mice,
38 modems and similar devices connecting to the standard serial ports.
39
40config SERIAL_8250_CONSOLE
41 bool "Console on 8250/16550 and compatible serial port"
42 depends on SERIAL_8250=y
43 select SERIAL_CORE_CONSOLE
44 ---help---
45 If you say Y here, it will be possible to use a serial port as the
46 system console (the system console is the device which receives all
47 kernel messages and warnings and which allows logins in single user
48 mode). This could be useful if some terminal or printer is connected
49 to that serial port.
50
51 Even if you say Y here, the currently visible virtual console
52 (/dev/tty0) will still be used as the system console by default, but
53 you can alter that using a kernel command line option such as
54 "console=ttyS1". (Try "man bootparam" or see the documentation of
55 your boot loader (grub or lilo or loadlin) about how to pass options
56 to the kernel at boot time.)
57
58 If you don't have a VGA card installed and you say Y here, the
59 kernel will automatically use the first serial line, /dev/ttyS0, as
60 system console.
61
Matt LaPlante01dd2fb2007-10-20 01:34:40 +020062 You can set that using a kernel command line option such as
Yinghai Lu18a8bd92007-07-15 23:37:59 -070063 "console=uart8250,io,0x3f8,9600n8"
64 "console=uart8250,mmio,0xff5e0000,115200n8".
Matt LaPlante01dd2fb2007-10-20 01:34:40 +020065 and it will switch to normal serial console when the corresponding
66 port is ready.
Yinghai Lu18a8bd92007-07-15 23:37:59 -070067 "earlycon=uart8250,io,0x3f8,9600n8"
68 "earlycon=uart8250,mmio,0xff5e0000,115200n8".
69 it will not only setup early console.
70
Linus Torvalds1da177e2005-04-16 15:20:36 -070071 If unsure, say N.
72
Yinghai Lu18a8bd92007-07-15 23:37:59 -070073config FIX_EARLYCON_MEM
74 bool
75 depends on X86
76 default y
77
Russell King0cff2602006-03-29 22:03:38 +010078config SERIAL_8250_GSC
79 tristate
80 depends on SERIAL_8250 && GSC
81 default SERIAL_8250
82
83config SERIAL_8250_PCI
84 tristate "8250/16550 PCI device support" if EMBEDDED
85 depends on SERIAL_8250 && PCI
86 default SERIAL_8250
87 help
Andrew Morton57d48102007-07-31 00:38:02 -070088 This builds standard PCI serial support. You may be able to
89 disable this feature if you only need legacy serial support.
90 Saves about 9K.
Russell King0cff2602006-03-29 22:03:38 +010091
92config SERIAL_8250_PNP
93 tristate "8250/16550 PNP device support" if EMBEDDED
94 depends on SERIAL_8250 && PNP
95 default SERIAL_8250
96 help
Andrew Morton57d48102007-07-31 00:38:02 -070097 This builds standard PNP serial support. You may be able to
98 disable this feature if you only need legacy serial support.
Russell King0cff2602006-03-29 22:03:38 +010099
100config SERIAL_8250_HP300
101 tristate
102 depends on SERIAL_8250 && HP300
103 default SERIAL_8250
104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105config SERIAL_8250_CS
106 tristate "8250/16550 PCMCIA device support"
107 depends on PCMCIA && SERIAL_8250
108 ---help---
109 Say Y here to enable support for 16-bit PCMCIA serial devices,
110 including serial port cards, modems, and the modem functions of
111 multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are
112 credit-card size devices often used with laptops.)
113
114 To compile this driver as a module, choose M here: the
115 module will be called serial_cs.
116
117 If unsure, say N.
118
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119config SERIAL_8250_NR_UARTS
Russell King026d02a2005-06-29 18:45:19 +0100120 int "Maximum number of 8250/16550 serial ports"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121 depends on SERIAL_8250
122 default "4"
Russell Kingec9f47c2005-06-27 11:12:54 +0100123 help
124 Set this to the number of serial ports you want the driver
125 to support. This includes any ports discovered via ACPI or
126 PCI enumeration and any ports that may be added at run-time
127 via hot-plug, or any ISA multi-port serial cards.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128
Dave Jonesa61c2d72006-01-07 23:18:19 +0000129config SERIAL_8250_RUNTIME_UARTS
130 int "Number of 8250/16550 serial ports to register at runtime"
131 depends on SERIAL_8250
Russell King9a8ffcc2006-02-03 22:05:42 +0000132 range 0 SERIAL_8250_NR_UARTS
Dave Jonesa61c2d72006-01-07 23:18:19 +0000133 default "4"
134 help
135 Set this to the maximum number of serial ports you want
Matt LaPlante09509602006-10-03 22:31:37 +0200136 the kernel to register at boot time. This can be overridden
Dave Jonesa61c2d72006-01-07 23:18:19 +0000137 with the module parameter "nr_uarts", or boot-time parameter
138 8250.nr_uarts
139
Linus Torvalds1da177e2005-04-16 15:20:36 -0700140config SERIAL_8250_EXTENDED
141 bool "Extended 8250/16550 serial driver options"
142 depends on SERIAL_8250
143 help
144 If you wish to use any non-standard features of the standard "dumb"
145 driver, say Y here. This includes HUB6 support, shared serial
146 interrupts, special multiport support, support for more than the
147 four COM 1/2/3/4 boards, etc.
148
149 Note that the answer to this question won't directly affect the
150 kernel: saying N will just cause the configurator to skip all
151 the questions about serial driver options. If unsure, say N.
152
153config SERIAL_8250_MANY_PORTS
154 bool "Support more than 4 legacy serial ports"
155 depends on SERIAL_8250_EXTENDED && !IA64
156 help
157 Say Y here if you have dumb serial boards other than the four
158 standard COM 1/2/3/4 ports. This may happen if you have an AST
159 FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available
160 from <http://www.tldp.org/docs.html#howto>), or other custom
161 serial port hardware which acts similar to standard serial port
162 hardware. If you only use the standard COM 1/2/3/4 ports, you can
163 say N here to save some memory. You can also say Y if you have an
164 "intelligent" multiport card such as Cyclades, Digiboards, etc.
165
Russell Kingec9f47c2005-06-27 11:12:54 +0100166#
167# Multi-port serial cards
168#
169
170config SERIAL_8250_FOURPORT
171 tristate "Support Fourport cards"
172 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
173 help
174 Say Y here if you have an AST FourPort serial board.
175
176 To compile this driver as a module, choose M here: the module
177 will be called 8250_fourport.
178
179config SERIAL_8250_ACCENT
180 tristate "Support Accent cards"
181 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
182 help
183 Say Y here if you have an Accent Async serial board.
184
185 To compile this driver as a module, choose M here: the module
186 will be called 8250_accent.
187
Russell Kingec9f47c2005-06-27 11:12:54 +0100188config SERIAL_8250_BOCA
189 tristate "Support Boca cards"
190 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
191 help
192 Say Y here if you have a Boca serial board. Please read the Boca
Matt LaPlante09509602006-10-03 22:31:37 +0200193 mini-HOWTO, available from <http://www.tldp.org/docs.html#howto>
Russell Kingec9f47c2005-06-27 11:12:54 +0100194
195 To compile this driver as a module, choose M here: the module
196 will be called 8250_boca.
197
Paul B Schroedere0980da2006-12-06 20:37:03 -0800198config SERIAL_8250_EXAR_ST16C554
199 tristate "Support Exar ST16C554/554D Quad UART"
200 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
201 help
202 The Uplogix Envoy TU301 uses this Exar Quad UART. If you are
203 tinkering with your Envoy TU301, or have a machine with this UART,
204 say Y here.
205
206 To compile this driver as a module, choose M here: the module
207 will be called 8250_exar_st16c554.
208
Russell Kingec9f47c2005-06-27 11:12:54 +0100209config SERIAL_8250_HUB6
210 tristate "Support Hub6 cards"
211 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
212 help
213 Say Y here if you have a HUB6 serial board.
214
215 To compile this driver as a module, choose M here: the module
216 will be called 8250_hub6.
217
Don Mullisbf4735a2006-12-10 02:18:37 -0800218config SERIAL_8250_SHARE_IRQ
219 bool "Support for sharing serial interrupts"
220 depends on SERIAL_8250_EXTENDED
221 help
222 Some serial boards have hardware support which allows multiple dumb
223 serial ports on the same board to share a single IRQ. To enable
224 support for this in the serial driver, say Y here.
225
226config SERIAL_8250_DETECT_IRQ
227 bool "Autodetect IRQ on standard ports (unsafe)"
228 depends on SERIAL_8250_EXTENDED
229 help
230 Say Y here if you want the kernel to try to guess which IRQ
231 to use for your serial port.
232
233 This is considered unsafe; it is far better to configure the IRQ in
234 a boot script using the setserial command.
235
236 If unsure, say N.
237
238config SERIAL_8250_RSA
239 bool "Support RSA serial ports"
240 depends on SERIAL_8250_EXTENDED
241 help
242 ::: To be written :::
243
Russell Kingec9f47c2005-06-27 11:12:54 +0100244config SERIAL_8250_MCA
245 tristate "Support 8250-type ports on MCA buses"
246 depends on SERIAL_8250 != n && MCA
247 help
248 Say Y here if you have a MCA serial ports.
249
250 To compile this driver as a module, choose M here: the module
251 will be called 8250_mca.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700252
253config SERIAL_8250_ACORN
254 tristate "Acorn expansion card serial port support"
Russell Kingec9f47c2005-06-27 11:12:54 +0100255 depends on ARCH_ACORN && SERIAL_8250
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256 help
257 If you have an Atomwide Serial card or Serial Port card for an Acorn
258 system, say Y to this option. The driver can handle 1, 2, or 3 port
259 cards. If unsure, say N.
260
Pantelis Antoniou21c614a2005-11-06 09:07:03 +0000261config SERIAL_8250_AU1X00
Sergei Shtylyov6e766452008-04-04 00:02:53 +0400262 bool "Au1x00 serial port support"
Pantelis Antoniou21c614a2005-11-06 09:07:03 +0000263 depends on SERIAL_8250 != n && SOC_AU1X00
264 help
Sergei Shtylyov6e766452008-04-04 00:02:53 +0400265 If you have an Au1x00 SOC based board and want to use the serial port,
266 say Y to this option. The driver can handle up to 4 serial ports,
267 depending on the SOC. If unsure, say N.
Pantelis Antoniou21c614a2005-11-06 09:07:03 +0000268
Thomas Koellerbd71c182007-05-06 14:48:47 -0700269config SERIAL_8250_RM9K
270 bool "Support for MIPS RM9xxx integrated serial port"
271 depends on SERIAL_8250 != n && SERIAL_RM9000
272 select SERIAL_8250_SHARE_IRQ
273 help
274 Selecting this option will add support for the integrated serial
275 port hardware found on MIPS RM9122 and similar processors.
276 If unsure, say N.
277
Russell Kingec9f47c2005-06-27 11:12:54 +0100278comment "Non-8250 serial port support"
279
Linus Torvalds1da177e2005-04-16 15:20:36 -0700280config SERIAL_AMBA_PL010
281 tristate "ARM AMBA PL010 serial port support"
Al Viro84b6a232005-08-23 22:46:16 +0100282 depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700283 select SERIAL_CORE
284 help
285 This selects the ARM(R) AMBA(R) PrimeCell PL010 UART. If you have
Lennert Buytenhek00584712007-02-05 16:10:22 -0800286 an Integrator/AP or Integrator/PP2 platform, or if you have a
287 Cirrus Logic EP93xx CPU, say Y or M here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288
289 If unsure, say N.
290
291config SERIAL_AMBA_PL010_CONSOLE
292 bool "Support for console on AMBA serial port"
293 depends on SERIAL_AMBA_PL010=y
294 select SERIAL_CORE_CONSOLE
295 ---help---
296 Say Y here if you wish to use an AMBA PrimeCell UART as the system
297 console (the system console is the device which receives all kernel
298 messages and warnings and which allows logins in single user mode).
299
300 Even if you say Y here, the currently visible framebuffer console
301 (/dev/tty0) will still be used as the system console by default, but
302 you can alter that using a kernel command line option such as
303 "console=ttyAM0". (Try "man bootparam" or see the documentation of
304 your boot loader (lilo or loadlin) about how to pass options to the
305 kernel at boot time.)
306
307config SERIAL_AMBA_PL011
308 tristate "ARM AMBA PL011 serial port support"
309 depends on ARM_AMBA
310 select SERIAL_CORE
311 help
312 This selects the ARM(R) AMBA(R) PrimeCell PL011 UART. If you have
313 an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M
314 here.
315
316 If unsure, say N.
317
318config SERIAL_AMBA_PL011_CONSOLE
319 bool "Support for console on AMBA serial port"
320 depends on SERIAL_AMBA_PL011=y
321 select SERIAL_CORE_CONSOLE
322 ---help---
323 Say Y here if you wish to use an AMBA PrimeCell UART as the system
324 console (the system console is the device which receives all kernel
325 messages and warnings and which allows logins in single user mode).
326
327 Even if you say Y here, the currently visible framebuffer console
328 (/dev/tty0) will still be used as the system console by default, but
329 you can alter that using a kernel command line option such as
Peter Korsgaardb22b4cd2006-09-29 02:00:23 -0700330 "console=ttyAMA0". (Try "man bootparam" or see the documentation of
Linus Torvalds1da177e2005-04-16 15:20:36 -0700331 your boot loader (lilo or loadlin) about how to pass options to the
332 kernel at boot time.)
333
Maciej W. Rozyckib45d5272007-07-17 04:03:50 -0700334config SERIAL_SB1250_DUART
335 tristate "BCM1xxx on-chip DUART serial support"
336 depends on SIBYTE_SB1xxx_SOC=y
337 select SERIAL_CORE
338 default y
339 ---help---
340 Support for the asynchronous serial interface (DUART) included in
341 the BCM1250 and derived System-On-a-Chip (SOC) devices. Note that
342 the letter D in DUART stands for "dual", which is how the device
343 is implemented. Depending on the SOC configuration there may be
344 one or more DUARTs available of which all are handled.
345
346 If unsure, say Y. To compile this driver as a module, choose M here:
347 the module will be called sb1250-duart.
348
349config SERIAL_SB1250_DUART_CONSOLE
350 bool "Support for console on a BCM1xxx DUART serial port"
351 depends on SERIAL_SB1250_DUART=y
352 select SERIAL_CORE_CONSOLE
353 default y
354 ---help---
355 If you say Y here, it will be possible to use a serial port as the
356 system console (the system console is the device which receives all
357 kernel messages and warnings and which allows logins in single user
358 mode).
359
360 If unsure, say Y.
361
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200362config SERIAL_ATMEL
363 bool "AT91 / AT32 on-chip serial port support"
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200364 depends on (ARM && ARCH_AT91) || AVR32
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000365 select SERIAL_CORE
366 help
Andrew Victorafefc412006-06-19 19:53:19 +0100367 This enables the driver for the on-chip UARTs of the Atmel
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200368 AT91 and AT32 processors.
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000369
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200370config SERIAL_ATMEL_CONSOLE
371 bool "Support for console on AT91 / AT32 serial port"
372 depends on SERIAL_ATMEL=y
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000373 select SERIAL_CORE_CONSOLE
374 help
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200375 Say Y here if you wish to use an on-chip UART on a Atmel
376 AT91 or AT32 processor as the system console (the system
377 console is the device which receives all kernel messages and
378 warnings and which allows logins in single user mode).
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000379
Chip Coldwella6670612008-02-08 04:21:06 -0800380config SERIAL_ATMEL_PDC
381 bool "Support DMA transfers on AT91 / AT32 serial port"
382 depends on SERIAL_ATMEL
383 default y
384 help
385 Say Y here if you wish to use the PDC to do DMA transfers to
386 and from the Atmel AT91 / AT32 serial port. In order to
387 actually use DMA transfers, make sure that the use_dma_tx
388 and use_dma_rx members in the atmel_uart_data struct is set
389 appropriately for each port.
390
391 Note that break and error handling currently doesn't work
392 properly when DMA is enabled. Make sure that ports where
393 this matters don't use DMA.
394
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200395config SERIAL_ATMEL_TTYAT
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200396 bool "Install as device ttyATn instead of ttySn"
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200397 depends on SERIAL_ATMEL=y
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000398 help
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200399 Say Y here if you wish to have the internal AT91 / AT32 UARTs
400 appear as /dev/ttyATn (major 204, minor starting at 154)
401 instead of the normal /dev/ttySn (major 4, minor starting at
402 64). This is necessary if you also want other UARTs, such as
403 external 8250/16C550 compatible UARTs.
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000404 The ttySn nodes are legally reserved for the 8250 serial driver
405 but are often misused by other serial drivers.
406
407 To use this, you should create suitable ttyATn device nodes in
408 /dev/, and pass "console=ttyATn" to the kernel.
409
410 Say Y if you have an external 8250/16C550 UART. If unsure, say N.
411
Andrew Victor2c7ee6a2007-05-11 21:37:25 +0100412config SERIAL_KS8695
413 bool "Micrel KS8695 (Centaur) serial port support"
414 depends on ARCH_KS8695
415 select SERIAL_CORE
416 help
417 This selects the Micrel Centaur KS8695 UART. Say Y here.
418
419config SERIAL_KS8695_CONSOLE
420 bool "Support for console on KS8695 (Centaur) serial port"
421 depends on SERIAL_KS8695=y
422 select SERIAL_CORE_CONSOLE
423 help
424 Say Y here if you wish to use a KS8695 (Centaur) UART as the
425 system console (the system console is the device which
426 receives all kernel messages and warnings and which allows
427 logins in single user mode).
428
Linus Torvalds1da177e2005-04-16 15:20:36 -0700429config SERIAL_CLPS711X
430 tristate "CLPS711X serial port support"
431 depends on ARM && ARCH_CLPS711X
432 select SERIAL_CORE
433 help
434 ::: To be written :::
435
436config SERIAL_CLPS711X_CONSOLE
437 bool "Support for console on CLPS711X serial port"
438 depends on SERIAL_CLPS711X=y
439 select SERIAL_CORE_CONSOLE
440 help
441 Even if you say Y here, the currently visible virtual console
442 (/dev/tty0) will still be used as the system console by default, but
443 you can alter that using a kernel command line option such as
444 "console=ttyCL1". (Try "man bootparam" or see the documentation of
445 your boot loader (lilo or loadlin) about how to pass options to the
446 kernel at boot time.)
447
Ben Dooksb4975492008-07-03 12:32:51 +0100448config SERIAL_SAMSUNG
449 tristate "Samsung SoC serial support"
Ben Dooksb690ace2008-10-21 14:07:03 +0100450 depends on ARM && PLAT_S3C
Arnaud Patard (Rtp19c1d6a2008-07-08 01:03:46 +0200451 select SERIAL_CORE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700452 help
Ben Dooks73e55cb2006-06-24 21:21:32 +0100453 Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700454 providing /dev/ttySAC0, 1 and 2 (note, some machines may not
455 provide all of these ports, depending on how the serial port
456 pins are configured.
457
Ben Dooks03d5e772008-11-03 09:21:23 +0000458config SERIAL_SAMSUNG_UARTS
459 int
Ben Dooks2fafae32009-01-08 13:21:17 +0000460 depends on ARM && PLAT_S3C
Ben Dooks03d5e772008-11-03 09:21:23 +0000461 default 2 if ARCH_S3C2400
462 default 4 if ARCH_S3C64XX || CPU_S3C2443
463 default 3
464 help
465 Select the number of available UART ports for the Samsung S3C
466 serial driver
467
Ben Dooksb4975492008-07-03 12:32:51 +0100468config SERIAL_SAMSUNG_DEBUG
469 bool "Samsung SoC serial debug"
Ben Dooks5fed4a32008-10-16 16:46:08 +0100470 depends on SERIAL_SAMSUNG && DEBUG_LL
Ben Dooksb4975492008-07-03 12:32:51 +0100471 help
472 Add support for debugging the serial driver. Since this is
473 generally being used as a console, we use our own output
474 routines that go via the low-level debug printascii()
475 function.
Ben Dooks73e55cb2006-06-24 21:21:32 +0100476
Ben Dooksb4975492008-07-03 12:32:51 +0100477config SERIAL_SAMSUNG_CONSOLE
478 bool "Support for console on Samsung SoC serial port"
479 depends on SERIAL_SAMSUNG=y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700480 select SERIAL_CORE_CONSOLE
481 help
Ben Dooks73e55cb2006-06-24 21:21:32 +0100482 Allow selection of the S3C24XX on-board serial ports for use as
Linus Torvalds1da177e2005-04-16 15:20:36 -0700483 an virtual console.
484
485 Even if you say Y here, the currently visible virtual console
486 (/dev/tty0) will still be used as the system console by default, but
487 you can alter that using a kernel command line option such as
488 "console=ttySACx". (Try "man bootparam" or see the documentation of
489 your boot loader about how to pass options to the kernel at
490 boot time.)
491
Ben Dooksb4975492008-07-03 12:32:51 +0100492config SERIAL_S3C2400
493 tristate "Samsung S3C2410 Serial port support"
494 depends on ARM && SERIAL_SAMSUNG && CPU_S3C2400
495 default y if CPU_S3C2400
496 help
497 Serial port support for the Samsung S3C2400 SoC
498
499config SERIAL_S3C2410
500 tristate "Samsung S3C2410 Serial port support"
501 depends on SERIAL_SAMSUNG && CPU_S3C2410
502 default y if CPU_S3C2410
503 help
504 Serial port support for the Samsung S3C2410 SoC
505
506config SERIAL_S3C2412
507 tristate "Samsung S3C2412/S3C2413 Serial port support"
508 depends on SERIAL_SAMSUNG && CPU_S3C2412
509 default y if CPU_S3C2412
510 help
511 Serial port support for the Samsung S3C2412 and S3C2413 SoC
512
513config SERIAL_S3C2440
514 tristate "Samsung S3C2440/S3C2442 Serial port support"
515 depends on SERIAL_SAMSUNG && (CPU_S3C2440 || CPU_S3C2442)
516 default y if CPU_S3C2440
517 default y if CPU_S3C2442
518 help
519 Serial port support for the Samsung S3C2440 and S3C2442 SoC
520
Sandeep Patil1d4bab02008-10-21 14:06:30 +0100521config SERIAL_S3C24A0
522 tristate "Samsung S3C24A0 Serial port support"
523 depends on SERIAL_SAMSUNG && CPU_S3C24A0
524 default y if CPU_S3C24A0
525 help
526 Serial port support for the Samsung S3C24A0 SoC
Ben Dooksb4975492008-07-03 12:32:51 +0100527
Ben Dooksb690ace2008-10-21 14:07:03 +0100528config SERIAL_S3C6400
529 tristate "Samsung S3C6400/S3C6410 Serial port support"
530 depends on SERIAL_SAMSUNG && (CPU_S3C600 || CPU_S3C6410)
531 default y
532 help
533 Serial port support for the Samsung S3C6400 and S3C6410
534 SoCs
535
Christian Pellegrin1dcb8842009-04-07 16:48:51 +0100536config SERIAL_MAX3100
537 tristate "MAX3100 support"
538 depends on SPI
539 select SERIAL_CORE
540 help
541 MAX3100 chip support
542
Linus Torvalds1da177e2005-04-16 15:20:36 -0700543config SERIAL_DZ
544 bool "DECstation DZ serial driver"
Ralf Baechle875d43e2005-09-03 15:56:16 -0700545 depends on MACH_DECSTATION && 32BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700546 select SERIAL_CORE
Maciej W. Rozycki7287d762008-02-07 00:15:09 -0800547 default y
548 ---help---
549 DZ11-family serial controllers for DECstations and VAXstations,
550 including the DC7085, M7814, and M7819.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700551
552config SERIAL_DZ_CONSOLE
553 bool "Support console on DECstation DZ serial driver"
554 depends on SERIAL_DZ=y
555 select SERIAL_CORE_CONSOLE
Maciej W. Rozycki7287d762008-02-07 00:15:09 -0800556 default y
557 ---help---
Linus Torvalds1da177e2005-04-16 15:20:36 -0700558 If you say Y here, it will be possible to use a serial port as the
559 system console (the system console is the device which receives all
560 kernel messages and warnings and which allows logins in single user
Maciej W. Rozycki7287d762008-02-07 00:15:09 -0800561 mode).
562
563 Note that the firmware uses ttyS3 as the serial console on
564 DECstations that use this driver.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700565
566 If unsure, say Y.
567
Maciej W. Rozycki8b4a4082007-07-18 00:49:11 -0700568config SERIAL_ZS
569 tristate "DECstation Z85C30 serial support"
570 depends on MACH_DECSTATION
571 select SERIAL_CORE
572 default y
573 ---help---
574 Support for the Zilog 85C350 serial communications controller used
575 for serial ports in newer DECstation systems. These include the
576 DECsystem 5900 and all models of the DECstation and DECsystem 5000
577 systems except from model 200.
578
579 If unsure, say Y. To compile this driver as a module, choose M here:
580 the module will be called zs.
581
582config SERIAL_ZS_CONSOLE
583 bool "Support for console on a DECstation Z85C30 serial port"
584 depends on SERIAL_ZS=y
585 select SERIAL_CORE_CONSOLE
586 default y
587 ---help---
588 If you say Y here, it will be possible to use a serial port as the
589 system console (the system console is the device which receives all
590 kernel messages and warnings and which allows logins in single user
591 mode).
592
593 Note that the firmware uses ttyS1 as the serial console on the
594 Maxine and ttyS3 on the others using this driver.
595
596 If unsure, say Y.
597
Linus Torvalds1da177e2005-04-16 15:20:36 -0700598config SERIAL_21285
599 tristate "DC21285 serial port support"
600 depends on ARM && FOOTBRIDGE
601 select SERIAL_CORE
602 help
603 If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
604 PCI bridge you can enable its onboard serial port by enabling this
605 option.
606
607config SERIAL_21285_CONSOLE
608 bool "Console on DC21285 serial port"
609 depends on SERIAL_21285=y
610 select SERIAL_CORE_CONSOLE
611 help
612 If you have enabled the serial port on the 21285 footbridge you can
613 make it the console by answering Y to this option.
614
615 Even if you say Y here, the currently visible virtual console
616 (/dev/tty0) will still be used as the system console by default, but
617 you can alter that using a kernel command line option such as
618 "console=ttyFB". (Try "man bootparam" or see the documentation of
619 your boot loader (lilo or loadlin) about how to pass options to the
620 kernel at boot time.)
621
Linus Torvalds1da177e2005-04-16 15:20:36 -0700622config SERIAL_MPSC
623 bool "Marvell MPSC serial port support"
624 depends on PPC32 && MV64X60
625 select SERIAL_CORE
626 help
627 Say Y here if you want to use the Marvell MPSC serial controller.
628
629config SERIAL_MPSC_CONSOLE
630 bool "Support for console on Marvell MPSC serial port"
631 depends on SERIAL_MPSC
632 select SERIAL_CORE_CONSOLE
633 help
634 Say Y here if you want to support a serial console on a Marvell MPSC.
635
636config SERIAL_PXA
637 bool "PXA serial port support"
Eric Miao56422552009-02-05 13:42:47 +0800638 depends on ARCH_PXA || ARCH_MMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700639 select SERIAL_CORE
640 help
641 If you have a machine based on an Intel XScale PXA2xx CPU you
642 can enable its onboard serial ports by enabling this option.
643
644config SERIAL_PXA_CONSOLE
645 bool "Console on PXA serial port"
646 depends on SERIAL_PXA
647 select SERIAL_CORE_CONSOLE
648 help
649 If you have enabled the serial port on the Intel XScale PXA
650 CPU you can make it the console by answering Y to this option.
651
652 Even if you say Y here, the currently visible virtual console
653 (/dev/tty0) will still be used as the system console by default, but
654 you can alter that using a kernel command line option such as
655 "console=ttySA0". (Try "man bootparam" or see the documentation of
656 your boot loader (lilo or loadlin) about how to pass options to the
657 kernel at boot time.)
658
659config SERIAL_SA1100
660 bool "SA1100 serial port support"
661 depends on ARM && ARCH_SA1100
662 select SERIAL_CORE
663 help
664 If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
665 can enable its onboard serial port by enabling this option.
666 Please read <file:Documentation/arm/SA1100/serial_UART> for further
667 info.
668
669config SERIAL_SA1100_CONSOLE
670 bool "Console on SA1100 serial port"
671 depends on SERIAL_SA1100
672 select SERIAL_CORE_CONSOLE
673 help
674 If you have enabled the serial port on the SA1100/SA1110 StrongARM
675 CPU you can make it the console by answering Y to this option.
676
677 Even if you say Y here, the currently visible virtual console
678 (/dev/tty0) will still be used as the system console by default, but
679 you can alter that using a kernel command line option such as
680 "console=ttySA0". (Try "man bootparam" or see the documentation of
681 your boot loader (lilo or loadlin) about how to pass options to the
682 kernel at boot time.)
683
Bryan Wu194de562007-05-06 14:50:30 -0700684config SERIAL_BFIN
685 tristate "Blackfin serial port support"
Mike Frysinger529a73f2007-11-23 14:28:44 +0800686 depends on BLACKFIN
Bryan Wu194de562007-05-06 14:50:30 -0700687 select SERIAL_CORE
688 select SERIAL_BFIN_UART0 if (BF531 || BF532 || BF533 || BF561)
689 help
690 Add support for the built-in UARTs on the Blackfin.
691
692 To compile this driver as a module, choose M here: the
693 module will be called bfin_5xx.
694
695config SERIAL_BFIN_CONSOLE
696 bool "Console on Blackfin serial port"
Adrian Bunk7111de72007-09-11 15:24:13 -0700697 depends on SERIAL_BFIN=y
Bryan Wu194de562007-05-06 14:50:30 -0700698 select SERIAL_CORE_CONSOLE
699
700choice
701 prompt "UART Mode"
702 depends on SERIAL_BFIN
703 default SERIAL_BFIN_DMA
704 help
705 This driver supports the built-in serial ports of the Blackfin family
706 of CPUs
707
708config SERIAL_BFIN_DMA
709 bool "DMA mode"
Mike Frysinger51a23012009-04-07 16:52:49 +0100710 depends on !DMA_UNCACHED_NONE && KGDB_SERIAL_CONSOLE=n
Bryan Wu194de562007-05-06 14:50:30 -0700711 help
712 This driver works under DMA mode. If this option is selected, the
713 blackfin simple dma driver is also enabled.
714
715config SERIAL_BFIN_PIO
716 bool "PIO mode"
717 help
718 This driver works under PIO mode.
719
720endchoice
721
722config SERIAL_BFIN_UART0
723 bool "Enable UART0"
724 depends on SERIAL_BFIN
725 help
726 Enable UART0
727
728config BFIN_UART0_CTSRTS
729 bool "Enable UART0 hardware flow control"
730 depends on SERIAL_BFIN_UART0
731 help
732 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
733 signal.
734
735config UART0_CTS_PIN
736 int "UART0 CTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100737 depends on BFIN_UART0_CTSRTS && !BF548
Bryan Wu194de562007-05-06 14:50:30 -0700738 default 23
739 help
740 The default pin is GPIO_GP7.
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100741 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Bryan Wu194de562007-05-06 14:50:30 -0700742
743config UART0_RTS_PIN
744 int "UART0 RTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100745 depends on BFIN_UART0_CTSRTS && !BF548
Bryan Wu194de562007-05-06 14:50:30 -0700746 default 22
747 help
748 The default pin is GPIO_GP6.
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100749 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Bryan Wu194de562007-05-06 14:50:30 -0700750
751config SERIAL_BFIN_UART1
752 bool "Enable UART1"
Michael Hennerich09545562008-02-02 15:58:30 +0800753 depends on SERIAL_BFIN && (!BF531 && !BF532 && !BF533 && !BF561)
Bryan Wu194de562007-05-06 14:50:30 -0700754 help
755 Enable UART1
756
757config BFIN_UART1_CTSRTS
758 bool "Enable UART1 hardware flow control"
759 depends on SERIAL_BFIN_UART1
760 help
761 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
762 signal.
763
764config UART1_CTS_PIN
765 int "UART1 CTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100766 depends on BFIN_UART1_CTSRTS && !BF548
Bryan Wu194de562007-05-06 14:50:30 -0700767 default -1
768 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100769 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Bryan Wu194de562007-05-06 14:50:30 -0700770
771config UART1_RTS_PIN
772 int "UART1 RTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100773 depends on BFIN_UART1_CTSRTS && !BF548
Bryan Wu194de562007-05-06 14:50:30 -0700774 default -1
775 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100776 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Bryan Wu194de562007-05-06 14:50:30 -0700777
Roy Huangf4d640c92007-07-12 16:43:46 +0800778config SERIAL_BFIN_UART2
779 bool "Enable UART2"
Michael Hennerichf933d3c2009-04-06 17:32:21 +0100780 depends on SERIAL_BFIN && (BF54x || BF538 || BF539)
Roy Huangf4d640c92007-07-12 16:43:46 +0800781 help
782 Enable UART2
783
784config BFIN_UART2_CTSRTS
785 bool "Enable UART2 hardware flow control"
786 depends on SERIAL_BFIN_UART2
787 help
788 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
789 signal.
790
791config UART2_CTS_PIN
792 int "UART2 CTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100793 depends on BFIN_UART2_CTSRTS && !BF548
Roy Huangf4d640c92007-07-12 16:43:46 +0800794 default -1
795 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100796 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Roy Huangf4d640c92007-07-12 16:43:46 +0800797
798config UART2_RTS_PIN
799 int "UART2 RTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100800 depends on BFIN_UART2_CTSRTS && !BF548
Roy Huangf4d640c92007-07-12 16:43:46 +0800801 default -1
802 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100803 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Roy Huangf4d640c92007-07-12 16:43:46 +0800804
805config SERIAL_BFIN_UART3
806 bool "Enable UART3"
807 depends on SERIAL_BFIN && (BF54x)
808 help
809 Enable UART3
810
811config BFIN_UART3_CTSRTS
812 bool "Enable UART3 hardware flow control"
813 depends on SERIAL_BFIN_UART3
814 help
815 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
816 signal.
817
Sonic Zhangd307d362009-04-07 16:52:26 +0100818config UART3_CTS_PIN
819 int "UART3 CTS pin"
820 depends on BFIN_UART3_CTSRTS && !BF548
821 default -1
822 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100823 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Sonic Zhangd307d362009-04-07 16:52:26 +0100824
825config UART3_RTS_PIN
826 int "UART3 RTS pin"
827 depends on BFIN_UART3_CTSRTS && !BF548
828 default -1
829 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100830 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Sonic Zhangd307d362009-04-07 16:52:26 +0100831
Linus Torvalds1da177e2005-04-16 15:20:36 -0700832config SERIAL_IMX
833 bool "IMX serial port support"
Sascha Hauere3d13ff2008-07-05 10:02:48 +0200834 depends on ARM && (ARCH_IMX || ARCH_MXC)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700835 select SERIAL_CORE
Oskar Schirmer534fca02009-06-11 14:52:23 +0100836 select RATIONAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700837 help
838 If you have a machine based on a Motorola IMX CPU you
839 can enable its onboard serial port by enabling this option.
840
841config SERIAL_IMX_CONSOLE
842 bool "Console on IMX serial port"
843 depends on SERIAL_IMX
844 select SERIAL_CORE_CONSOLE
845 help
846 If you have enabled the serial port on the Motorola IMX
847 CPU you can make it the console by answering Y to this option.
848
849 Even if you say Y here, the currently visible virtual console
850 (/dev/tty0) will still be used as the system console by default, but
851 you can alter that using a kernel command line option such as
852 "console=ttySA0". (Try "man bootparam" or see the documentation of
853 your boot loader (lilo or loadlin) about how to pass options to the
854 kernel at boot time.)
855
Peter Korsgaard238b8722006-12-06 20:35:17 -0800856config SERIAL_UARTLITE
857 tristate "Xilinx uartlite serial port support"
Michal Simek4286c2b2009-03-27 14:25:51 +0100858 depends on PPC32 || MICROBLAZE
Peter Korsgaard238b8722006-12-06 20:35:17 -0800859 select SERIAL_CORE
860 help
861 Say Y here if you want to use the Xilinx uartlite serial controller.
862
863 To compile this driver as a module, choose M here: the
Pavel Machek4737f092009-06-05 00:44:53 +0200864 module will be called uartlite.
Peter Korsgaard238b8722006-12-06 20:35:17 -0800865
866config SERIAL_UARTLITE_CONSOLE
867 bool "Support for console on Xilinx uartlite serial port"
868 depends on SERIAL_UARTLITE=y
869 select SERIAL_CORE_CONSOLE
870 help
871 Say Y here if you wish to use a Xilinx uartlite as the system
872 console (the system console is the device which receives all kernel
873 messages and warnings and which allows logins in single user mode).
874
Linus Torvalds1da177e2005-04-16 15:20:36 -0700875config SERIAL_SUNCORE
876 bool
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800877 depends on SPARC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700878 select SERIAL_CORE
879 select SERIAL_CORE_CONSOLE
880 default y
881
882config SERIAL_SUNZILOG
883 tristate "Sun Zilog8530 serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800884 depends on SPARC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700885 help
886 This driver supports the Zilog8530 serial ports found on many Sparc
887 systems. Say Y or M if you want to be able to these serial ports.
888
889config SERIAL_SUNZILOG_CONSOLE
890 bool "Console on Sun Zilog8530 serial port"
891 depends on SERIAL_SUNZILOG=y
892 help
893 If you would like to be able to use the Zilog8530 serial port
894 on your Sparc system as the console, you can do so by answering
895 Y to this option.
896
897config SERIAL_SUNSU
898 tristate "Sun SU serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800899 depends on SPARC && PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700900 help
901 This driver supports the 8250 serial ports that run the keyboard and
902 mouse on (PCI) UltraSPARC systems. Say Y or M if you want to be able
903 to these serial ports.
904
905config SERIAL_SUNSU_CONSOLE
906 bool "Console on Sun SU serial port"
907 depends on SERIAL_SUNSU=y
908 help
909 If you would like to be able to use the SU serial port
910 on your Sparc system as the console, you can do so by answering
911 Y to this option.
912
913config SERIAL_MUX
914 tristate "Serial MUX support"
Matthew Wilcox305f5162005-11-18 16:17:50 -0500915 depends on GSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700916 select SERIAL_CORE
917 default y
918 ---help---
919 Saying Y here will enable the hardware MUX serial driver for
Carlos O'Donelle45da352006-09-16 14:35:51 -0400920 the Nova, K class systems and D class with a 'remote control card'.
921 The hardware MUX is not 8250/16550 compatible therefore the
922 /dev/ttyB0 device is shared between the Serial MUX and the PDC
923 software console. The following steps need to be completed to use
924 the Serial MUX:
Linus Torvalds1da177e2005-04-16 15:20:36 -0700925
926 1. create the device entry (mknod /dev/ttyB0 c 11 0)
927 2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
928 3. Add device ttyB0 to /etc/securetty (if you want to log on as
929 root on this console.)
930 4. Change the kernel command console parameter to: console=ttyB0
931
932config SERIAL_MUX_CONSOLE
Adrian Bunk7111de72007-09-11 15:24:13 -0700933 bool "Support for console on serial MUX"
934 depends on SERIAL_MUX=y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700935 select SERIAL_CORE_CONSOLE
Adrian Bunk7111de72007-09-11 15:24:13 -0700936 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700937
938config PDC_CONSOLE
939 bool "PDC software console support"
940 depends on PARISC && !SERIAL_MUX && VT
941 default n
942 help
943 Saying Y here will enable the software based PDC console to be
944 used as the system console. This is useful for machines in
945 which the hardware based console has not been written yet. The
946 following steps must be competed to use the PDC console:
947
948 1. create the device entry (mknod /dev/ttyB0 c 11 0)
949 2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
950 3. Add device ttyB0 to /etc/securetty (if you want to log on as
951 root on this console.)
952 4. Change the kernel command console parameter to: console=ttyB0
953
954config SERIAL_SUNSAB
955 tristate "Sun Siemens SAB82532 serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800956 depends on SPARC && PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700957 help
958 This driver supports the Siemens SAB82532 DUSCC serial ports on newer
959 (PCI) UltraSPARC systems. Say Y or M if you want to be able to these
960 serial ports.
961
962config SERIAL_SUNSAB_CONSOLE
963 bool "Console on Sun Siemens SAB82532 serial port"
964 depends on SERIAL_SUNSAB=y
965 help
966 If you would like to be able to use the SAB82532 serial port
967 on your Sparc system as the console, you can do so by answering
968 Y to this option.
969
David S. Miller02fd4732006-02-11 02:25:21 -0800970config SERIAL_SUNHV
971 bool "Sun4v Hypervisor Console support"
972 depends on SPARC64
973 help
974 This driver supports the console device found on SUN4V Sparc
975 systems. Say Y if you want to be able to use this device.
976
Linus Torvalds1da177e2005-04-16 15:20:36 -0700977config SERIAL_IP22_ZILOG
Thomas Bogendoerfer5057c982008-02-06 01:37:26 -0800978 tristate "SGI Zilog8530 serial support"
979 depends on SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700980 select SERIAL_CORE
981 help
Thomas Bogendoerfer5057c982008-02-06 01:37:26 -0800982 This driver supports the Zilog8530 serial ports found on SGI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700983 systems. Say Y or M if you want to be able to these serial ports.
984
985config SERIAL_IP22_ZILOG_CONSOLE
Thomas Bogendoerfer5057c982008-02-06 01:37:26 -0800986 bool "Console on SGI Zilog8530 serial port"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700987 depends on SERIAL_IP22_ZILOG=y
988 select SERIAL_CORE_CONSOLE
989
Linus Torvalds1da177e2005-04-16 15:20:36 -0700990config SERIAL_SH_SCI
Paul Mundtecd95612006-09-27 17:32:30 +0900991 tristate "SuperH SCI(F) serial port support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700992 depends on SUPERH || H8300
993 select SERIAL_CORE
994
Paul Mundtecd95612006-09-27 17:32:30 +0900995config SERIAL_SH_SCI_NR_UARTS
996 int "Maximum number of SCI(F) serial ports"
997 depends on SERIAL_SH_SCI
998 default "2"
999
Linus Torvalds1da177e2005-04-16 15:20:36 -07001000config SERIAL_SH_SCI_CONSOLE
Paul Mundtecd95612006-09-27 17:32:30 +09001001 bool "Support for console on SuperH SCI(F)"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001002 depends on SERIAL_SH_SCI=y
1003 select SERIAL_CORE_CONSOLE
1004
Vitaly Woolde8211b2007-02-14 00:33:09 -08001005config SERIAL_PNX8XXX
1006 bool "Enable PNX8XXX SoCs' UART Support"
Ihar Hrachyshka11455be2009-01-27 11:50:46 +00001007 depends on MIPS && (SOC_PNX8550 || SOC_PNX833X)
Vitaly Woolde8211b2007-02-14 00:33:09 -08001008 select SERIAL_CORE
1009 help
1010 If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
1011 and you want to use serial ports, say Y. Otherwise, say N.
1012
1013config SERIAL_PNX8XXX_CONSOLE
1014 bool "Enable PNX8XX0 serial console"
1015 depends on SERIAL_PNX8XXX
1016 select SERIAL_CORE_CONSOLE
1017 help
1018 If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
1019 and you want to use serial console, say Y. Otherwise, say N.
1020
Linus Torvalds1da177e2005-04-16 15:20:36 -07001021config SERIAL_CORE
1022 tristate
1023
1024config SERIAL_CORE_CONSOLE
1025 bool
1026
Jason Wesself2d937f2008-04-17 20:05:37 +02001027config CONSOLE_POLL
1028 bool
1029
Linus Torvalds1da177e2005-04-16 15:20:36 -07001030config SERIAL_68328
1031 bool "68328 serial support"
1032 depends on M68328 || M68EZ328 || M68VZ328
1033 help
1034 This driver supports the built-in serial port of the Motorola 68328
Matt LaPlante09509602006-10-03 22:31:37 +02001035 (standard, EZ and VZ varieties).
Linus Torvalds1da177e2005-04-16 15:20:36 -07001036
1037config SERIAL_68328_RTS_CTS
1038 bool "Support RTS/CTS on 68328 serial port"
1039 depends on SERIAL_68328
1040
Greg Ungererae1b5f02008-02-01 17:32:00 +10001041config SERIAL_MCF
Adrian Bunk02f11f32008-10-13 10:31:59 +01001042 bool "Coldfire serial support"
Greg Ungererae1b5f02008-02-01 17:32:00 +10001043 depends on COLDFIRE
1044 select SERIAL_CORE
1045 help
Adrian Bunk02f11f32008-10-13 10:31:59 +01001046 This serial driver supports the Freescale Coldfire serial ports.
Greg Ungererae1b5f02008-02-01 17:32:00 +10001047
1048config SERIAL_MCF_BAUDRATE
1049 int "Default baudrate for Coldfire serial ports"
1050 depends on SERIAL_MCF
1051 default 19200
1052 help
1053 This setting lets you define what the default baudrate is for the
1054 ColdFire serial ports. The usual default varies from board to board,
1055 and this setting is a way of catering for that.
1056
1057config SERIAL_MCF_CONSOLE
1058 bool "Coldfire serial console support"
1059 depends on SERIAL_MCF
1060 select SERIAL_CORE_CONSOLE
1061 help
1062 Enable a ColdFire internal serial port to be the system console.
1063
Linus Torvalds1da177e2005-04-16 15:20:36 -07001064config SERIAL_68360_SMC
1065 bool "68360 SMC uart support"
1066 depends on M68360
1067 help
1068 This driver supports the SMC serial ports of the Motorola 68360 CPU.
1069
1070config SERIAL_68360_SCC
1071 bool "68360 SCC uart support"
1072 depends on M68360
1073 help
1074 This driver supports the SCC serial ports of the Motorola 68360 CPU.
1075
1076config SERIAL_68360
1077 bool
1078 depends on SERIAL_68360_SMC || SERIAL_68360_SCC
1079 default y
1080
1081config SERIAL_PMACZILOG
1082 tristate "PowerMac z85c30 ESCC support"
1083 depends on PPC_OF && PPC_PMAC
1084 select SERIAL_CORE
1085 help
1086 This driver supports the Zilog z85C30 serial ports found on
1087 PowerMac machines.
1088 Say Y or M if you want to be able to these serial ports.
1089
David Woodhousee4533b22007-04-05 00:19:43 +10001090config SERIAL_PMACZILOG_TTYS
1091 bool "Use ttySn device nodes for Zilog z85c30"
1092 depends on SERIAL_PMACZILOG
1093 help
1094 The pmac_zilog driver for the z85C30 chip on many powermacs
1095 historically used the device numbers for /dev/ttySn. The
1096 8250 serial port driver also uses these numbers, which means
1097 the two drivers being unable to coexist; you could not use
1098 both z85C30 and 8250 type ports at the same time.
1099
1100 If this option is not selected, the pmac_zilog driver will
1101 use the device numbers allocated for /dev/ttyPZn. This allows
1102 the pmac_zilog and 8250 drivers to co-exist, but may cause
1103 existing userspace setups to break. Programs that need to
1104 access the built-in serial ports on powermacs will need to
1105 be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.
1106
1107 If you enable this option, any z85c30 ports in the system will
1108 be registered as ttyS0 onwards as in the past, and you will be
1109 unable to use the 8250 module for PCMCIA or other 16C550-style
1110 UARTs.
1111
1112 Say N unless you need the z85c30 ports on your powermac
1113 to appear as /dev/ttySn.
1114
Linus Torvalds1da177e2005-04-16 15:20:36 -07001115config SERIAL_PMACZILOG_CONSOLE
1116 bool "Console on PowerMac z85c30 serial port"
1117 depends on SERIAL_PMACZILOG=y
1118 select SERIAL_CORE_CONSOLE
1119 help
1120 If you would like to be able to use the z85c30 serial port
1121 on your PowerMac as the console, you can do so by answering
1122 Y to this option.
1123
1124config SERIAL_LH7A40X
1125 tristate "Sharp LH7A40X embedded UART support"
1126 depends on ARM && ARCH_LH7A40X
1127 select SERIAL_CORE
1128 help
1129 This enables support for the three on-board UARTs of the
1130 Sharp LH7A40X series CPUs. Choose Y or M.
1131
1132config SERIAL_LH7A40X_CONSOLE
1133 bool "Support for console on Sharp LH7A40X serial port"
1134 depends on SERIAL_LH7A40X=y
1135 select SERIAL_CORE_CONSOLE
1136 help
1137 Say Y here if you wish to use one of the serial ports as the
1138 system console--the system console is the device which
1139 receives all kernel messages and warnings and which allows
1140 logins in single user mode.
1141
1142 Even if you say Y here, the currently visible framebuffer console
1143 (/dev/tty0) will still be used as the default system console, but
1144 you can alter that using a kernel command line, for example
1145 "console=ttyAM1".
1146
1147config SERIAL_CPM
1148 tristate "CPM SCC/SMC serial port support"
1149 depends on CPM2 || 8xx
1150 select SERIAL_CORE
1151 help
1152 This driver supports the SCC and SMC serial ports on Motorola
1153 embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
1154
1155config SERIAL_CPM_CONSOLE
1156 bool "Support for console on CPM SCC/SMC serial port"
1157 depends on SERIAL_CPM=y
1158 select SERIAL_CORE_CONSOLE
1159 help
1160 Say Y here if you wish to use a SCC or SMC CPM UART as the system
1161 console (the system console is the device which receives all kernel
1162 messages and warnings and which allows logins in single user mode).
1163
1164 Even if you say Y here, the currently visible framebuffer console
1165 (/dev/tty0) will still be used as the system console by default, but
1166 you can alter that using a kernel command line option such as
1167 "console=ttyCPM0". (Try "man bootparam" or see the documentation of
1168 your boot loader (lilo or loadlin) about how to pass options to the
1169 kernel at boot time.)
1170
Linus Torvalds1da177e2005-04-16 15:20:36 -07001171config SERIAL_SGI_L1_CONSOLE
1172 bool "SGI Altix L1 serial console support"
1173 depends on IA64_GENERIC || IA64_SGI_SN2
1174 select SERIAL_CORE
1175 select SERIAL_CORE_CONSOLE
1176 help
1177 If you have an SGI Altix and you would like to use the system
1178 controller serial port as your console (you want this!),
1179 say Y. Otherwise, say N.
1180
1181config SERIAL_MPC52xx
John Rigby25ae3a02008-01-29 04:28:56 +11001182 tristate "Freescale MPC52xx/MPC512x family PSC serial support"
1183 depends on PPC_MPC52xx || PPC_MPC512x
Linus Torvalds1da177e2005-04-16 15:20:36 -07001184 select SERIAL_CORE
1185 help
John Rigby25ae3a02008-01-29 04:28:56 +11001186 This driver supports MPC52xx and MPC512x PSC serial ports. If you would
1187 like to use them, you must answer Y or M to this option. Note that
Linus Torvalds1da177e2005-04-16 15:20:36 -07001188 for use as console, it must be included in kernel and not as a
1189 module.
1190
1191config SERIAL_MPC52xx_CONSOLE
John Rigby25ae3a02008-01-29 04:28:56 +11001192 bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001193 depends on SERIAL_MPC52xx=y
1194 select SERIAL_CORE_CONSOLE
1195 help
1196 Select this options if you'd like to use one of the PSC serial port
1197 of the Freescale MPC52xx family as a console.
1198
1199config SERIAL_MPC52xx_CONSOLE_BAUD
John Rigby25ae3a02008-01-29 04:28:56 +11001200 int "Freescale MPC52xx/MPC512x family PSC serial port baud"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001201 depends on SERIAL_MPC52xx_CONSOLE=y
1202 default "9600"
1203 help
1204 Select the MPC52xx console baud rate.
1205 This value is only used if the bootloader doesn't pass in the
1206 console baudrate
1207
1208config SERIAL_ICOM
1209 tristate "IBM Multiport Serial Adapter"
Stephen Rothwell145d01e2005-06-21 17:15:52 -07001210 depends on PCI && (PPC_ISERIES || PPC_PSERIES)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001211 select SERIAL_CORE
maximilian attemscb2fc532006-03-25 17:44:20 +00001212 select FW_LOADER
Linus Torvalds1da177e2005-04-16 15:20:36 -07001213 help
1214 This driver is for a family of multiport serial adapters
1215 including 2 port RVX, 2 port internal modem, 4 port internal
1216 modem and a split 1 port RVX and 1 port internal modem.
1217
1218 This driver can also be built as a module. If so, the module
1219 will be called icom.
1220
1221config SERIAL_M32R_SIO
1222 bool "M32R SIO I/F"
1223 depends on M32R
1224 default y
1225 select SERIAL_CORE
1226 help
1227 Say Y here if you want to use the M32R serial controller.
1228
1229config SERIAL_M32R_SIO_CONSOLE
1230 bool "use SIO console"
1231 depends on SERIAL_M32R_SIO=y
1232 select SERIAL_CORE_CONSOLE
1233 help
1234 Say Y here if you want to support a serial console.
1235
1236 If you use an M3T-M32700UT or an OPSPUT platform,
1237 please say also y for SERIAL_M32R_PLDSIO.
1238
1239config SERIAL_M32R_PLDSIO
1240 bool "M32R SIO I/F on a PLD"
Adrian Bunkd600b972006-01-13 21:57:22 +00001241 depends on SERIAL_M32R_SIO=y && (PLAT_OPSPUT || PLAT_USRV || PLAT_M32700UT)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001242 default n
1243 help
1244 Say Y here if you want to use the M32R serial controller
1245 on a PLD (Programmable Logic Device).
1246
1247 If you use an M3T-M32700UT or an OPSPUT platform,
1248 please say Y.
1249
1250config SERIAL_TXX9
1251 bool "TMPTX39XX/49XX SIO support"
Robert P. J. Daybef1f402006-12-12 20:04:19 +01001252 depends on HAS_TXX9_SERIAL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001253 select SERIAL_CORE
1254 default y
1255
1256config HAS_TXX9_SERIAL
1257 bool
1258
Atsushi Nemoto138c5d22007-02-10 01:45:05 -08001259config SERIAL_TXX9_NR_UARTS
1260 int "Maximum number of TMPTX39XX/49XX SIO ports"
1261 depends on SERIAL_TXX9
1262 default "6"
1263
Linus Torvalds1da177e2005-04-16 15:20:36 -07001264config SERIAL_TXX9_CONSOLE
1265 bool "TMPTX39XX/49XX SIO Console support"
1266 depends on SERIAL_TXX9=y
1267 select SERIAL_CORE_CONSOLE
1268
1269config SERIAL_TXX9_STDSERIAL
1270 bool "TX39XX/49XX SIO act as standard serial"
1271 depends on !SERIAL_8250 && SERIAL_TXX9
1272
1273config SERIAL_VR41XX
1274 tristate "NEC VR4100 series Serial Interface Unit support"
1275 depends on CPU_VR41XX
1276 select SERIAL_CORE
1277 help
1278 If you have a NEC VR4100 series processor and you want to use
1279 Serial Interface Unit(SIU) or Debug Serial Interface Unit(DSIU)
1280 (not include VR4111/VR4121 DSIU), say Y. Otherwise, say N.
1281
1282config SERIAL_VR41XX_CONSOLE
1283 bool "Enable NEC VR4100 series Serial Interface Unit console"
Yoichi Yuasa21740412007-07-31 00:38:56 -07001284 depends on SERIAL_VR41XX=y
Linus Torvalds1da177e2005-04-16 15:20:36 -07001285 select SERIAL_CORE_CONSOLE
1286 help
1287 If you have a NEC VR4100 series processor and you want to use
1288 a console on a serial port, say Y. Otherwise, say N.
1289
1290config SERIAL_JSM
V. Ananda Krishnan0a577ce2006-02-03 03:04:30 -08001291 tristate "Digi International NEO PCI Support"
1292 depends on PCI
1293 select SERIAL_CORE
1294 help
1295 This is a driver for Digi International's Neo series
1296 of cards which provide multiple serial ports. You would need
1297 something like this to connect more than two modems to your Linux
1298 box, for instance in order to become a dial-in server. This driver
1299 supports PCI boards only.
Arthur Othienoa5f1e4e2006-02-15 09:52:46 +00001300
1301 If you have a card like this, say Y here, otherwise say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001302
V. Ananda Krishnan0a577ce2006-02-03 03:04:30 -08001303 To compile this driver as a module, choose M here: the
1304 module will be called jsm.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001305
Brent Casavante5d310b342005-06-21 17:16:01 -07001306config SERIAL_SGI_IOC4
1307 tristate "SGI IOC4 controller serial support"
1308 depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4
1309 select SERIAL_CORE
1310 help
1311 If you have an SGI Altix with an IOC4 based Base IO card
1312 and wish to use the serial ports on this card, say Y.
1313 Otherwise, say N.
1314
Patrick Gefre2d0cfb52006-01-14 13:20:40 -08001315config SERIAL_SGI_IOC3
1316 tristate "SGI Altix IOC3 serial support"
1317 depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC3
1318 select SERIAL_CORE
1319 help
1320 If you have an SGI Altix with an IOC3 serial card,
1321 say Y or M. Otherwise, say N.
1322
Robert Love04896a72009-06-22 18:43:11 +01001323config SERIAL_MSM
1324 bool "MSM on-chip serial port support"
1325 depends on ARM && ARCH_MSM
1326 select SERIAL_CORE
1327
1328config SERIAL_MSM_CONSOLE
1329 bool "MSM serial console support"
1330 depends on SERIAL_MSM=y
1331 select SERIAL_CORE_CONSOLE
1332
Sascha Hauerf8441e12006-06-19 13:29:07 +01001333config SERIAL_NETX
Paul Bollefb881f72008-10-14 18:13:45 +02001334 tristate "NetX serial port support"
Sascha Hauerf8441e12006-06-19 13:29:07 +01001335 depends on ARM && ARCH_NETX
1336 select SERIAL_CORE
1337 help
1338 If you have a machine based on a Hilscher NetX SoC you
1339 can enable its onboard serial port by enabling this option.
1340
1341 To compile this driver as a module, choose M here: the
1342 module will be called netx-serial.
1343
1344config SERIAL_NETX_CONSOLE
1345 bool "Console on NetX serial port"
Paul Bollefb881f72008-10-14 18:13:45 +02001346 depends on SERIAL_NETX=y
Sascha Hauerf8441e12006-06-19 13:29:07 +01001347 select SERIAL_CORE_CONSOLE
1348 help
Uwe Kleine-Königb885b272008-02-03 14:55:57 +02001349 If you have enabled the serial port on the Hilscher NetX SoC
1350 you can make it the console by answering Y to this option.
Sascha Hauerf8441e12006-06-19 13:29:07 +01001351
Arnd Bergmann8d38a5b2007-02-13 21:35:38 +01001352config SERIAL_OF_PLATFORM
1353 tristate "Serial port on Open Firmware platform bus"
Michal Simek4286c2b2009-03-27 14:25:51 +01001354 depends on PPC_OF || MICROBLAZE
Benjamin Krill5886188d2009-01-07 10:32:38 +01001355 depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL
Arnd Bergmann8d38a5b2007-02-13 21:35:38 +01001356 help
1357 If you have a PowerPC based system that has serial ports
1358 on a platform specific bus, you should enable this option.
1359 Currently, only 8250 compatible ports are supported, but
1360 others can easily be added.
1361
Benjamin Krill5886188d2009-01-07 10:32:38 +01001362config SERIAL_OF_PLATFORM_NWPSERIAL
1363 tristate "NWP serial port driver"
1364 depends on PPC_OF && PPC_DCR
1365 select SERIAL_OF_PLATFORM
1366 select SERIAL_CORE_CONSOLE
1367 select SERIAL_CORE
1368 help
1369 This driver supports the cell network processor nwp serial
1370 device.
1371
1372config SERIAL_OF_PLATFORM_NWPSERIAL_CONSOLE
1373 bool "Console on NWP serial port"
1374 depends on SERIAL_OF_PLATFORM_NWPSERIAL=y
1375 select SERIAL_CORE_CONSOLE
1376 help
1377 Support for Console on the NWP serial ports.
1378
Timur Tabid7584ed2008-01-15 09:56:13 -06001379config SERIAL_QE
1380 tristate "Freescale QUICC Engine serial port support"
1381 depends on QUICC_ENGINE
1382 select SERIAL_CORE
1383 select FW_LOADER
1384 default n
1385 help
1386 This driver supports the QE serial ports on Freescale embedded
1387 PowerPC that contain a QUICC Engine.
1388
Thomas Bogendoerfereea63e02008-02-06 01:37:27 -08001389config SERIAL_SC26XX
1390 tristate "SC2681/SC2692 serial port support"
1391 depends on SNI_RM
1392 select SERIAL_CORE
1393 help
1394 This is a driver for the onboard serial ports of
1395 older RM400 machines.
1396
1397config SERIAL_SC26XX_CONSOLE
1398 bool "Console on SC2681/SC2692 serial port"
1399 depends on SERIAL_SC26XX
1400 select SERIAL_CORE_CONSOLE
1401 help
1402 Support for Console on SC2681/SC2692 serial ports.
1403
Bryan Wu2f351742008-04-30 00:52:12 -07001404config SERIAL_BFIN_SPORT
1405 tristate "Blackfin SPORT emulate UART (EXPERIMENTAL)"
Mike Frysinger460ed2e2008-05-17 18:22:26 +08001406 depends on BLACKFIN && EXPERIMENTAL
Bryan Wu2f351742008-04-30 00:52:12 -07001407 select SERIAL_CORE
1408 help
Matt LaPlante692105b2009-01-26 11:12:25 +01001409 Enable SPORT emulate UART on Blackfin series.
Bryan Wu2f351742008-04-30 00:52:12 -07001410
1411 To compile this driver as a module, choose M here: the
1412 module will be called bfin_sport_uart.
1413
1414choice
1415 prompt "Baud rate for Blackfin SPORT UART"
1416 depends on SERIAL_BFIN_SPORT
1417 default SERIAL_SPORT_BAUD_RATE_57600
1418 help
1419 Choose a baud rate for the SPORT UART, other uart settings are
1420 8 bit, 1 stop bit, no parity, no flow control.
1421
1422config SERIAL_SPORT_BAUD_RATE_115200
1423 bool "115200"
1424
1425config SERIAL_SPORT_BAUD_RATE_57600
1426 bool "57600"
1427
1428config SERIAL_SPORT_BAUD_RATE_38400
1429 bool "38400"
1430
1431config SERIAL_SPORT_BAUD_RATE_19200
1432 bool "19200"
1433
1434config SERIAL_SPORT_BAUD_RATE_9600
1435 bool "9600"
1436endchoice
1437
1438config SPORT_BAUD_RATE
1439 int
1440 depends on SERIAL_BFIN_SPORT
1441 default 115200 if (SERIAL_SPORT_BAUD_RATE_115200)
1442 default 57600 if (SERIAL_SPORT_BAUD_RATE_57600)
1443 default 38400 if (SERIAL_SPORT_BAUD_RATE_38400)
1444 default 19200 if (SERIAL_SPORT_BAUD_RATE_19200)
1445 default 9600 if (SERIAL_SPORT_BAUD_RATE_9600)
1446
Richard Röjfors34aec592009-06-11 14:05:39 +01001447config SERIAL_TIMBERDALE
1448 tristate "Support for timberdale UART"
1449 depends on MFD_TIMBERDALE
1450 select SERIAL_CORE
1451 ---help---
1452 Add support for UART controller on timberdale.
1453
Linus Torvalds1da177e2005-04-16 15:20:36 -07001454endmenu