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