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