some kmalloc/memset ->kzalloc (tree wide)
[safe/jmp/linux-2.6] / drivers / serial / Kconfig
1 #
2 # Serial device configuration
3 #
4 # $Id: Kconfig,v 1.11 2004/03/11 18:08:04 lethal Exp $
5 #
6
7 menu "Serial drivers"
8         depends on HAS_IOMEM
9
10 #
11 # The new 8250/16550 serial drivers
12 config SERIAL_8250
13         tristate "8250/16550 and compatible serial support"
14         depends on (BROKEN || !SPARC)
15         select SERIAL_CORE
16         ---help---
17           This selects whether you want to include the driver for the standard
18           serial ports.  The standard answer is Y.  People who might say N
19           here are those that are setting up dedicated Ethernet WWW/FTP
20           servers, or users that have one of the various bus mice instead of a
21           serial mouse and don't intend to use their machine's standard serial
22           port for anything.  (Note that the Cyclades and Stallion multi
23           serial port drivers do not need this driver built in for them to
24           work.)
25
26           To compile this driver as a module, choose M here: the
27           module will be called 8250.
28           [WARNING: Do not compile this driver as a module if you are using
29           non-standard serial ports, since the configuration information will
30           be lost when the driver is unloaded.  This limitation may be lifted
31           in the future.]
32
33           BTW1: If you have a mouseman serial mouse which is not recognized by
34           the X window system, try running gpm first.
35
36           BTW2: If you intend to use a software modem (also called Winmodem)
37           under Linux, forget it.  These modems are crippled and require
38           proprietary drivers which are only available under Windows.
39
40           Most people will say Y or M here, so that they can use serial mice,
41           modems and similar devices connecting to the standard serial ports.
42
43 config SERIAL_8250_CONSOLE
44         bool "Console on 8250/16550 and compatible serial port"
45         depends on SERIAL_8250=y
46         select SERIAL_CORE_CONSOLE
47         ---help---
48           If you say Y here, it will be possible to use a serial port as the
49           system console (the system console is the device which receives all
50           kernel messages and warnings and which allows logins in single user
51           mode). This could be useful if some terminal or printer is connected
52           to that serial port.
53
54           Even if you say Y here, the currently visible virtual console
55           (/dev/tty0) will still be used as the system console by default, but
56           you can alter that using a kernel command line option such as
57           "console=ttyS1". (Try "man bootparam" or see the documentation of
58           your boot loader (grub or lilo or loadlin) about how to pass options
59           to the kernel at boot time.)
60
61           If you don't have a VGA card installed and you say Y here, the
62           kernel will automatically use the first serial line, /dev/ttyS0, as
63           system console.
64
65           you can set that using a kernel command line option such as
66           "console=uart8250,io,0x3f8,9600n8"
67           "console=uart8250,mmio,0xff5e0000,115200n8".
68           and it will switch to normal serial console when correponding port is
69           ready.
70           "earlycon=uart8250,io,0x3f8,9600n8"
71           "earlycon=uart8250,mmio,0xff5e0000,115200n8".
72           it will not only setup early console.
73
74           If unsure, say N.
75
76 config FIX_EARLYCON_MEM
77         bool
78         depends on X86
79         default y
80
81 config SERIAL_8250_GSC
82         tristate
83         depends on SERIAL_8250 && GSC
84         default SERIAL_8250
85
86 config SERIAL_8250_PCI
87         tristate "8250/16550 PCI device support" if EMBEDDED
88         depends on SERIAL_8250 && PCI
89         default SERIAL_8250
90         help
91           Say Y here if you have PCI serial ports.
92
93           To compile this driver as a module, choose M here: the module
94           will be called 8250_pci.
95
96 config SERIAL_8250_PNP
97         tristate "8250/16550 PNP device support" if EMBEDDED
98         depends on SERIAL_8250 && PNP
99         default SERIAL_8250
100         help
101           Say Y here if you have serial ports described by PNPBIOS or ACPI.
102           These are typically ports built into the system board.
103
104           To compile this driver as a module, choose M here: the module
105           will be called 8250_pnp.
106
107 config SERIAL_8250_HP300
108         tristate
109         depends on SERIAL_8250 && HP300
110         default SERIAL_8250
111
112 config SERIAL_8250_CS
113         tristate "8250/16550 PCMCIA device support"
114         depends on PCMCIA && SERIAL_8250
115         ---help---
116           Say Y here to enable support for 16-bit PCMCIA serial devices,
117           including serial port cards, modems, and the modem functions of
118           multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are
119           credit-card size devices often used with laptops.)
120
121           To compile this driver as a module, choose M here: the
122           module will be called serial_cs.
123
124           If unsure, say N.
125
126 config SERIAL_8250_NR_UARTS
127         int "Maximum number of 8250/16550 serial ports"
128         depends on SERIAL_8250
129         default "4"
130         help
131           Set this to the number of serial ports you want the driver
132           to support.  This includes any ports discovered via ACPI or
133           PCI enumeration and any ports that may be added at run-time
134           via hot-plug, or any ISA multi-port serial cards.
135
136 config SERIAL_8250_RUNTIME_UARTS
137         int "Number of 8250/16550 serial ports to register at runtime"
138         depends on SERIAL_8250
139         range 0 SERIAL_8250_NR_UARTS
140         default "4"
141         help
142           Set this to the maximum number of serial ports you want
143           the kernel to register at boot time.  This can be overridden
144           with the module parameter "nr_uarts", or boot-time parameter
145           8250.nr_uarts
146
147 config SERIAL_8250_EXTENDED
148         bool "Extended 8250/16550 serial driver options"
149         depends on SERIAL_8250
150         help
151           If you wish to use any non-standard features of the standard "dumb"
152           driver, say Y here. This includes HUB6 support, shared serial
153           interrupts, special multiport support, support for more than the
154           four COM 1/2/3/4 boards, etc.
155
156           Note that the answer to this question won't directly affect the
157           kernel: saying N will just cause the configurator to skip all
158           the questions about serial driver options. If unsure, say N.
159
160 config SERIAL_8250_MANY_PORTS
161         bool "Support more than 4 legacy serial ports"
162         depends on SERIAL_8250_EXTENDED && !IA64
163         help
164           Say Y here if you have dumb serial boards other than the four
165           standard COM 1/2/3/4 ports. This may happen if you have an AST
166           FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available
167           from <http://www.tldp.org/docs.html#howto>), or other custom
168           serial port hardware which acts similar to standard serial port
169           hardware. If you only use the standard COM 1/2/3/4 ports, you can
170           say N here to save some memory. You can also say Y if you have an
171           "intelligent" multiport card such as Cyclades, Digiboards, etc.
172
173 #
174 # Multi-port serial cards
175 #
176
177 config SERIAL_8250_FOURPORT
178         tristate "Support Fourport cards"
179         depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
180         help
181           Say Y here if you have an AST FourPort serial board.
182
183           To compile this driver as a module, choose M here: the module
184           will be called 8250_fourport.
185
186 config SERIAL_8250_ACCENT
187         tristate "Support Accent cards"
188         depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
189         help
190           Say Y here if you have an Accent Async serial board.
191
192           To compile this driver as a module, choose M here: the module
193           will be called 8250_accent.
194
195 config SERIAL_8250_BOCA
196         tristate "Support Boca cards"
197         depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
198         help
199           Say Y here if you have a Boca serial board.  Please read the Boca
200           mini-HOWTO, available from <http://www.tldp.org/docs.html#howto>
201
202           To compile this driver as a module, choose M here: the module
203           will be called 8250_boca.
204
205 config SERIAL_8250_EXAR_ST16C554
206         tristate "Support Exar ST16C554/554D Quad UART"
207         depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
208         help
209           The Uplogix Envoy TU301 uses this Exar Quad UART.  If you are
210           tinkering with your Envoy TU301, or have a machine with this UART,
211           say Y here.
212
213           To compile this driver as a module, choose M here: the module
214           will be called 8250_exar_st16c554.
215
216 config SERIAL_8250_HUB6
217         tristate "Support Hub6 cards"
218         depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
219         help
220           Say Y here if you have a HUB6 serial board.
221
222           To compile this driver as a module, choose M here: the module
223           will be called 8250_hub6.
224
225 config SERIAL_8250_SHARE_IRQ
226         bool "Support for sharing serial interrupts"
227         depends on SERIAL_8250_EXTENDED
228         help
229           Some serial boards have hardware support which allows multiple dumb
230           serial ports on the same board to share a single IRQ. To enable
231           support for this in the serial driver, say Y here.
232
233 config SERIAL_8250_DETECT_IRQ
234         bool "Autodetect IRQ on standard ports (unsafe)"
235         depends on SERIAL_8250_EXTENDED
236         help
237           Say Y here if you want the kernel to try to guess which IRQ
238           to use for your serial port.
239
240           This is considered unsafe; it is far better to configure the IRQ in
241           a boot script using the setserial command.
242
243           If unsure, say N.
244
245 config SERIAL_8250_RSA
246         bool "Support RSA serial ports"
247         depends on SERIAL_8250_EXTENDED
248         help
249           ::: To be written :::
250
251 config SERIAL_8250_MCA
252         tristate "Support 8250-type ports on MCA buses"
253         depends on SERIAL_8250 != n && MCA
254         help
255           Say Y here if you have a MCA serial ports.
256
257           To compile this driver as a module, choose M here: the module
258           will be called 8250_mca.
259
260 config SERIAL_8250_ACORN
261         tristate "Acorn expansion card serial port support"
262         depends on ARCH_ACORN && SERIAL_8250
263         help
264           If you have an Atomwide Serial card or Serial Port card for an Acorn
265           system, say Y to this option.  The driver can handle 1, 2, or 3 port
266           cards.  If unsure, say N.
267
268 config SERIAL_8250_AU1X00
269         bool "AU1X00 serial port support"
270         depends on SERIAL_8250 != n && SOC_AU1X00
271         help
272           If you have an Au1x00 board and want to use the serial port, say Y
273           to this option.  The driver can handle 1 or 2 serial ports.
274           If unsure, say N.
275
276 config SERIAL_8250_RM9K
277         bool "Support for MIPS RM9xxx integrated serial port"
278         depends on SERIAL_8250 != n && SERIAL_RM9000
279         select SERIAL_8250_SHARE_IRQ
280         help
281           Selecting this option will add support for the integrated serial
282           port hardware found on MIPS RM9122 and similar processors.
283           If unsure, say N.
284
285 comment "Non-8250 serial port support"
286
287 config SERIAL_AMBA_PL010
288         tristate "ARM AMBA PL010 serial port support"
289         depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE)
290         select SERIAL_CORE
291         help
292           This selects the ARM(R) AMBA(R) PrimeCell PL010 UART.  If you have
293           an Integrator/AP or Integrator/PP2 platform, or if you have a
294           Cirrus Logic EP93xx CPU, say Y or M here.
295
296           If unsure, say N.
297
298 config SERIAL_AMBA_PL010_CONSOLE
299         bool "Support for console on AMBA serial port"
300         depends on SERIAL_AMBA_PL010=y
301         select SERIAL_CORE_CONSOLE
302         ---help---
303           Say Y here if you wish to use an AMBA PrimeCell UART as the system
304           console (the system console is the device which receives all kernel
305           messages and warnings and which allows logins in single user mode).
306
307           Even if you say Y here, the currently visible framebuffer console
308           (/dev/tty0) will still be used as the system console by default, but
309           you can alter that using a kernel command line option such as
310           "console=ttyAM0". (Try "man bootparam" or see the documentation of
311           your boot loader (lilo or loadlin) about how to pass options to the
312           kernel at boot time.)
313
314 config SERIAL_AMBA_PL011
315         tristate "ARM AMBA PL011 serial port support"
316         depends on ARM_AMBA
317         select SERIAL_CORE
318         help
319           This selects the ARM(R) AMBA(R) PrimeCell PL011 UART.  If you have
320           an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M
321           here.
322
323           If unsure, say N.
324
325 config SERIAL_AMBA_PL011_CONSOLE
326         bool "Support for console on AMBA serial port"
327         depends on SERIAL_AMBA_PL011=y
328         select SERIAL_CORE_CONSOLE
329         ---help---
330           Say Y here if you wish to use an AMBA PrimeCell UART as the system
331           console (the system console is the device which receives all kernel
332           messages and warnings and which allows logins in single user mode).
333
334           Even if you say Y here, the currently visible framebuffer console
335           (/dev/tty0) will still be used as the system console by default, but
336           you can alter that using a kernel command line option such as
337           "console=ttyAMA0". (Try "man bootparam" or see the documentation of
338           your boot loader (lilo or loadlin) about how to pass options to the
339           kernel at boot time.)
340
341 config SERIAL_SB1250_DUART
342         tristate "BCM1xxx on-chip DUART serial support"
343         depends on SIBYTE_SB1xxx_SOC=y
344         select SERIAL_CORE
345         default y
346         ---help---
347           Support for the asynchronous serial interface (DUART) included in
348           the BCM1250 and derived System-On-a-Chip (SOC) devices.  Note that
349           the letter D in DUART stands for "dual", which is how the device
350           is implemented.  Depending on the SOC configuration there may be
351           one or more DUARTs available of which all are handled.
352
353           If unsure, say Y.  To compile this driver as a module, choose M here:
354           the module will be called sb1250-duart.
355
356 config SERIAL_SB1250_DUART_CONSOLE
357         bool "Support for console on a BCM1xxx DUART serial port"
358         depends on SERIAL_SB1250_DUART=y
359         select SERIAL_CORE_CONSOLE
360         default y
361         ---help---
362           If you say Y here, it will be possible to use a serial port as the
363           system console (the system console is the device which receives all
364           kernel messages and warnings and which allows logins in single user
365           mode).
366
367           If unsure, say Y.
368
369 config SERIAL_ATMEL
370         bool "AT91 / AT32 on-chip serial port support"
371         depends on (ARM && ARCH_AT91) || AVR32
372         select SERIAL_CORE
373         help
374           This enables the driver for the on-chip UARTs of the Atmel
375           AT91 and AT32 processors.
376
377 config SERIAL_ATMEL_CONSOLE
378         bool "Support for console on AT91 / AT32 serial port"
379         depends on SERIAL_ATMEL=y
380         select SERIAL_CORE_CONSOLE
381         help
382           Say Y here if you wish to use an on-chip UART on a Atmel
383           AT91 or AT32 processor as the system console (the system
384           console is the device which receives all kernel messages and
385           warnings and which allows logins in single user mode).
386
387 config SERIAL_ATMEL_TTYAT
388         bool "Install as device ttyATn instead of ttySn"
389         depends on SERIAL_ATMEL=y
390         help
391           Say Y here if you wish to have the internal AT91 / AT32 UARTs
392           appear as /dev/ttyATn (major 204, minor starting at 154)
393           instead of the normal /dev/ttySn (major 4, minor starting at
394           64). This is necessary if you also want other UARTs, such as
395           external 8250/16C550 compatible UARTs.
396           The ttySn nodes are legally reserved for the 8250 serial driver
397           but are often misused by other serial drivers.
398
399           To use this, you should create suitable ttyATn device nodes in
400           /dev/, and pass "console=ttyATn" to the kernel.
401
402           Say Y if you have an external 8250/16C550 UART.  If unsure, say N.
403
404 config SERIAL_KS8695
405         bool "Micrel KS8695 (Centaur) serial port support"
406         depends on ARCH_KS8695
407         select SERIAL_CORE
408         help
409           This selects the Micrel Centaur KS8695 UART.  Say Y here.
410
411 config SERIAL_KS8695_CONSOLE
412         bool "Support for console on KS8695 (Centaur) serial port"
413         depends on SERIAL_KS8695=y
414         select SERIAL_CORE_CONSOLE
415         help
416           Say Y here if you wish to use a KS8695 (Centaur) UART as the
417           system console (the system console is the device which
418           receives all kernel messages and warnings and which allows
419           logins in single user mode).
420
421 config SERIAL_CLPS711X
422         tristate "CLPS711X serial port support"
423         depends on ARM && ARCH_CLPS711X
424         select SERIAL_CORE
425         help
426           ::: To be written :::
427
428 config SERIAL_CLPS711X_CONSOLE
429         bool "Support for console on CLPS711X serial port"
430         depends on SERIAL_CLPS711X=y
431         select SERIAL_CORE_CONSOLE
432         help
433           Even if you say Y here, the currently visible virtual console
434           (/dev/tty0) will still be used as the system console by default, but
435           you can alter that using a kernel command line option such as
436           "console=ttyCL1". (Try "man bootparam" or see the documentation of
437           your boot loader (lilo or loadlin) about how to pass options to the
438           kernel at boot time.)
439
440 config SERIAL_S3C2410
441         tristate "Samsung S3C2410/S3C2440/S3C2442/S3C2412 Serial port support"
442         depends on ARM && ARCH_S3C2410
443         select SERIAL_CORE
444         help
445           Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
446           providing /dev/ttySAC0, 1 and 2 (note, some machines may not
447           provide all of these ports, depending on how the serial port
448           pins are configured.
449
450           Currently this driver supports the UARTS on the S3C2410, S3C2440,
451           S3C2442, S3C2412 and S3C2413 CPUs.
452
453 config SERIAL_S3C2410_CONSOLE
454         bool "Support for console on S3C2410 serial port"
455         depends on SERIAL_S3C2410=y
456         select SERIAL_CORE_CONSOLE
457         help
458           Allow selection of the S3C24XX on-board serial ports for use as
459           an virtual console.
460
461           Even if you say Y here, the currently visible virtual console
462           (/dev/tty0) will still be used as the system console by default, but
463           you can alter that using a kernel command line option such as
464           "console=ttySACx". (Try "man bootparam" or see the documentation of
465           your boot loader about how to pass options to the kernel at
466           boot time.)
467
468 config SERIAL_DZ
469         bool "DECstation DZ serial driver"
470         depends on MACH_DECSTATION && 32BIT
471         select SERIAL_CORE
472         help
473           DZ11-family serial controllers for VAXstations, including the
474           DC7085, M7814, and M7819.
475
476 config SERIAL_DZ_CONSOLE
477         bool "Support console on DECstation DZ serial driver"
478         depends on SERIAL_DZ=y
479         select SERIAL_CORE_CONSOLE
480         help
481           If you say Y here, it will be possible to use a serial port as the
482           system console (the system console is the device which receives all
483           kernel messages and warnings and which allows logins in single user
484           mode).  Note that the firmware uses ttyS0 as the serial console on
485           the Maxine and ttyS2 on the others.
486
487           If unsure, say Y.
488
489 config SERIAL_ZS
490         tristate "DECstation Z85C30 serial support"
491         depends on MACH_DECSTATION
492         select SERIAL_CORE
493         default y
494         ---help---
495           Support for the Zilog 85C350 serial communications controller used
496           for serial ports in newer DECstation systems.  These include the
497           DECsystem 5900 and all models of the DECstation and DECsystem 5000
498           systems except from model 200.
499
500           If unsure, say Y.  To compile this driver as a module, choose M here:
501           the module will be called zs.
502
503 config SERIAL_ZS_CONSOLE
504         bool "Support for console on a DECstation Z85C30 serial port"
505         depends on SERIAL_ZS=y
506         select SERIAL_CORE_CONSOLE
507         default y
508         ---help---
509           If you say Y here, it will be possible to use a serial port as the
510           system console (the system console is the device which receives all
511           kernel messages and warnings and which allows logins in single user
512           mode).
513
514           Note that the firmware uses ttyS1 as the serial console on the
515           Maxine and ttyS3 on the others using this driver.
516
517           If unsure, say Y.
518
519 config SERIAL_21285
520         tristate "DC21285 serial port support"
521         depends on ARM && FOOTBRIDGE
522         select SERIAL_CORE
523         help
524           If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
525           PCI bridge you can enable its onboard serial port by enabling this
526           option.
527
528 config SERIAL_21285_CONSOLE
529         bool "Console on DC21285 serial port"
530         depends on SERIAL_21285=y
531         select SERIAL_CORE_CONSOLE
532         help
533           If you have enabled the serial port on the 21285 footbridge you can
534           make it the console by answering Y to this option.
535
536           Even if you say Y here, the currently visible virtual console
537           (/dev/tty0) will still be used as the system console by default, but
538           you can alter that using a kernel command line option such as
539           "console=ttyFB". (Try "man bootparam" or see the documentation of
540           your boot loader (lilo or loadlin) about how to pass options to the
541           kernel at boot time.)
542
543 config SERIAL_MPSC
544         bool "Marvell MPSC serial port support"
545         depends on PPC32 && MV64X60
546         select SERIAL_CORE
547         help
548           Say Y here if you want to use the Marvell MPSC serial controller.
549
550 config SERIAL_MPSC_CONSOLE
551         bool "Support for console on Marvell MPSC serial port"
552         depends on SERIAL_MPSC
553         select SERIAL_CORE_CONSOLE
554         help
555           Say Y here if you want to support a serial console on a Marvell MPSC.
556
557 config SERIAL_PXA
558         bool "PXA serial port support"
559         depends on ARM && ARCH_PXA
560         select SERIAL_CORE
561         help
562           If you have a machine based on an Intel XScale PXA2xx CPU you
563           can enable its onboard serial ports by enabling this option.
564
565 config SERIAL_PXA_CONSOLE
566         bool "Console on PXA serial port"
567         depends on SERIAL_PXA
568         select SERIAL_CORE_CONSOLE
569         help
570           If you have enabled the serial port on the Intel XScale PXA
571           CPU you can make it the console by answering Y to this option.
572
573           Even if you say Y here, the currently visible virtual console
574           (/dev/tty0) will still be used as the system console by default, but
575           you can alter that using a kernel command line option such as
576           "console=ttySA0". (Try "man bootparam" or see the documentation of
577           your boot loader (lilo or loadlin) about how to pass options to the
578           kernel at boot time.)
579
580 config SERIAL_SA1100
581         bool "SA1100 serial port support"
582         depends on ARM && ARCH_SA1100
583         select SERIAL_CORE
584         help
585           If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
586           can enable its onboard serial port by enabling this option.
587           Please read <file:Documentation/arm/SA1100/serial_UART> for further
588           info.
589
590 config SERIAL_SA1100_CONSOLE
591         bool "Console on SA1100 serial port"
592         depends on SERIAL_SA1100
593         select SERIAL_CORE_CONSOLE
594         help
595           If you have enabled the serial port on the SA1100/SA1110 StrongARM
596           CPU you can make it the console by answering Y to this option.
597
598           Even if you say Y here, the currently visible virtual console
599           (/dev/tty0) will still be used as the system console by default, but
600           you can alter that using a kernel command line option such as
601           "console=ttySA0". (Try "man bootparam" or see the documentation of
602           your boot loader (lilo or loadlin) about how to pass options to the
603           kernel at boot time.)
604
605 config SERIAL_BFIN
606         tristate "Blackfin serial port support"
607         depends on BFIN
608         select SERIAL_CORE
609         select SERIAL_BFIN_UART0 if (BF531 || BF532 || BF533 || BF561)
610         help
611           Add support for the built-in UARTs on the Blackfin.
612
613           To compile this driver as a module, choose M here: the
614           module will be called bfin_5xx.
615
616 config SERIAL_BFIN_CONSOLE
617         bool "Console on Blackfin serial port"
618         depends on SERIAL_BFIN
619         select SERIAL_CORE_CONSOLE
620
621 choice
622         prompt "UART Mode"
623         depends on SERIAL_BFIN
624         default SERIAL_BFIN_DMA
625         help
626           This driver supports the built-in serial ports of the Blackfin family
627           of CPUs
628
629 config SERIAL_BFIN_DMA
630         bool "DMA mode"
631         depends on DMA_UNCACHED_1M && !KGDB_UART
632         help
633           This driver works under DMA mode. If this option is selected, the
634           blackfin simple dma driver is also enabled.
635
636 config SERIAL_BFIN_PIO
637         bool "PIO mode"
638         help
639           This driver works under PIO mode.
640
641 endchoice
642
643 config SERIAL_BFIN_UART0
644         bool "Enable UART0"
645         depends on SERIAL_BFIN
646         help
647           Enable UART0
648
649 config BFIN_UART0_CTSRTS
650         bool "Enable UART0 hardware flow control"
651         depends on SERIAL_BFIN_UART0
652         help
653           Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
654           signal.
655
656 config UART0_CTS_PIN
657         int "UART0 CTS pin"
658         depends on BFIN_UART0_CTSRTS
659         default 23
660         help
661           The default pin is GPIO_GP7.
662           Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
663
664 config UART0_RTS_PIN
665         int "UART0 RTS pin"
666         depends on BFIN_UART0_CTSRTS
667         default 22
668         help
669           The default pin is GPIO_GP6.
670           Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
671
672 config SERIAL_BFIN_UART1
673         bool "Enable UART1"
674         depends on SERIAL_BFIN && (BF534 || BF536 || BF537 || BF54x)
675         help
676           Enable UART1
677
678 config BFIN_UART1_CTSRTS
679         bool "Enable UART1 hardware flow control"
680         depends on SERIAL_BFIN_UART1
681         help
682           Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
683           signal.
684
685 config UART1_CTS_PIN
686         int "UART1 CTS pin"
687         depends on BFIN_UART1_CTSRTS && (BF53x || BF561)
688         default -1
689         help
690           Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
691
692 config UART1_RTS_PIN
693         int "UART1 RTS pin"
694         depends on BFIN_UART1_CTSRTS && (BF53x || BF561)
695         default -1
696         help
697           Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
698
699 config SERIAL_BFIN_UART2
700         bool "Enable UART2"
701         depends on SERIAL_BFIN && (BF54x)
702         help
703           Enable UART2
704
705 config BFIN_UART2_CTSRTS
706         bool "Enable UART2 hardware flow control"
707         depends on SERIAL_BFIN_UART2
708         help
709           Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
710           signal.
711
712 config UART2_CTS_PIN
713         int "UART2 CTS pin"
714         depends on BFIN_UART2_CTSRTS
715         default -1
716         help
717           Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
718
719 config UART2_RTS_PIN
720         int "UART2 RTS pin"
721         depends on BFIN_UART2_CTSRTS
722         default -1
723         help
724           Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
725
726 config SERIAL_BFIN_UART3
727         bool "Enable UART3"
728         depends on SERIAL_BFIN && (BF54x)
729         help
730           Enable UART3
731
732 config BFIN_UART3_CTSRTS
733         bool "Enable UART3 hardware flow control"
734         depends on SERIAL_BFIN_UART3
735         help
736           Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
737           signal.
738
739 config SERIAL_IMX
740         bool "IMX serial port support"
741         depends on ARM && ARCH_IMX
742         select SERIAL_CORE
743         help
744           If you have a machine based on a Motorola IMX CPU you
745           can enable its onboard serial port by enabling this option.
746
747 config SERIAL_IMX_CONSOLE
748         bool "Console on IMX serial port"
749         depends on SERIAL_IMX
750         select SERIAL_CORE_CONSOLE
751         help
752           If you have enabled the serial port on the Motorola IMX
753           CPU you can make it the console by answering Y to this option.
754
755           Even if you say Y here, the currently visible virtual console
756           (/dev/tty0) will still be used as the system console by default, but
757           you can alter that using a kernel command line option such as
758           "console=ttySA0". (Try "man bootparam" or see the documentation of
759           your boot loader (lilo or loadlin) about how to pass options to the
760           kernel at boot time.)
761
762 config SERIAL_UARTLITE
763         tristate "Xilinx uartlite serial port support"
764         depends on PPC32
765         select SERIAL_CORE
766         help
767           Say Y here if you want to use the Xilinx uartlite serial controller.
768
769           To compile this driver as a module, choose M here: the
770           module will be called uartlite.ko.
771
772 config SERIAL_UARTLITE_CONSOLE
773         bool "Support for console on Xilinx uartlite serial port"
774         depends on SERIAL_UARTLITE=y
775         select SERIAL_CORE_CONSOLE
776         help
777           Say Y here if you wish to use a Xilinx uartlite as the system
778           console (the system console is the device which receives all kernel
779           messages and warnings and which allows logins in single user mode).
780
781 config SERIAL_SUNCORE
782         bool
783         depends on SPARC
784         select SERIAL_CORE
785         select SERIAL_CORE_CONSOLE
786         default y
787
788 config SERIAL_SUNZILOG
789         tristate "Sun Zilog8530 serial support"
790         depends on SPARC
791         help
792           This driver supports the Zilog8530 serial ports found on many Sparc
793           systems.  Say Y or M if you want to be able to these serial ports.
794
795 config SERIAL_SUNZILOG_CONSOLE
796         bool "Console on Sun Zilog8530 serial port"
797         depends on SERIAL_SUNZILOG=y
798         help
799           If you would like to be able to use the Zilog8530 serial port
800           on your Sparc system as the console, you can do so by answering
801           Y to this option.
802
803 config SERIAL_SUNSU
804         tristate "Sun SU serial support"
805         depends on SPARC && PCI
806         help
807           This driver supports the 8250 serial ports that run the keyboard and
808           mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able
809           to these serial ports.
810
811 config SERIAL_SUNSU_CONSOLE
812         bool "Console on Sun SU serial port"
813         depends on SERIAL_SUNSU=y
814         help
815           If you would like to be able to use the SU serial port
816           on your Sparc system as the console, you can do so by answering
817           Y to this option.
818
819 config SERIAL_MUX
820         tristate "Serial MUX support"
821         depends on GSC
822         select SERIAL_CORE
823         default y
824         ---help---
825           Saying Y here will enable the hardware MUX serial driver for
826           the Nova, K class systems and D class with a 'remote control card'.
827           The hardware MUX is not 8250/16550 compatible therefore the
828           /dev/ttyB0 device is shared between the Serial MUX and the PDC
829           software console. The following steps need to be completed to use
830           the Serial MUX:
831
832             1. create the device entry (mknod /dev/ttyB0 c 11 0)
833             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
834             3. Add device ttyB0 to /etc/securetty (if you want to log on as
835                  root on this console.)
836             4. Change the kernel command console parameter to: console=ttyB0
837
838 config SERIAL_MUX_CONSOLE
839         bool "Support for console on serial MUX"
840         depends on SERIAL_MUX
841         select SERIAL_CORE_CONSOLE
842         default y
843
844 config PDC_CONSOLE
845         bool "PDC software console support"
846         depends on PARISC && !SERIAL_MUX && VT
847         default n
848         help
849           Saying Y here will enable the software based PDC console to be 
850           used as the system console.  This is useful for machines in 
851           which the hardware based console has not been written yet.  The
852           following steps must be competed to use the PDC console:
853
854             1. create the device entry (mknod /dev/ttyB0 c 11 0)
855             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
856             3. Add device ttyB0 to /etc/securetty (if you want to log on as
857                  root on this console.)
858             4. Change the kernel command console parameter to: console=ttyB0
859
860 config SERIAL_SUNSAB
861         tristate "Sun Siemens SAB82532 serial support"
862         depends on SPARC && PCI
863         help
864           This driver supports the Siemens SAB82532 DUSCC serial ports on newer
865           (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these
866           serial ports.
867
868 config SERIAL_SUNSAB_CONSOLE
869         bool "Console on Sun Siemens SAB82532 serial port"
870         depends on SERIAL_SUNSAB=y
871         help
872           If you would like to be able to use the SAB82532 serial port
873           on your Sparc system as the console, you can do so by answering
874           Y to this option.
875
876 config SERIAL_SUNHV
877         bool "Sun4v Hypervisor Console support"
878         depends on SPARC64
879         help
880           This driver supports the console device found on SUN4V Sparc
881           systems.  Say Y if you want to be able to use this device.
882
883 config SERIAL_IP22_ZILOG
884         tristate "IP22 Zilog8530 serial support"
885         depends on SGI_IP22
886         select SERIAL_CORE
887         help
888           This driver supports the Zilog8530 serial ports found on SGI IP22
889           systems.  Say Y or M if you want to be able to these serial ports.
890
891 config SERIAL_IP22_ZILOG_CONSOLE
892         bool "Console on IP22 Zilog8530 serial port"
893         depends on SERIAL_IP22_ZILOG=y
894         select SERIAL_CORE_CONSOLE
895
896 config V850E_UART
897         bool "NEC V850E on-chip UART support"
898         depends on V850E_MA1 || V850E_ME2 || V850E_TEG || V850E2_ANNA || V850E_AS85EP1
899         select SERIAL_CORE
900         default y
901
902 config V850E_UARTB
903         bool
904         depends on V850E_UART && V850E_ME2
905         default y
906
907 config V850E_UART_CONSOLE
908         bool "Use NEC V850E on-chip UART for console"
909         depends on V850E_UART
910         select SERIAL_CORE_CONSOLE
911
912 config SERIAL_SH_SCI
913         tristate "SuperH SCI(F) serial port support"
914         depends on SUPERH || H8300
915         select SERIAL_CORE
916
917 config SERIAL_SH_SCI_NR_UARTS
918         int "Maximum number of SCI(F) serial ports"
919         depends on SERIAL_SH_SCI
920         default "2"
921
922 config SERIAL_SH_SCI_CONSOLE
923         bool "Support for console on SuperH SCI(F)"
924         depends on SERIAL_SH_SCI=y
925         select SERIAL_CORE_CONSOLE
926
927 config SERIAL_PNX8XXX
928         bool "Enable PNX8XXX SoCs' UART Support"
929         depends on MIPS && SOC_PNX8550
930         select SERIAL_CORE
931         help
932           If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
933           and you want to use serial ports, say Y.  Otherwise, say N.
934
935 config SERIAL_PNX8XXX_CONSOLE
936         bool "Enable PNX8XX0 serial console"
937         depends on SERIAL_PNX8XXX
938         select SERIAL_CORE_CONSOLE
939         help
940           If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
941           and you want to use serial console, say Y. Otherwise, say N.
942
943 config SERIAL_CORE
944         tristate
945
946 config SERIAL_CORE_CONSOLE
947         bool
948
949 config SERIAL_68328
950         bool "68328 serial support"
951         depends on M68328 || M68EZ328 || M68VZ328
952         help
953           This driver supports the built-in serial port of the Motorola 68328
954           (standard, EZ and VZ varieties).
955
956 config SERIAL_68328_RTS_CTS
957         bool "Support RTS/CTS on 68328 serial port"
958         depends on SERIAL_68328
959
960 config SERIAL_COLDFIRE
961         bool "ColdFire serial support"
962         depends on COLDFIRE
963         help
964           This driver supports the built-in serial ports of the Motorola ColdFire
965           family of CPUs.
966
967 config SERIAL_68360_SMC
968         bool "68360 SMC uart support"
969         depends on M68360
970         help
971           This driver supports the SMC serial ports of the Motorola 68360 CPU.
972
973 config SERIAL_68360_SCC
974         bool "68360 SCC uart support"
975         depends on M68360
976         help
977           This driver supports the SCC serial ports of the Motorola 68360 CPU.
978
979 config SERIAL_68360
980         bool
981         depends on SERIAL_68360_SMC || SERIAL_68360_SCC
982         default y
983
984 config SERIAL_PMACZILOG
985         tristate "PowerMac z85c30 ESCC support"
986         depends on PPC_OF && PPC_PMAC
987         select SERIAL_CORE
988         help
989           This driver supports the Zilog z85C30 serial ports found on
990           PowerMac machines.
991           Say Y or M if you want to be able to these serial ports.
992
993 config SERIAL_PMACZILOG_CONSOLE
994         bool "Console on PowerMac z85c30 serial port"
995         depends on SERIAL_PMACZILOG=y
996         select SERIAL_CORE_CONSOLE
997         help
998           If you would like to be able to use the z85c30 serial port
999           on your PowerMac as the console, you can do so by answering
1000           Y to this option.
1001
1002 config SERIAL_LH7A40X
1003         tristate "Sharp LH7A40X embedded UART support"
1004         depends on ARM && ARCH_LH7A40X
1005         select SERIAL_CORE
1006         help
1007           This enables support for the three on-board UARTs of the
1008           Sharp LH7A40X series CPUs.  Choose Y or M.
1009
1010 config SERIAL_LH7A40X_CONSOLE
1011         bool "Support for console on Sharp LH7A40X serial port"
1012         depends on SERIAL_LH7A40X=y
1013         select SERIAL_CORE_CONSOLE
1014         help
1015           Say Y here if you wish to use one of the serial ports as the
1016           system console--the system console is the device which
1017           receives all kernel messages and warnings and which allows
1018           logins in single user mode.
1019
1020           Even if you say Y here, the currently visible framebuffer console
1021           (/dev/tty0) will still be used as the default system console, but
1022           you can alter that using a kernel command line, for example
1023           "console=ttyAM1".
1024
1025 config SERIAL_CPM
1026         tristate "CPM SCC/SMC serial port support"
1027         depends on CPM2 || 8xx
1028         select SERIAL_CORE
1029         help
1030           This driver supports the SCC and SMC serial ports on Motorola 
1031           embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
1032
1033 config SERIAL_CPM_CONSOLE
1034         bool "Support for console on CPM SCC/SMC serial port"
1035         depends on SERIAL_CPM=y
1036         select SERIAL_CORE_CONSOLE
1037         help
1038           Say Y here if you wish to use a SCC or SMC CPM UART as the system
1039           console (the system console is the device which receives all kernel
1040           messages and warnings and which allows logins in single user mode).
1041
1042           Even if you say Y here, the currently visible framebuffer console
1043           (/dev/tty0) will still be used as the system console by default, but
1044           you can alter that using a kernel command line option such as
1045           "console=ttyCPM0". (Try "man bootparam" or see the documentation of
1046           your boot loader (lilo or loadlin) about how to pass options to the
1047           kernel at boot time.)
1048
1049 config SERIAL_CPM_SCC1
1050         bool "Support for SCC1 serial port"
1051         depends on SERIAL_CPM=y
1052         help
1053           Select this option to use SCC1 as a serial port
1054
1055 config SERIAL_CPM_SCC2
1056         bool "Support for SCC2 serial port"
1057         depends on SERIAL_CPM=y
1058         help
1059           Select this option to use SCC2 as a serial port
1060
1061 config SERIAL_CPM_SCC3
1062         bool "Support for SCC3 serial port"
1063         depends on SERIAL_CPM=y
1064         help
1065           Select this option to use SCC3 as a serial port
1066
1067 config SERIAL_CPM_SCC4
1068         bool "Support for SCC4 serial port"
1069         depends on SERIAL_CPM=y
1070         help
1071           Select this option to use SCC4 as a serial port
1072
1073 config SERIAL_CPM_SMC1
1074         bool "Support for SMC1 serial port"
1075         depends on SERIAL_CPM=y
1076         help
1077           Select this option to use SMC1 as a serial port
1078
1079 config SERIAL_CPM_SMC2
1080         bool "Support for SMC2 serial port"
1081         depends on SERIAL_CPM=y
1082         help
1083           Select this option to use SMC2 as a serial port
1084
1085 config SERIAL_SGI_L1_CONSOLE
1086         bool "SGI Altix L1 serial console support"
1087         depends on IA64_GENERIC || IA64_SGI_SN2
1088         select SERIAL_CORE
1089         select SERIAL_CORE_CONSOLE
1090         help
1091                 If you have an SGI Altix and you would like to use the system
1092                 controller serial port as your console (you want this!),
1093                 say Y.  Otherwise, say N.
1094
1095 config SERIAL_MPC52xx
1096         tristate "Freescale MPC52xx family PSC serial support"
1097         depends on PPC_MPC52xx
1098         select SERIAL_CORE
1099         help
1100           This drivers support the MPC52xx PSC serial ports. If you would
1101           like to use them, you must answer Y or M to this option. Not that
1102           for use as console, it must be included in kernel and not as a
1103           module.
1104
1105 config SERIAL_MPC52xx_CONSOLE
1106         bool "Console on a Freescale MPC52xx family PSC serial port"
1107         depends on SERIAL_MPC52xx=y
1108         select SERIAL_CORE_CONSOLE
1109         help
1110           Select this options if you'd like to use one of the PSC serial port
1111           of the Freescale MPC52xx family as a console.
1112
1113 config SERIAL_MPC52xx_CONSOLE_BAUD
1114         int "Freescale MPC52xx family PSC serial port baud"
1115         depends on SERIAL_MPC52xx_CONSOLE=y
1116         default "9600"
1117         help
1118           Select the MPC52xx console baud rate.
1119           This value is only used if the bootloader doesn't pass in the
1120           console baudrate
1121
1122 config SERIAL_ICOM
1123         tristate "IBM Multiport Serial Adapter"
1124         depends on PCI && (PPC_ISERIES || PPC_PSERIES)
1125         select SERIAL_CORE
1126         select FW_LOADER
1127         help
1128           This driver is for a family of multiport serial adapters
1129           including 2 port RVX, 2 port internal modem, 4 port internal
1130           modem and a split 1 port RVX and 1 port internal modem.
1131
1132           This driver can also be built as a module.  If so, the module
1133           will be called icom.
1134
1135 config SERIAL_M32R_SIO
1136         bool "M32R SIO I/F"
1137         depends on M32R
1138         default y
1139         select SERIAL_CORE
1140         help
1141           Say Y here if you want to use the M32R serial controller.
1142
1143 config SERIAL_M32R_SIO_CONSOLE
1144         bool "use SIO console"
1145         depends on SERIAL_M32R_SIO=y
1146         select SERIAL_CORE_CONSOLE
1147         help
1148           Say Y here if you want to support a serial console.
1149
1150           If you use an M3T-M32700UT or an OPSPUT platform,
1151           please say also y for SERIAL_M32R_PLDSIO.
1152
1153 config SERIAL_M32R_PLDSIO
1154         bool "M32R SIO I/F on a PLD"
1155         depends on SERIAL_M32R_SIO=y && (PLAT_OPSPUT || PLAT_USRV || PLAT_M32700UT)
1156         default n
1157         help
1158           Say Y here if you want to use the M32R serial controller
1159           on a PLD (Programmable Logic Device).
1160
1161           If you use an M3T-M32700UT or an OPSPUT platform,
1162           please say Y.
1163
1164 config SERIAL_TXX9
1165         bool "TMPTX39XX/49XX SIO support"
1166         depends on HAS_TXX9_SERIAL
1167         select SERIAL_CORE
1168         default y
1169
1170 config HAS_TXX9_SERIAL
1171         bool
1172
1173 config SERIAL_TXX9_NR_UARTS
1174         int "Maximum number of TMPTX39XX/49XX SIO ports"
1175         depends on SERIAL_TXX9
1176         default "6"
1177
1178 config SERIAL_TXX9_CONSOLE
1179         bool "TMPTX39XX/49XX SIO Console support"
1180         depends on SERIAL_TXX9=y
1181         select SERIAL_CORE_CONSOLE
1182
1183 config SERIAL_TXX9_STDSERIAL
1184         bool "TX39XX/49XX SIO act as standard serial"
1185         depends on !SERIAL_8250 && SERIAL_TXX9
1186
1187 config SERIAL_VR41XX
1188         tristate "NEC VR4100 series Serial Interface Unit support"
1189         depends on CPU_VR41XX
1190         select SERIAL_CORE
1191         help
1192           If you have a NEC VR4100 series processor and you want to use
1193           Serial Interface Unit(SIU) or Debug Serial Interface Unit(DSIU)
1194           (not include VR4111/VR4121 DSIU), say Y.  Otherwise, say N.
1195
1196 config SERIAL_VR41XX_CONSOLE
1197         bool "Enable NEC VR4100 series Serial Interface Unit console"
1198         depends on SERIAL_VR41XX
1199         select SERIAL_CORE_CONSOLE
1200         help
1201           If you have a NEC VR4100 series processor and you want to use
1202           a console on a serial port, say Y.  Otherwise, say N.
1203
1204 config SERIAL_JSM
1205         tristate "Digi International NEO PCI Support"
1206         depends on PCI
1207         select SERIAL_CORE
1208         help
1209           This is a driver for Digi International's Neo series
1210           of cards which provide multiple serial ports. You would need
1211           something like this to connect more than two modems to your Linux
1212           box, for instance in order to become a dial-in server. This driver
1213           supports PCI boards only.
1214
1215           If you have a card like this, say Y here, otherwise say N.
1216
1217           To compile this driver as a module, choose M here: the
1218           module will be called jsm.
1219
1220 config SERIAL_SGI_IOC4
1221         tristate "SGI IOC4 controller serial support"
1222         depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4
1223         select SERIAL_CORE
1224         help
1225                 If you have an SGI Altix with an IOC4 based Base IO card
1226                 and wish to use the serial ports on this card, say Y.
1227                 Otherwise, say N.
1228
1229 config SERIAL_SGI_IOC3
1230         tristate "SGI Altix IOC3 serial support"
1231         depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC3
1232         select SERIAL_CORE
1233         help
1234           If you have an SGI Altix with an IOC3 serial card,
1235           say Y or M.  Otherwise, say N.
1236
1237 config SERIAL_NETX
1238         bool "NetX serial port support"
1239         depends on ARM && ARCH_NETX
1240         select SERIAL_CORE
1241         help
1242           If you have a machine based on a Hilscher NetX SoC you
1243           can enable its onboard serial port by enabling this option.
1244
1245           To compile this driver as a module, choose M here: the
1246           module will be called netx-serial.
1247
1248 config SERIAL_NETX_CONSOLE
1249         bool "Console on NetX serial port"
1250         depends on SERIAL_NETX
1251         select SERIAL_CORE_CONSOLE
1252         help
1253           If you have enabled the serial port on the Motorola IMX
1254           CPU you can make it the console by answering Y to this option.
1255
1256 config SERIAL_OF_PLATFORM
1257         tristate "Serial port on Open Firmware platform bus"
1258         depends on PPC_OF
1259         depends on SERIAL_8250
1260         help
1261           If you have a PowerPC based system that has serial ports
1262           on a platform specific bus, you should enable this option.
1263           Currently, only 8250 compatible ports are supported, but
1264           others can easily be added.
1265
1266 endmenu