TTY: switch tty_insert_flip_char
[firefly-linux-kernel-4.4.55.git] / drivers / tty / serial / Kconfig
1 #
2 # Serial device configuration
3 #
4
5 menu "Serial drivers"
6         depends on HAS_IOMEM
7
8 source "drivers/tty/serial/8250/Kconfig"
9
10 comment "Non-8250 serial port support"
11
12 config SERIAL_AMBA_PL010
13         tristate "ARM AMBA PL010 serial port support"
14         depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE)
15         select SERIAL_CORE
16         help
17           This selects the ARM(R) AMBA(R) PrimeCell PL010 UART.  If you have
18           an Integrator/AP or Integrator/PP2 platform, or if you have a
19           Cirrus Logic EP93xx CPU, say Y or M here.
20
21           If unsure, say N.
22
23 config SERIAL_AMBA_PL010_CONSOLE
24         bool "Support for console on AMBA serial port"
25         depends on SERIAL_AMBA_PL010=y
26         select SERIAL_CORE_CONSOLE
27         ---help---
28           Say Y here if you wish to use an AMBA PrimeCell UART as the system
29           console (the system console is the device which receives all kernel
30           messages and warnings and which allows logins in single user mode).
31
32           Even if you say Y here, the currently visible framebuffer console
33           (/dev/tty0) will still be used as the system console by default, but
34           you can alter that using a kernel command line option such as
35           "console=ttyAM0". (Try "man bootparam" or see the documentation of
36           your boot loader (lilo or loadlin) about how to pass options to the
37           kernel at boot time.)
38
39 config SERIAL_AMBA_PL011
40         tristate "ARM AMBA PL011 serial port support"
41         depends on ARM_AMBA
42         select SERIAL_CORE
43         help
44           This selects the ARM(R) AMBA(R) PrimeCell PL011 UART.  If you have
45           an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M
46           here.
47
48           If unsure, say N.
49
50 config SERIAL_AMBA_PL011_CONSOLE
51         bool "Support for console on AMBA serial port"
52         depends on SERIAL_AMBA_PL011=y
53         select SERIAL_CORE_CONSOLE
54         ---help---
55           Say Y here if you wish to use an AMBA PrimeCell UART as the system
56           console (the system console is the device which receives all kernel
57           messages and warnings and which allows logins in single user mode).
58
59           Even if you say Y here, the currently visible framebuffer console
60           (/dev/tty0) will still be used as the system console by default, but
61           you can alter that using a kernel command line option such as
62           "console=ttyAMA0". (Try "man bootparam" or see the documentation of
63           your boot loader (lilo or loadlin) about how to pass options to the
64           kernel at boot time.)
65
66 config SERIAL_SB1250_DUART
67         tristate "BCM1xxx on-chip DUART serial support"
68         depends on SIBYTE_SB1xxx_SOC=y
69         select SERIAL_CORE
70         default y
71         ---help---
72           Support for the asynchronous serial interface (DUART) included in
73           the BCM1250 and derived System-On-a-Chip (SOC) devices.  Note that
74           the letter D in DUART stands for "dual", which is how the device
75           is implemented.  Depending on the SOC configuration there may be
76           one or more DUARTs available of which all are handled.
77
78           If unsure, say Y.  To compile this driver as a module, choose M here:
79           the module will be called sb1250-duart.
80
81 config SERIAL_SB1250_DUART_CONSOLE
82         bool "Support for console on a BCM1xxx DUART serial port"
83         depends on SERIAL_SB1250_DUART=y
84         select SERIAL_CORE_CONSOLE
85         default y
86         ---help---
87           If you say Y here, it will be possible to use a serial port as the
88           system console (the system console is the device which receives all
89           kernel messages and warnings and which allows logins in single user
90           mode).
91
92           If unsure, say Y.
93
94 config SERIAL_ATMEL
95         bool "AT91 / AT32 on-chip serial port support"
96         depends on ARCH_AT91 || AVR32
97         select SERIAL_CORE
98         help
99           This enables the driver for the on-chip UARTs of the Atmel
100           AT91 and AT32 processors.
101
102 config SERIAL_ATMEL_CONSOLE
103         bool "Support for console on AT91 / AT32 serial port"
104         depends on SERIAL_ATMEL=y
105         select SERIAL_CORE_CONSOLE
106         help
107           Say Y here if you wish to use an on-chip UART on a Atmel
108           AT91 or AT32 processor as the system console (the system
109           console is the device which receives all kernel messages and
110           warnings and which allows logins in single user mode).
111
112 config SERIAL_ATMEL_PDC
113         bool "Support DMA transfers on AT91 / AT32 serial port"
114         depends on SERIAL_ATMEL
115         default y
116         help
117           Say Y here if you wish to use the PDC to do DMA transfers to
118           and from the Atmel AT91 / AT32 serial port. In order to
119           actually use DMA transfers, make sure that the use_dma_tx
120           and use_dma_rx members in the atmel_uart_data struct is set
121           appropriately for each port.
122
123           Note that break and error handling currently doesn't work
124           properly when DMA is enabled. Make sure that ports where
125           this matters don't use DMA.
126
127 config SERIAL_ATMEL_TTYAT
128         bool "Install as device ttyATn instead of ttySn"
129         depends on SERIAL_ATMEL=y
130         help
131           Say Y here if you wish to have the internal AT91 / AT32 UARTs
132           appear as /dev/ttyATn (major 204, minor starting at 154)
133           instead of the normal /dev/ttySn (major 4, minor starting at
134           64). This is necessary if you also want other UARTs, such as
135           external 8250/16C550 compatible UARTs.
136           The ttySn nodes are legally reserved for the 8250 serial driver
137           but are often misused by other serial drivers.
138
139           To use this, you should create suitable ttyATn device nodes in
140           /dev/, and pass "console=ttyATn" to the kernel.
141
142           Say Y if you have an external 8250/16C550 UART.  If unsure, say N.
143
144 config SERIAL_KGDB_NMI
145         bool "Serial console over KGDB NMI debugger port"
146         depends on KGDB_SERIAL_CONSOLE
147         help
148           This special driver allows you to temporary use NMI debugger port
149           as a normal console (assuming that the port is attached to KGDB).
150
151           Unlike KDB's disable_nmi command, with this driver you are always
152           able to go back to the debugger using KGDB escape sequence ($3#33).
153           This is because this console driver processes the input in NMI
154           context, and thus is able to intercept the magic sequence.
155
156           Note that since the console interprets input and uses polling
157           communication methods, for things like PPP you still must fully
158           detach debugger port from the KGDB NMI (i.e. disable_nmi), and
159           use raw console.
160
161           If unsure, say N.
162
163 config SERIAL_KS8695
164         bool "Micrel KS8695 (Centaur) serial port support"
165         depends on ARCH_KS8695
166         select SERIAL_CORE
167         help
168           This selects the Micrel Centaur KS8695 UART.  Say Y here.
169
170 config SERIAL_KS8695_CONSOLE
171         bool "Support for console on KS8695 (Centaur) serial port"
172         depends on SERIAL_KS8695=y
173         select SERIAL_CORE_CONSOLE
174         help
175           Say Y here if you wish to use a KS8695 (Centaur) UART as the
176           system console (the system console is the device which
177           receives all kernel messages and warnings and which allows
178           logins in single user mode).
179
180 config SERIAL_CLPS711X
181         tristate "CLPS711X serial port support"
182         depends on ARCH_CLPS711X
183         select SERIAL_CORE
184         default y
185         help
186           This enables the driver for the on-chip UARTs of the Cirrus
187           Logic EP711x/EP721x/EP731x processors.
188
189 config SERIAL_CLPS711X_CONSOLE
190         bool "Support for console on CLPS711X serial port"
191         depends on SERIAL_CLPS711X=y
192         select SERIAL_CORE_CONSOLE
193         help
194           Even if you say Y here, the currently visible virtual console
195           (/dev/tty0) will still be used as the system console by default, but
196           you can alter that using a kernel command line option such as
197           "console=ttyCL1".
198
199 config SERIAL_SAMSUNG
200         tristate "Samsung SoC serial support"
201         depends on PLAT_SAMSUNG
202         select SERIAL_CORE
203         help
204           Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
205           providing /dev/ttySAC0, 1 and 2 (note, some machines may not
206           provide all of these ports, depending on how the serial port
207           pins are configured.
208
209 config SERIAL_SAMSUNG_UARTS_4
210         bool
211         depends on PLAT_SAMSUNG
212         default y if !(CPU_S3C2410 || SERIAL_S3C2412 || CPU_S3C2440 || CPU_S3C2442)
213         help
214           Internal node for the common case of 4 Samsung compatible UARTs
215
216 config SERIAL_SAMSUNG_UARTS
217         int
218         depends on PLAT_SAMSUNG
219         default 6 if ARCH_S5P6450
220         default 4 if SERIAL_SAMSUNG_UARTS_4 || CPU_S3C2416
221         default 3
222         help
223           Select the number of available UART ports for the Samsung S3C
224           serial driver
225         
226 config SERIAL_SAMSUNG_DEBUG
227         bool "Samsung SoC serial debug"
228         depends on SERIAL_SAMSUNG && DEBUG_LL
229         help
230           Add support for debugging the serial driver. Since this is
231           generally being used as a console, we use our own output
232           routines that go via the low-level debug printascii()
233           function.
234
235 config SERIAL_SAMSUNG_CONSOLE
236         bool "Support for console on Samsung SoC serial port"
237         depends on SERIAL_SAMSUNG=y
238         select SERIAL_CORE_CONSOLE
239         help
240           Allow selection of the S3C24XX on-board serial ports for use as
241           an virtual console.
242
243           Even if you say Y here, the currently visible virtual console
244           (/dev/tty0) will still be used as the system console by default, but
245           you can alter that using a kernel command line option such as
246           "console=ttySACx". (Try "man bootparam" or see the documentation of
247           your boot loader about how to pass options to the kernel at
248           boot time.)
249
250 config SERIAL_SIRFSOC
251         tristate "SiRF SoC Platform Serial port support"
252         depends on ARCH_PRIMA2
253         select SERIAL_CORE
254         help
255           Support for the on-chip UART on the CSR SiRFprimaII series,
256           providing /dev/ttySiRF0, 1 and 2 (note, some machines may not
257           provide all of these ports, depending on how the serial port
258           pins are configured).
259
260 config SERIAL_SIRFSOC_CONSOLE
261         bool "Support for console on SiRF SoC serial port"
262         depends on SERIAL_SIRFSOC=y
263         select SERIAL_CORE_CONSOLE
264         help
265           Even if you say Y here, the currently visible virtual console
266           (/dev/tty0) will still be used as the system console by default, but
267           you can alter that using a kernel command line option such as
268           "console=ttySiRFx". (Try "man bootparam" or see the documentation of
269           your boot loader about how to pass options to the kernel at
270           boot time.)
271
272 config SERIAL_TEGRA
273         tristate "NVIDIA Tegra20/30 SoC serial controller"
274         depends on ARCH_TEGRA && TEGRA20_APB_DMA
275         select SERIAL_CORE
276         help
277           Support for the on-chip UARTs on the NVIDIA Tegra series SOCs
278           providing /dev/ttyHS0, 1, 2, 3 and 4 (note, some machines may not
279           provide all of these ports, depending on how the serial port
280           are enabled). This driver uses the APB DMA to achieve higher baudrate
281           and better performance.
282
283 config SERIAL_MAX3100
284         tristate "MAX3100 support"
285         depends on SPI
286         select SERIAL_CORE
287         help
288           MAX3100 chip support
289
290 config SERIAL_MAX310X
291         bool "MAX310X support"
292         depends on SPI
293         select SERIAL_CORE
294         select REGMAP_SPI if SPI
295         default n
296         help
297           This selects support for an advanced UART from Maxim (Dallas).
298           Supported ICs are MAX3107, MAX3108.
299           Each IC contains 128 words each of receive and transmit FIFO
300           that can be controlled through I2C or high-speed SPI.
301
302           Say Y here if you want to support this ICs.
303
304 config SERIAL_DZ
305         bool "DECstation DZ serial driver"
306         depends on MACH_DECSTATION && 32BIT
307         select SERIAL_CORE
308         default y
309         ---help---
310           DZ11-family serial controllers for DECstations and VAXstations,
311           including the DC7085, M7814, and M7819.
312
313 config SERIAL_DZ_CONSOLE
314         bool "Support console on DECstation DZ serial driver"
315         depends on SERIAL_DZ=y
316         select SERIAL_CORE_CONSOLE
317         default y
318         ---help---
319           If you say Y here, it will be possible to use a serial port as the
320           system console (the system console is the device which receives all
321           kernel messages and warnings and which allows logins in single user
322           mode).
323
324           Note that the firmware uses ttyS3 as the serial console on
325           DECstations that use this driver.
326
327           If unsure, say Y.
328
329 config SERIAL_ZS
330         tristate "DECstation Z85C30 serial support"
331         depends on MACH_DECSTATION
332         select SERIAL_CORE
333         default y
334         ---help---
335           Support for the Zilog 85C350 serial communications controller used
336           for serial ports in newer DECstation systems.  These include the
337           DECsystem 5900 and all models of the DECstation and DECsystem 5000
338           systems except from model 200.
339
340           If unsure, say Y.  To compile this driver as a module, choose M here:
341           the module will be called zs.
342
343 config SERIAL_ZS_CONSOLE
344         bool "Support for console on a DECstation Z85C30 serial port"
345         depends on SERIAL_ZS=y
346         select SERIAL_CORE_CONSOLE
347         default y
348         ---help---
349           If you say Y here, it will be possible to use a serial port as the
350           system console (the system console is the device which receives all
351           kernel messages and warnings and which allows logins in single user
352           mode).
353
354           Note that the firmware uses ttyS1 as the serial console on the
355           Maxine and ttyS3 on the others using this driver.
356
357           If unsure, say Y.
358
359 config SERIAL_21285
360         tristate "DC21285 serial port support"
361         depends on FOOTBRIDGE
362         select SERIAL_CORE
363         help
364           If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
365           PCI bridge you can enable its onboard serial port by enabling this
366           option.
367
368 config SERIAL_21285_CONSOLE
369         bool "Console on DC21285 serial port"
370         depends on SERIAL_21285=y
371         select SERIAL_CORE_CONSOLE
372         help
373           If you have enabled the serial port on the 21285 footbridge you can
374           make it the console by answering Y to this option.
375
376           Even if you say Y here, the currently visible virtual console
377           (/dev/tty0) will still be used as the system console by default, but
378           you can alter that using a kernel command line option such as
379           "console=ttyFB". (Try "man bootparam" or see the documentation of
380           your boot loader (lilo or loadlin) about how to pass options to the
381           kernel at boot time.)
382
383 config SERIAL_MPSC
384         bool "Marvell MPSC serial port support"
385         depends on MV64X60
386         select SERIAL_CORE
387         help
388           Say Y here if you want to use the Marvell MPSC serial controller.
389
390 config SERIAL_MPSC_CONSOLE
391         bool "Support for console on Marvell MPSC serial port"
392         depends on SERIAL_MPSC
393         select SERIAL_CORE_CONSOLE
394         help
395           Say Y here if you want to support a serial console on a Marvell MPSC.
396
397 config SERIAL_PXA
398         bool "PXA serial port support"
399         depends on ARCH_PXA || ARCH_MMP
400         select SERIAL_CORE
401         help
402           If you have a machine based on an Intel XScale PXA2xx CPU you
403           can enable its onboard serial ports by enabling this option.
404
405 config SERIAL_PXA_CONSOLE
406         bool "Console on PXA serial port"
407         depends on SERIAL_PXA
408         select SERIAL_CORE_CONSOLE
409         help
410           If you have enabled the serial port on the Intel XScale PXA
411           CPU you can make it the console by answering Y to this option.
412
413           Even if you say Y here, the currently visible virtual console
414           (/dev/tty0) will still be used as the system console by default, but
415           you can alter that using a kernel command line option such as
416           "console=ttySA0". (Try "man bootparam" or see the documentation of
417           your boot loader (lilo or loadlin) about how to pass options to the
418           kernel at boot time.)
419
420 config SERIAL_SA1100
421         bool "SA1100 serial port support"
422         depends on ARCH_SA1100
423         select SERIAL_CORE
424         help
425           If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
426           can enable its onboard serial port by enabling this option.
427           Please read <file:Documentation/arm/SA1100/serial_UART> for further
428           info.
429
430 config SERIAL_SA1100_CONSOLE
431         bool "Console on SA1100 serial port"
432         depends on SERIAL_SA1100
433         select SERIAL_CORE_CONSOLE
434         help
435           If you have enabled the serial port on the SA1100/SA1110 StrongARM
436           CPU you can make it the console by answering Y to this option.
437
438           Even if you say Y here, the currently visible virtual console
439           (/dev/tty0) will still be used as the system console by default, but
440           you can alter that using a kernel command line option such as
441           "console=ttySA0". (Try "man bootparam" or see the documentation of
442           your boot loader (lilo or loadlin) about how to pass options to the
443           kernel at boot time.)
444
445 config SERIAL_MRST_MAX3110
446         tristate "SPI UART driver for Max3110"
447         depends on SPI_DW_PCI
448         select SERIAL_CORE
449         select SERIAL_CORE_CONSOLE
450         help
451           This is the UART protocol driver for the MAX3110 device on
452           the Intel Moorestown platform. On other systems use the max3100
453           driver.
454
455 config SERIAL_MFD_HSU
456         tristate "Medfield High Speed UART support"
457         depends on PCI
458         select SERIAL_CORE
459
460 config SERIAL_MFD_HSU_CONSOLE
461         boolean "Medfile HSU serial console support"
462         depends on SERIAL_MFD_HSU=y
463         select SERIAL_CORE_CONSOLE
464
465 config SERIAL_BFIN
466         tristate "Blackfin serial port support"
467         depends on BLACKFIN
468         select SERIAL_CORE
469         select SERIAL_BFIN_UART0 if (BF531 || BF532 || BF533 || BF561)
470         help
471           Add support for the built-in UARTs on the Blackfin.
472
473           To compile this driver as a module, choose M here: the
474           module is named bfin_uart.ko.
475
476 config SERIAL_BFIN_CONSOLE
477         bool "Console on Blackfin serial port"
478         depends on SERIAL_BFIN=y
479         select SERIAL_CORE_CONSOLE
480
481 choice
482         prompt "UART Mode"
483         depends on SERIAL_BFIN
484         default SERIAL_BFIN_DMA
485         help
486           This driver supports the built-in serial ports of the Blackfin family
487           of CPUs
488
489 config SERIAL_BFIN_DMA
490         bool "DMA mode"
491         depends on !DMA_UNCACHED_NONE && KGDB_SERIAL_CONSOLE=n
492         help
493           This driver works under DMA mode. If this option is selected, the
494           blackfin simple dma driver is also enabled.
495
496 config SERIAL_BFIN_PIO
497         bool "PIO mode"
498         help
499           This driver works under PIO mode.
500
501 endchoice
502
503 config SERIAL_BFIN_UART0
504         bool "Enable UART0"
505         depends on SERIAL_BFIN
506         help
507           Enable UART0
508
509 config BFIN_UART0_CTSRTS
510         bool "Enable UART0 hardware flow control"
511         depends on SERIAL_BFIN_UART0
512         help
513           Enable hardware flow control in the driver.
514
515 config SERIAL_BFIN_UART1
516         bool "Enable UART1"
517         depends on SERIAL_BFIN && (!BF531 && !BF532 && !BF533 && !BF561)
518         help
519           Enable UART1
520
521 config BFIN_UART1_CTSRTS
522         bool "Enable UART1 hardware flow control"
523         depends on SERIAL_BFIN_UART1
524         help
525           Enable hardware flow control in the driver.
526
527 config SERIAL_BFIN_UART2
528         bool "Enable UART2"
529         depends on SERIAL_BFIN && (BF54x || BF538 || BF539)
530         help
531           Enable UART2
532
533 config BFIN_UART2_CTSRTS
534         bool "Enable UART2 hardware flow control"
535         depends on SERIAL_BFIN_UART2
536         help
537           Enable hardware flow control in the driver.
538
539 config SERIAL_BFIN_UART3
540         bool "Enable UART3"
541         depends on SERIAL_BFIN && (BF54x)
542         help
543           Enable UART3
544
545 config BFIN_UART3_CTSRTS
546         bool "Enable UART3 hardware flow control"
547         depends on SERIAL_BFIN_UART3
548         help
549           Enable hardware flow control in the driver.
550
551 config SERIAL_IMX
552         bool "IMX serial port support"
553         depends on ARCH_MXC
554         select SERIAL_CORE
555         select RATIONAL
556         help
557           If you have a machine based on a Motorola IMX CPU you
558           can enable its onboard serial port by enabling this option.
559
560 config SERIAL_IMX_CONSOLE
561         bool "Console on IMX serial port"
562         depends on SERIAL_IMX
563         select SERIAL_CORE_CONSOLE
564         help
565           If you have enabled the serial port on the Motorola IMX
566           CPU you can make it the console by answering Y to this option.
567
568           Even if you say Y here, the currently visible virtual console
569           (/dev/tty0) will still be used as the system console by default, but
570           you can alter that using a kernel command line option such as
571           "console=ttySA0". (Try "man bootparam" or see the documentation of
572           your boot loader (lilo or loadlin) about how to pass options to the
573           kernel at boot time.)
574
575 config SERIAL_UARTLITE
576         tristate "Xilinx uartlite serial port support"
577         depends on PPC32 || MICROBLAZE || MFD_TIMBERDALE
578         select SERIAL_CORE
579         help
580           Say Y here if you want to use the Xilinx uartlite serial controller.
581
582           To compile this driver as a module, choose M here: the
583           module will be called uartlite.
584
585 config SERIAL_UARTLITE_CONSOLE
586         bool "Support for console on Xilinx uartlite serial port"
587         depends on SERIAL_UARTLITE=y
588         select SERIAL_CORE_CONSOLE
589         help
590           Say Y here if you wish to use a Xilinx uartlite as the system
591           console (the system console is the device which receives all kernel
592           messages and warnings and which allows logins in single user mode).
593
594 config SERIAL_SUNCORE
595         bool
596         depends on SPARC
597         select SERIAL_CORE
598         select SERIAL_CORE_CONSOLE
599         default y
600
601 config SERIAL_SUNZILOG
602         tristate "Sun Zilog8530 serial support"
603         depends on SPARC
604         help
605           This driver supports the Zilog8530 serial ports found on many Sparc
606           systems.  Say Y or M if you want to be able to these serial ports.
607
608 config SERIAL_SUNZILOG_CONSOLE
609         bool "Console on Sun Zilog8530 serial port"
610         depends on SERIAL_SUNZILOG=y
611         help
612           If you would like to be able to use the Zilog8530 serial port
613           on your Sparc system as the console, you can do so by answering
614           Y to this option.
615
616 config SERIAL_SUNSU
617         tristate "Sun SU serial support"
618         depends on SPARC && PCI
619         help
620           This driver supports the 8250 serial ports that run the keyboard and
621           mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able
622           to these serial ports.
623
624 config SERIAL_SUNSU_CONSOLE
625         bool "Console on Sun SU serial port"
626         depends on SERIAL_SUNSU=y
627         help
628           If you would like to be able to use the SU serial port
629           on your Sparc system as the console, you can do so by answering
630           Y to this option.
631
632 config SERIAL_MUX
633         tristate "Serial MUX support"
634         depends on GSC
635         select SERIAL_CORE
636         default y
637         ---help---
638           Saying Y here will enable the hardware MUX serial driver for
639           the Nova, K class systems and D class with a 'remote control card'.
640           The hardware MUX is not 8250/16550 compatible therefore the
641           /dev/ttyB0 device is shared between the Serial MUX and the PDC
642           software console. The following steps need to be completed to use
643           the Serial MUX:
644
645             1. create the device entry (mknod /dev/ttyB0 c 11 0)
646             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
647             3. Add device ttyB0 to /etc/securetty (if you want to log on as
648                  root on this console.)
649             4. Change the kernel command console parameter to: console=ttyB0
650
651 config SERIAL_MUX_CONSOLE
652         bool "Support for console on serial MUX"
653         depends on SERIAL_MUX=y
654         select SERIAL_CORE_CONSOLE
655         default y
656
657 config PDC_CONSOLE
658         bool "PDC software console support"
659         depends on PARISC && !SERIAL_MUX && VT
660         default n
661         help
662           Saying Y here will enable the software based PDC console to be 
663           used as the system console.  This is useful for machines in 
664           which the hardware based console has not been written yet.  The
665           following steps must be competed to use the PDC console:
666
667             1. create the device entry (mknod /dev/ttyB0 c 11 0)
668             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
669             3. Add device ttyB0 to /etc/securetty (if you want to log on as
670                  root on this console.)
671             4. Change the kernel command console parameter to: console=ttyB0
672
673 config SERIAL_SUNSAB
674         tristate "Sun Siemens SAB82532 serial support"
675         depends on SPARC && PCI
676         help
677           This driver supports the Siemens SAB82532 DUSCC serial ports on newer
678           (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these
679           serial ports.
680
681 config SERIAL_SUNSAB_CONSOLE
682         bool "Console on Sun Siemens SAB82532 serial port"
683         depends on SERIAL_SUNSAB=y
684         help
685           If you would like to be able to use the SAB82532 serial port
686           on your Sparc system as the console, you can do so by answering
687           Y to this option.
688
689 config SERIAL_SUNHV
690         bool "Sun4v Hypervisor Console support"
691         depends on SPARC64
692         help
693           This driver supports the console device found on SUN4V Sparc
694           systems.  Say Y if you want to be able to use this device.
695
696 config SERIAL_IP22_ZILOG
697         tristate "SGI Zilog8530 serial support"
698         depends on SGI_HAS_ZILOG
699         select SERIAL_CORE
700         help
701           This driver supports the Zilog8530 serial ports found on SGI
702           systems.  Say Y or M if you want to be able to these serial ports.
703
704 config SERIAL_IP22_ZILOG_CONSOLE
705         bool "Console on SGI Zilog8530 serial port"
706         depends on SERIAL_IP22_ZILOG=y
707         select SERIAL_CORE_CONSOLE
708
709 config SERIAL_SH_SCI
710         tristate "SuperH SCI(F) serial port support"
711         depends on HAVE_CLK && (SUPERH || ARCH_SHMOBILE)
712         select SERIAL_CORE
713
714 config SERIAL_SH_SCI_NR_UARTS
715         int "Maximum number of SCI(F) serial ports"
716         depends on SERIAL_SH_SCI
717         default "2"
718
719 config SERIAL_SH_SCI_CONSOLE
720         bool "Support for console on SuperH SCI(F)"
721         depends on SERIAL_SH_SCI=y
722         select SERIAL_CORE_CONSOLE
723
724 config SERIAL_SH_SCI_DMA
725         bool "DMA support"
726         depends on SERIAL_SH_SCI && SH_DMAE
727
728 config SERIAL_PNX8XXX
729         bool "Enable PNX8XXX SoCs' UART Support"
730         depends on SOC_PNX8550 || SOC_PNX833X
731         select SERIAL_CORE
732         help
733           If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
734           and you want to use serial ports, say Y.  Otherwise, say N.
735
736 config SERIAL_PNX8XXX_CONSOLE
737         bool "Enable PNX8XX0 serial console"
738         depends on SERIAL_PNX8XXX
739         select SERIAL_CORE_CONSOLE
740         help
741           If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
742           and you want to use serial console, say Y. Otherwise, say N.
743
744 config SERIAL_HS_LPC32XX
745         tristate "LPC32XX high speed serial port support"
746         depends on ARCH_LPC32XX && OF
747         select SERIAL_CORE
748         help
749           Support for the LPC32XX high speed serial ports (up to 900kbps).
750           Those are UARTs completely different from the Standard UARTs on the
751           LPC32XX SoC.
752           Choose M or Y here to build this driver.
753
754 config SERIAL_HS_LPC32XX_CONSOLE
755         bool "Enable LPC32XX high speed UART serial console"
756         depends on SERIAL_HS_LPC32XX
757         select SERIAL_CORE_CONSOLE
758         help
759           If you would like to be able to use one of the high speed serial
760           ports on the LPC32XX as the console, you can do so by answering
761           Y to this option.
762
763 config SERIAL_CORE
764         tristate
765
766 config SERIAL_CORE_CONSOLE
767         bool
768
769 config CONSOLE_POLL
770         bool
771
772 config SERIAL_68328
773         bool "68328 serial support"
774         depends on M68328 || M68EZ328 || M68VZ328
775         help
776           This driver supports the built-in serial port of the Motorola 68328
777           (standard, EZ and VZ varieties).
778
779 config SERIAL_68328_RTS_CTS
780         bool "Support RTS/CTS on 68328 serial port"
781         depends on SERIAL_68328
782
783 config SERIAL_MCF
784         bool "Coldfire serial support"
785         depends on COLDFIRE
786         select SERIAL_CORE
787         help
788           This serial driver supports the Freescale Coldfire serial ports.
789
790 config SERIAL_MCF_BAUDRATE
791         int "Default baudrate for Coldfire serial ports"
792         depends on SERIAL_MCF
793         default 19200
794         help
795           This setting lets you define what the default baudrate is for the
796           ColdFire serial ports. The usual default varies from board to board,
797           and this setting is a way of catering for that.
798
799 config SERIAL_MCF_CONSOLE
800         bool "Coldfire serial console support"
801         depends on SERIAL_MCF
802         select SERIAL_CORE_CONSOLE
803         help
804           Enable a ColdFire internal serial port to be the system console.
805
806 config SERIAL_PMACZILOG
807         tristate "Mac or PowerMac z85c30 ESCC support"
808         depends on (M68K && MAC) || (PPC_OF && PPC_PMAC)
809         select SERIAL_CORE
810         help
811           This driver supports the Zilog z85C30 serial ports found on
812           (Power)Mac machines.
813           Say Y or M if you want to be able to these serial ports.
814
815 config SERIAL_PMACZILOG_TTYS
816         bool "Use ttySn device nodes for Zilog z85c30"
817         depends on SERIAL_PMACZILOG
818         help
819           The pmac_zilog driver for the z85C30 chip on many powermacs
820           historically used the device numbers for /dev/ttySn.  The
821           8250 serial port driver also uses these numbers, which means
822           the two drivers being unable to coexist; you could not use
823           both z85C30 and 8250 type ports at the same time.
824
825           If this option is not selected, the pmac_zilog driver will
826           use the device numbers allocated for /dev/ttyPZn.  This allows
827           the pmac_zilog and 8250 drivers to co-exist, but may cause
828           existing userspace setups to break.  Programs that need to
829           access the built-in serial ports on powermacs will need to
830           be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.
831
832           If you enable this option, any z85c30 ports in the system will
833           be registered as ttyS0 onwards as in the past, and you will be
834           unable to use the 8250 module for PCMCIA or other 16C550-style
835           UARTs.
836
837           Say N unless you need the z85c30 ports on your (Power)Mac
838           to appear as /dev/ttySn.
839
840 config SERIAL_PMACZILOG_CONSOLE
841         bool "Console on Mac or PowerMac z85c30 serial port"
842         depends on SERIAL_PMACZILOG=y
843         select SERIAL_CORE_CONSOLE
844         help
845           If you would like to be able to use the z85c30 serial port
846           on your (Power)Mac as the console, you can do so by answering
847           Y to this option.
848
849 config SERIAL_CPM
850         tristate "CPM SCC/SMC serial port support"
851         depends on CPM2 || 8xx
852         select SERIAL_CORE
853         help
854           This driver supports the SCC and SMC serial ports on Motorola 
855           embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
856
857 config SERIAL_CPM_CONSOLE
858         bool "Support for console on CPM SCC/SMC serial port"
859         depends on SERIAL_CPM=y
860         select SERIAL_CORE_CONSOLE
861         help
862           Say Y here if you wish to use a SCC or SMC CPM UART as the system
863           console (the system console is the device which receives all kernel
864           messages and warnings and which allows logins in single user mode).
865
866           Even if you say Y here, the currently visible framebuffer console
867           (/dev/tty0) will still be used as the system console by default, but
868           you can alter that using a kernel command line option such as
869           "console=ttyCPM0". (Try "man bootparam" or see the documentation of
870           your boot loader (lilo or loadlin) about how to pass options to the
871           kernel at boot time.)
872
873 config SERIAL_SGI_L1_CONSOLE
874         bool "SGI Altix L1 serial console support"
875         depends on IA64_GENERIC || IA64_SGI_SN2
876         select SERIAL_CORE
877         select SERIAL_CORE_CONSOLE
878         help
879                 If you have an SGI Altix and you would like to use the system
880                 controller serial port as your console (you want this!),
881                 say Y.  Otherwise, say N.
882
883 config SERIAL_MPC52xx
884         tristate "Freescale MPC52xx/MPC512x family PSC serial support"
885         depends on PPC_MPC52xx || PPC_MPC512x
886         select SERIAL_CORE
887         help
888           This driver supports MPC52xx and MPC512x PSC serial ports. If you would
889           like to use them, you must answer Y or M to this option. Note that
890           for use as console, it must be included in kernel and not as a
891           module.
892
893 config SERIAL_MPC52xx_CONSOLE
894         bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"
895         depends on SERIAL_MPC52xx=y
896         select SERIAL_CORE_CONSOLE
897         help
898           Select this options if you'd like to use one of the PSC serial port
899           of the Freescale MPC52xx family as a console.
900
901 config SERIAL_MPC52xx_CONSOLE_BAUD
902         int "Freescale MPC52xx/MPC512x family PSC serial port baud"
903         depends on SERIAL_MPC52xx_CONSOLE=y
904         default "9600"
905         help
906           Select the MPC52xx console baud rate.
907           This value is only used if the bootloader doesn't pass in the
908           console baudrate
909
910 config SERIAL_ICOM
911         tristate "IBM Multiport Serial Adapter"
912         depends on PCI && PPC_PSERIES
913         select SERIAL_CORE
914         select FW_LOADER
915         help
916           This driver is for a family of multiport serial adapters
917           including 2 port RVX, 2 port internal modem, 4 port internal
918           modem and a split 1 port RVX and 1 port internal modem.
919
920           This driver can also be built as a module.  If so, the module
921           will be called icom.
922
923 config SERIAL_M32R_SIO
924         bool "M32R SIO I/F"
925         depends on M32R
926         default y
927         select SERIAL_CORE
928         help
929           Say Y here if you want to use the M32R serial controller.
930
931 config SERIAL_M32R_SIO_CONSOLE
932         bool "use SIO console"
933         depends on SERIAL_M32R_SIO=y
934         select SERIAL_CORE_CONSOLE
935         help
936           Say Y here if you want to support a serial console.
937
938           If you use an M3T-M32700UT or an OPSPUT platform,
939           please say also y for SERIAL_M32R_PLDSIO.
940
941 config SERIAL_M32R_PLDSIO
942         bool "M32R SIO I/F on a PLD"
943         depends on SERIAL_M32R_SIO=y && (PLAT_OPSPUT || PLAT_USRV || PLAT_M32700UT)
944         default n
945         help
946           Say Y here if you want to use the M32R serial controller
947           on a PLD (Programmable Logic Device).
948
949           If you use an M3T-M32700UT or an OPSPUT platform,
950           please say Y.
951
952 config SERIAL_TXX9
953         bool "TMPTX39XX/49XX SIO support"
954         depends on HAS_TXX9_SERIAL
955         select SERIAL_CORE
956         default y
957
958 config HAS_TXX9_SERIAL
959         bool
960
961 config SERIAL_TXX9_NR_UARTS
962         int "Maximum number of TMPTX39XX/49XX SIO ports"
963         depends on SERIAL_TXX9
964         default "6"
965
966 config SERIAL_TXX9_CONSOLE
967         bool "TMPTX39XX/49XX SIO Console support"
968         depends on SERIAL_TXX9=y
969         select SERIAL_CORE_CONSOLE
970
971 config SERIAL_TXX9_STDSERIAL
972         bool "TX39XX/49XX SIO act as standard serial"
973         depends on !SERIAL_8250 && SERIAL_TXX9
974
975 config SERIAL_VR41XX
976         tristate "NEC VR4100 series Serial Interface Unit support"
977         depends on CPU_VR41XX
978         select SERIAL_CORE
979         help
980           If you have a NEC VR4100 series processor and you want to use
981           Serial Interface Unit(SIU) or Debug Serial Interface Unit(DSIU)
982           (not include VR4111/VR4121 DSIU), say Y.  Otherwise, say N.
983
984 config SERIAL_VR41XX_CONSOLE
985         bool "Enable NEC VR4100 series Serial Interface Unit console"
986         depends on SERIAL_VR41XX=y
987         select SERIAL_CORE_CONSOLE
988         help
989           If you have a NEC VR4100 series processor and you want to use
990           a console on a serial port, say Y.  Otherwise, say N.
991
992 config SERIAL_JSM
993         tristate "Digi International NEO PCI Support"
994         depends on PCI
995         select SERIAL_CORE
996         help
997           This is a driver for Digi International's Neo series
998           of cards which provide multiple serial ports. You would need
999           something like this to connect more than two modems to your Linux
1000           box, for instance in order to become a dial-in server. This driver
1001           supports PCI boards only.
1002
1003           If you have a card like this, say Y here, otherwise say N.
1004
1005           To compile this driver as a module, choose M here: the
1006           module will be called jsm.
1007
1008 config SERIAL_SGI_IOC4
1009         tristate "SGI IOC4 controller serial support"
1010         depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4
1011         select SERIAL_CORE
1012         help
1013                 If you have an SGI Altix with an IOC4 based Base IO card
1014                 and wish to use the serial ports on this card, say Y.
1015                 Otherwise, say N.
1016
1017 config SERIAL_SGI_IOC3
1018         tristate "SGI Altix IOC3 serial support"
1019         depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC3
1020         select SERIAL_CORE
1021         help
1022           If you have an SGI Altix with an IOC3 serial card,
1023           say Y or M.  Otherwise, say N.
1024
1025 config SERIAL_MSM
1026         bool "MSM on-chip serial port support"
1027         depends on ARCH_MSM
1028         select SERIAL_CORE
1029
1030 config SERIAL_MSM_CONSOLE
1031         bool "MSM serial console support"
1032         depends on SERIAL_MSM=y
1033         select SERIAL_CORE_CONSOLE
1034
1035 config SERIAL_MSM_HS
1036         tristate "MSM UART High Speed: Serial Driver"
1037         depends on ARCH_MSM
1038         select SERIAL_CORE
1039         help
1040           If you have a machine based on MSM family of SoCs, you
1041           can enable its onboard high speed serial port by enabling
1042           this option.
1043
1044           Choose M here to compile it as a module. The module will be
1045           called msm_serial_hs.
1046
1047 config SERIAL_VT8500
1048         bool "VIA VT8500 on-chip serial port support"
1049         depends on ARCH_VT8500
1050         select SERIAL_CORE
1051
1052 config SERIAL_VT8500_CONSOLE
1053         bool "VIA VT8500 serial console support"
1054         depends on SERIAL_VT8500=y
1055         select SERIAL_CORE_CONSOLE
1056
1057 config SERIAL_NETX
1058         tristate "NetX serial port support"
1059         depends on ARCH_NETX
1060         select SERIAL_CORE
1061         help
1062           If you have a machine based on a Hilscher NetX SoC you
1063           can enable its onboard serial port by enabling this option.
1064
1065           To compile this driver as a module, choose M here: the
1066           module will be called netx-serial.
1067
1068 config SERIAL_NETX_CONSOLE
1069         bool "Console on NetX serial port"
1070         depends on SERIAL_NETX=y
1071         select SERIAL_CORE_CONSOLE
1072         help
1073           If you have enabled the serial port on the Hilscher NetX SoC
1074           you can make it the console by answering Y to this option.
1075
1076 config SERIAL_OF_PLATFORM
1077         tristate "Serial port on Open Firmware platform bus"
1078         depends on OF
1079         depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL
1080         help
1081           If you have a PowerPC based system that has serial ports
1082           on a platform specific bus, you should enable this option.
1083           Currently, only 8250 compatible ports are supported, but
1084           others can easily be added.
1085
1086 config SERIAL_OMAP
1087         tristate "OMAP serial port support"
1088         depends on ARCH_OMAP2PLUS
1089         select SERIAL_CORE
1090         help
1091           If you have a machine based on an Texas Instruments OMAP CPU you
1092           can enable its onboard serial ports by enabling this option.
1093
1094           By enabling this option you take advantage of dma feature available
1095           with the omap-serial driver. DMA support can be enabled from platform
1096           data.
1097
1098 config SERIAL_OMAP_CONSOLE
1099         bool "Console on OMAP serial port"
1100         depends on SERIAL_OMAP=y
1101         select SERIAL_CORE_CONSOLE
1102         help
1103           Select this option if you would like to use omap serial port as
1104           console.
1105
1106           Even if you say Y here, the currently visible virtual console
1107           (/dev/tty0) will still be used as the system console by default, but
1108           you can alter that using a kernel command line option such as
1109           "console=ttyOx". (Try "man bootparam" or see the documentation of
1110           your boot loader about how to pass options to the kernel at
1111           boot time.)
1112
1113 config SERIAL_OF_PLATFORM_NWPSERIAL
1114         tristate "NWP serial port driver"
1115         depends on PPC_OF && PPC_DCR
1116         select SERIAL_OF_PLATFORM
1117         select SERIAL_CORE_CONSOLE
1118         select SERIAL_CORE
1119         help
1120           This driver supports the cell network processor nwp serial
1121           device.
1122
1123 config SERIAL_OF_PLATFORM_NWPSERIAL_CONSOLE
1124         bool "Console on NWP serial port"
1125         depends on SERIAL_OF_PLATFORM_NWPSERIAL=y
1126         select SERIAL_CORE_CONSOLE
1127         help
1128           Support for Console on the NWP serial ports.
1129
1130 config SERIAL_LANTIQ
1131         bool "Lantiq serial driver"
1132         depends on LANTIQ
1133         select SERIAL_CORE
1134         select SERIAL_CORE_CONSOLE
1135         help
1136           Support for console and UART on Lantiq SoCs.
1137
1138 config SERIAL_QE
1139         tristate "Freescale QUICC Engine serial port support"
1140         depends on QUICC_ENGINE
1141         select SERIAL_CORE
1142         select FW_LOADER
1143         default n
1144         help
1145           This driver supports the QE serial ports on Freescale embedded
1146           PowerPC that contain a QUICC Engine.
1147
1148 config SERIAL_SC26XX
1149         tristate "SC2681/SC2692 serial port support"
1150         depends on SNI_RM
1151         select SERIAL_CORE
1152         help
1153           This is a driver for the onboard serial ports of
1154           older RM400 machines.
1155
1156 config SERIAL_SC26XX_CONSOLE
1157         bool "Console on SC2681/SC2692 serial port"
1158         depends on SERIAL_SC26XX=y
1159         select SERIAL_CORE_CONSOLE
1160         help
1161           Support for Console on SC2681/SC2692 serial ports.
1162
1163 config SERIAL_SCCNXP
1164         tristate "SCCNXP serial port support"
1165         depends on !SERIAL_SC26XX
1166         select SERIAL_CORE
1167         default n
1168         help
1169           This selects support for an advanced UART from NXP (Philips).
1170           Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
1171           SC28L202, SCC68681 and SCC68692.
1172           Positioned as a replacement for the driver SC26XX.
1173
1174 config SERIAL_SCCNXP_CONSOLE
1175         bool "Console on SCCNXP serial port"
1176         depends on SERIAL_SCCNXP=y
1177         select SERIAL_CORE_CONSOLE
1178         help
1179           Support for console on SCCNXP serial ports.
1180
1181 config SERIAL_BFIN_SPORT
1182         tristate "Blackfin SPORT emulate UART"
1183         depends on BLACKFIN
1184         select SERIAL_CORE
1185         help
1186           Enable SPORT emulate UART on Blackfin series.
1187
1188           To compile this driver as a module, choose M here: the
1189           module will be called bfin_sport_uart.
1190
1191 config SERIAL_BFIN_SPORT_CONSOLE
1192         bool "Console on Blackfin sport emulated uart"
1193         depends on SERIAL_BFIN_SPORT=y
1194         select SERIAL_CORE_CONSOLE
1195
1196 config SERIAL_BFIN_SPORT0_UART
1197         bool "Enable UART over SPORT0"
1198         depends on SERIAL_BFIN_SPORT && !(BF542 || BF544)
1199         help
1200           Enable UART over SPORT0
1201
1202 config SERIAL_BFIN_SPORT0_UART_CTSRTS
1203         bool "Enable UART over SPORT0 hardware flow control"
1204         depends on SERIAL_BFIN_SPORT0_UART
1205         help
1206           Enable hardware flow control in the driver.
1207
1208 config SERIAL_BFIN_SPORT1_UART
1209         bool "Enable UART over SPORT1"
1210         depends on SERIAL_BFIN_SPORT
1211         help
1212           Enable UART over SPORT1
1213
1214 config SERIAL_BFIN_SPORT1_UART_CTSRTS
1215         bool "Enable UART over SPORT1 hardware flow control"
1216         depends on SERIAL_BFIN_SPORT1_UART
1217         help
1218           Enable hardware flow control in the driver.
1219
1220 config SERIAL_BFIN_SPORT2_UART
1221         bool "Enable UART over SPORT2"
1222         depends on SERIAL_BFIN_SPORT && (BF54x || BF538 || BF539)
1223         help
1224           Enable UART over SPORT2
1225
1226 config SERIAL_BFIN_SPORT2_UART_CTSRTS
1227         bool "Enable UART over SPORT2 hardware flow control"
1228         depends on SERIAL_BFIN_SPORT2_UART
1229         help
1230           Enable hardware flow control in the driver.
1231
1232 config SERIAL_BFIN_SPORT3_UART
1233         bool "Enable UART over SPORT3"
1234         depends on SERIAL_BFIN_SPORT && (BF54x || BF538 || BF539)
1235         help
1236           Enable UART over SPORT3
1237
1238 config SERIAL_BFIN_SPORT3_UART_CTSRTS
1239         bool "Enable UART over SPORT3 hardware flow control"
1240         depends on SERIAL_BFIN_SPORT3_UART
1241         help
1242           Enable hardware flow control in the driver.
1243
1244 config SERIAL_TIMBERDALE
1245         tristate "Support for timberdale UART"
1246         select SERIAL_CORE
1247         ---help---
1248         Add support for UART controller on timberdale.
1249
1250 config SERIAL_BCM63XX
1251         tristate "bcm63xx serial port support"
1252         select SERIAL_CORE
1253         depends on BCM63XX
1254         help
1255           If you have a bcm63xx CPU, you can enable its onboard
1256           serial port by enabling this options.
1257
1258           To compile this driver as a module, choose M here: the
1259           module will be called bcm963xx_uart.
1260
1261 config SERIAL_BCM63XX_CONSOLE
1262         bool "Console on bcm63xx serial port"
1263         depends on SERIAL_BCM63XX=y
1264         select SERIAL_CORE_CONSOLE
1265         help
1266           If you have enabled the serial port on the bcm63xx CPU
1267           you can make it the console by answering Y to this option.
1268
1269 config SERIAL_GRLIB_GAISLER_APBUART
1270         tristate "GRLIB APBUART serial support"
1271         depends on OF && SPARC
1272         select SERIAL_CORE
1273         ---help---
1274         Add support for the GRLIB APBUART serial port.
1275
1276 config SERIAL_GRLIB_GAISLER_APBUART_CONSOLE
1277         bool "Console on GRLIB APBUART serial port"
1278         depends on SERIAL_GRLIB_GAISLER_APBUART=y
1279         select SERIAL_CORE_CONSOLE
1280         help
1281         Support for running a console on the GRLIB APBUART
1282
1283 config SERIAL_ALTERA_JTAGUART
1284         tristate "Altera JTAG UART support"
1285         select SERIAL_CORE
1286         help
1287           This driver supports the Altera JTAG UART port.
1288
1289 config SERIAL_ALTERA_JTAGUART_CONSOLE
1290         bool "Altera JTAG UART console support"
1291         depends on SERIAL_ALTERA_JTAGUART=y
1292         select SERIAL_CORE_CONSOLE
1293         help
1294           Enable a Altera JTAG UART port to be the system console.
1295
1296 config SERIAL_ALTERA_JTAGUART_CONSOLE_BYPASS
1297         bool "Bypass output when no connection"
1298         depends on SERIAL_ALTERA_JTAGUART_CONSOLE
1299         select SERIAL_CORE_CONSOLE
1300         help
1301           Bypass console output and keep going even if there is no
1302           JTAG terminal connection with the host.
1303
1304 config SERIAL_ALTERA_UART
1305         tristate "Altera UART support"
1306         select SERIAL_CORE
1307         help
1308           This driver supports the Altera softcore UART port.
1309
1310 config SERIAL_ALTERA_UART_MAXPORTS
1311         int "Maximum number of Altera UART ports"
1312         depends on SERIAL_ALTERA_UART
1313         default 4
1314         help
1315           This setting lets you define the maximum number of the Altera
1316           UART ports. The usual default varies from board to board, and
1317           this setting is a way of catering for that.
1318
1319 config SERIAL_ALTERA_UART_BAUDRATE
1320         int "Default baudrate for Altera UART ports"
1321         depends on SERIAL_ALTERA_UART
1322         default 115200
1323         help
1324           This setting lets you define what the default baudrate is for the
1325           Altera UART ports. The usual default varies from board to board,
1326           and this setting is a way of catering for that.
1327
1328 config SERIAL_ALTERA_UART_CONSOLE
1329         bool "Altera UART console support"
1330         depends on SERIAL_ALTERA_UART=y
1331         select SERIAL_CORE_CONSOLE
1332         help
1333           Enable a Altera UART port to be the system console.
1334
1335 config SERIAL_IFX6X60
1336         tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
1337         depends on GPIOLIB && SPI
1338         help
1339           Support for the IFX6x60 modem devices on Intel MID platforms.
1340
1341 config SERIAL_PCH_UART
1342         tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) UART"
1343         depends on PCI
1344         select SERIAL_CORE
1345         help
1346           This driver is for PCH(Platform controller Hub) UART of Intel EG20T
1347           which is an IOH(Input/Output Hub) for x86 embedded processor.
1348           Enabling PCH_DMA, this PCH UART works as DMA mode.
1349
1350           This driver also can be used for LAPIS Semiconductor IOH(Input/
1351           Output Hub), ML7213, ML7223 and ML7831.
1352           ML7213 IOH is for IVI(In-Vehicle Infotainment) use, ML7223 IOH is
1353           for MP(Media Phone) use and ML7831 IOH is for general purpose use.
1354           ML7213/ML7223/ML7831 is companion chip for Intel Atom E6xx series.
1355           ML7213/ML7223/ML7831 is completely compatible for Intel EG20T PCH.
1356
1357 config SERIAL_PCH_UART_CONSOLE
1358         bool "Support for console on Intel EG20T PCH UART/OKI SEMICONDUCTOR ML7213 IOH"
1359         depends on SERIAL_PCH_UART=y
1360         select SERIAL_CORE_CONSOLE
1361         help
1362           Say Y here if you wish to use the PCH UART as the system console
1363           (the system  console is the device which receives all kernel messages and
1364           warnings and which allows logins in single user mode).
1365
1366 config SERIAL_MSM_SMD
1367         bool "Enable tty device interface for some SMD ports"
1368         default n
1369         depends on MSM_SMD
1370         help
1371           Enables userspace clients to read and write to some streaming SMD
1372           ports via tty device interface for MSM chipset.
1373
1374 config SERIAL_MXS_AUART
1375         depends on ARCH_MXS
1376         tristate "MXS AUART support"
1377         select SERIAL_CORE
1378         help
1379           This driver supports the MXS Application UART (AUART) port.
1380
1381 config SERIAL_MXS_AUART_CONSOLE
1382         bool "MXS AUART console support"
1383         depends on SERIAL_MXS_AUART=y
1384         select SERIAL_CORE_CONSOLE
1385         help
1386           Enable a MXS AUART port to be the system console.
1387
1388 config SERIAL_XILINX_PS_UART
1389         tristate "Xilinx PS UART support"
1390         depends on OF
1391         select SERIAL_CORE
1392         help
1393           This driver supports the Xilinx PS UART port.
1394
1395 config SERIAL_XILINX_PS_UART_CONSOLE
1396         bool "Xilinx PS UART console support"
1397         depends on SERIAL_XILINX_PS_UART=y
1398         select SERIAL_CORE_CONSOLE
1399         help
1400           Enable a Xilinx PS UART port to be the system console.
1401
1402 config SERIAL_AR933X
1403         bool "AR933X serial port support"
1404         depends on SOC_AR933X
1405         select SERIAL_CORE
1406         help
1407           If you have an Atheros AR933X SOC based board and want to use the
1408           built-in UART of the SoC, say Y to this option.
1409
1410 config SERIAL_AR933X_CONSOLE
1411         bool "Console on AR933X serial port"
1412         depends on SERIAL_AR933X=y
1413         select SERIAL_CORE_CONSOLE
1414         help
1415           Enable a built-in UART port of the AR933X to be the system console.
1416
1417 config SERIAL_AR933X_NR_UARTS
1418         int "Maximum number of AR933X serial ports"
1419         depends on SERIAL_AR933X
1420         default "2"
1421         help
1422           Set this to the number of serial ports you want the driver
1423           to support.
1424
1425 config SERIAL_EFM32_UART
1426         tristate "EFM32 UART/USART port."
1427         depends on ARCH_EFM32
1428         select SERIAL_CORE
1429         help
1430           This driver support the USART and UART ports on
1431           Energy Micro's efm32 SoCs.
1432
1433 config SERIAL_EFM32_UART_CONSOLE
1434         bool "EFM32 UART/USART console support"
1435         depends on SERIAL_EFM32_UART=y
1436         select SERIAL_CORE_CONSOLE
1437
1438 config SERIAL_ARC
1439         tristate "ARC UART driver support"
1440         select SERIAL_CORE
1441         help
1442           Driver for on-chip UART for ARC(Synopsys) for the legacy
1443           FPGA Boards (ML50x/ARCAngel4)
1444
1445 config SERIAL_ARC_CONSOLE
1446         bool "Console on ARC UART"
1447         depends on SERIAL_ARC=y
1448         select SERIAL_CORE_CONSOLE
1449         help
1450           Enable system Console on ARC UART
1451
1452 config SERIAL_ARC_NR_PORTS
1453         int "Number of ARC UART ports"
1454         depends on SERIAL_ARC
1455         range 1 3
1456         default "1"
1457         help
1458           Set this to the number of serial ports you want the driver
1459           to support.
1460
1461 endmenu