ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-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
9 #
10 # The new 8250/16550 serial drivers
11 config SERIAL_8250
12         tristate "8250/16550 and compatible serial support"
13         select SERIAL_CORE
14         ---help---
15           This selects whether you want to include the driver for the standard
16           serial ports.  The standard answer is Y.  People who might say N
17           here are those that are setting up dedicated Ethernet WWW/FTP
18           servers, or users that have one of the various bus mice instead of a
19           serial mouse and don't intend to use their machine's standard serial
20           port for anything.  (Note that the Cyclades and Stallion multi
21           serial port drivers do not need this driver built in for them to
22           work.)
23
24           To compile this driver as a module, choose M here: the
25           module will be called serial.
26           [WARNING: Do not compile this driver as a module if you are using
27           non-standard serial ports, since the configuration information will
28           be lost when the driver is unloaded.  This limitation may be lifted
29           in the future.]
30
31           BTW1: If you have a mouseman serial mouse which is not recognized by
32           the X window system, try running gpm first.
33
34           BTW2: If you intend to use a software modem (also called Winmodem)
35           under Linux, forget it.  These modems are crippled and require
36           proprietary drivers which are only available under Windows.
37
38           Most people will say Y or M here, so that they can use serial mice,
39           modems and similar devices connecting to the standard serial ports.
40
41 config SERIAL_8250_CONSOLE
42         bool "Console on 8250/16550 and compatible serial port"
43         depends on SERIAL_8250=y
44         select SERIAL_CORE_CONSOLE
45         ---help---
46           If you say Y here, it will be possible to use a serial port as the
47           system console (the system console is the device which receives all
48           kernel messages and warnings and which allows logins in single user
49           mode). This could be useful if some terminal or printer is connected
50           to that serial port.
51
52           Even if you say Y here, the currently visible virtual console
53           (/dev/tty0) will still be used as the system console by default, but
54           you can alter that using a kernel command line option such as
55           "console=ttyS1". (Try "man bootparam" or see the documentation of
56           your boot loader (grub or lilo or loadlin) about how to pass options
57           to the kernel at boot time.)
58
59           If you don't have a VGA card installed and you say Y here, the
60           kernel will automatically use the first serial line, /dev/ttyS0, as
61           system console.
62
63           If unsure, say N.
64
65 config SERIAL_8250_HCDP
66         bool "Console device discovery via EFI HCDP table"
67         depends on IA64
68         depends on SERIAL_8250_CONSOLE=y
69         ---help---
70           If you wish to make the serial console port described by the EFI
71           HCDP table available for use as serial console, say Y here.  See
72           <http://www.dig64.org/specifications/DIG64_HCDPv10a_01.pdf>.
73
74 config SERIAL_8250_CS
75         tristate "8250/16550 PCMCIA device support"
76         depends on PCMCIA && SERIAL_8250
77         ---help---
78           Say Y here to enable support for 16-bit PCMCIA serial devices,
79           including serial port cards, modems, and the modem functions of
80           multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are
81           credit-card size devices often used with laptops.)
82
83           To compile this driver as a module, choose M here: the
84           module will be called serial_cs.
85
86           If unsure, say N.
87
88 config SERIAL_8250_ACPI
89         bool "8250/16550 device discovery via ACPI namespace"
90         default y if IA64
91         depends on ACPI_BUS && SERIAL_8250
92         ---help---
93           If you wish to enable serial port discovery via the ACPI
94           namespace, say Y here.  If unsure, say N.
95
96 config SERIAL_8250_NR_UARTS
97         int "Maximum number of non-legacy 8250/16550 serial ports"
98         depends on SERIAL_8250
99         default "4"
100         ---help---
101           Set this to the number of non-legacy serial ports you want
102           the driver to support.  This includes any ports discovered
103           via ACPI or PCI enumeration and any ports that may be added
104           at run-time via hot-plug.
105
106 config SERIAL_8250_EXTENDED
107         bool "Extended 8250/16550 serial driver options"
108         depends on SERIAL_8250
109         help
110           If you wish to use any non-standard features of the standard "dumb"
111           driver, say Y here. This includes HUB6 support, shared serial
112           interrupts, special multiport support, support for more than the
113           four COM 1/2/3/4 boards, etc.
114
115           Note that the answer to this question won't directly affect the
116           kernel: saying N will just cause the configurator to skip all
117           the questions about serial driver options. If unsure, say N.
118
119 config SERIAL_8250_MANY_PORTS
120         bool "Support more than 4 legacy serial ports"
121         depends on SERIAL_8250_EXTENDED && !IA64
122         help
123           Say Y here if you have dumb serial boards other than the four
124           standard COM 1/2/3/4 ports. This may happen if you have an AST
125           FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available
126           from <http://www.tldp.org/docs.html#howto>), or other custom
127           serial port hardware which acts similar to standard serial port
128           hardware. If you only use the standard COM 1/2/3/4 ports, you can
129           say N here to save some memory. You can also say Y if you have an
130           "intelligent" multiport card such as Cyclades, Digiboards, etc.
131
132 config SERIAL_8250_SHARE_IRQ
133         bool "Support for sharing serial interrupts"
134         depends on SERIAL_8250_EXTENDED
135         help
136           Some serial boards have hardware support which allows multiple dumb
137           serial ports on the same board to share a single IRQ. To enable
138           support for this in the serial driver, say Y here.
139
140 config SERIAL_8250_DETECT_IRQ
141         bool "Autodetect IRQ on standard ports (unsafe)"
142         depends on SERIAL_8250_EXTENDED
143         help
144           Say Y here if you want the kernel to try to guess which IRQ
145           to use for your serial port.
146
147           This is considered unsafe; it is far better to configure the IRQ in
148           a boot script using the setserial command.
149
150           If unsure, say N.
151
152 config SERIAL_8250_MULTIPORT
153         bool "Support special multiport boards"
154         depends on SERIAL_8250_EXTENDED
155         help
156           Some multiport serial ports have special ports which are used to
157           signal when there are any serial ports on the board which need
158           servicing. Say Y here to enable the serial driver to take advantage
159           of those special I/O ports.
160
161 config SERIAL_8250_RSA
162         bool "Support RSA serial ports"
163         depends on SERIAL_8250_EXTENDED
164         help
165           ::: To be written :::
166
167 comment "Non-8250 serial port support"
168
169 config SERIAL_8250_ACORN
170         tristate "Acorn expansion card serial port support"
171         depends on ARM && ARCH_ACORN && SERIAL_8250
172         help
173           If you have an Atomwide Serial card or Serial Port card for an Acorn
174           system, say Y to this option.  The driver can handle 1, 2, or 3 port
175           cards.  If unsure, say N.
176
177 config SERIAL_AMBA_PL010
178         tristate "ARM AMBA PL010 serial port support"
179         depends on ARM_AMBA
180         select SERIAL_CORE
181         help
182           This selects the ARM(R) AMBA(R) PrimeCell PL010 UART.  If you have
183           an Integrator/AP or Integrator/PP2 platform, say Y or M here.
184
185           If unsure, say N.
186
187 config SERIAL_AMBA_PL010_CONSOLE
188         bool "Support for console on AMBA serial port"
189         depends on SERIAL_AMBA_PL010=y
190         select SERIAL_CORE_CONSOLE
191         ---help---
192           Say Y here if you wish to use an AMBA PrimeCell UART as the system
193           console (the system console is the device which receives all kernel
194           messages and warnings and which allows logins in single user mode).
195
196           Even if you say Y here, the currently visible framebuffer console
197           (/dev/tty0) will still be used as the system console by default, but
198           you can alter that using a kernel command line option such as
199           "console=ttyAM0". (Try "man bootparam" or see the documentation of
200           your boot loader (lilo or loadlin) about how to pass options to the
201           kernel at boot time.)
202
203 config SERIAL_AMBA_PL011
204         tristate "ARM AMBA PL011 serial port support"
205         depends on ARM_AMBA
206         select SERIAL_CORE
207         help
208           This selects the ARM(R) AMBA(R) PrimeCell PL011 UART.  If you have
209           an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M
210           here.
211
212           If unsure, say N.
213
214 config SERIAL_AMBA_PL011_CONSOLE
215         bool "Support for console on AMBA serial port"
216         depends on SERIAL_AMBA_PL011=y
217         select SERIAL_CORE_CONSOLE
218         ---help---
219           Say Y here if you wish to use an AMBA PrimeCell UART as the system
220           console (the system console is the device which receives all kernel
221           messages and warnings and which allows logins in single user mode).
222
223           Even if you say Y here, the currently visible framebuffer console
224           (/dev/tty0) will still be used as the system console by default, but
225           you can alter that using a kernel command line option such as
226           "console=ttyAM0". (Try "man bootparam" or see the documentation of
227           your boot loader (lilo or loadlin) about how to pass options to the
228           kernel at boot time.)
229
230 config SERIAL_CLPS711X
231         tristate "CLPS711X serial port support"
232         depends on ARM && ARCH_CLPS711X
233         select SERIAL_CORE
234         help
235           ::: To be written :::
236
237 config SERIAL_CLPS711X_CONSOLE
238         bool "Support for console on CLPS711X serial port"
239         depends on SERIAL_CLPS711X=y
240         select SERIAL_CORE_CONSOLE
241         help
242           Even if you say Y here, the currently visible virtual console
243           (/dev/tty0) will still be used as the system console by default, but
244           you can alter that using a kernel command line option such as
245           "console=ttyCL1". (Try "man bootparam" or see the documentation of
246           your boot loader (lilo or loadlin) about how to pass options to the
247           kernel at boot time.)
248
249 config SERIAL_S3C2410
250         tristate "Samsung S3C2410 Serial port support"
251         depends on ARM && ARCH_S3C2410
252         select SERIAL_CORE
253         help
254           Support for the on-chip UARTs on the Samsung S3C2410X CPU,
255           providing /dev/ttySAC0, 1 and 2 (note, some machines may not
256           provide all of these ports, depending on how the serial port
257           pins are configured.
258
259 config SERIAL_S3C2410_CONSOLE
260         bool "Support for console on S3C2410 serial port"
261         depends on SERIAL_S3C2410=y
262         help
263           Allow selection of the S3C2410 on-board serial ports for use as
264           an virtual console.
265
266           Even if you say Y here, the currently visible virtual console
267           (/dev/tty0) will still be used as the system console by default, but
268           you can alter that using a kernel command line option such as
269           "console=ttySACx". (Try "man bootparam" or see the documentation of
270           your boot loader about how to pass options to the kernel at
271           boot time.)
272
273 config SERIAL_BAST_SIO
274         bool "Support for BAST SuperIO serial ports"
275         depends on ARCH_BAST && SERIAL_8250=y
276         help
277           Support for registerin the SuperIO chip on BAST board with
278           the 8250/16550 uart code.
279
280 config SERIAL_DZ
281         bool "DECstation DZ serial driver"
282         depends on MACH_DECSTATION && MIPS32
283         select SERIAL_CORE
284         help
285           DZ11-family serial controllers for VAXstations, including the
286           DC7085, M7814, and M7819.
287
288 config SERIAL_DZ_CONSOLE
289         bool "Support console on DECstation DZ serial driver"
290         depends on SERIAL_DZ=y
291         select SERIAL_CORE_CONSOLE
292         help
293           If you say Y here, it will be possible to use a serial port as the
294           system console (the system console is the device which receives all
295           kernel messages and warnings and which allows logins in single user
296           mode).  Note that the firmware uses ttyS0 as the serial console on
297           the Maxine and ttyS2 on the others.
298
299           If unsure, say Y.
300
301 config SERIAL_21285
302         tristate "DC21285 serial port support"
303         depends on ARM && FOOTBRIDGE
304         select SERIAL_CORE
305         help
306           If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
307           PCI bridge you can enable its onboard serial port by enabling this
308           option.
309
310 config SERIAL_21285_CONSOLE
311         bool "Console on DC21285 serial port"
312         depends on SERIAL_21285=y
313         select SERIAL_CORE_CONSOLE
314         help
315           If you have enabled the serial port on the 21285 footbridge you can
316           make it the console by answering Y to this option.
317
318           Even if you say Y here, the currently visible virtual console
319           (/dev/tty0) will still be used as the system console by default, but
320           you can alter that using a kernel command line option such as
321           "console=ttyFB". (Try "man bootparam" or see the documentation of
322           your boot loader (lilo or loadlin) about how to pass options to the
323           kernel at boot time.)
324
325 config SERIAL_UART00
326         bool "Excalibur serial port (uart00) support"
327         depends on ARM && ARCH_CAMELOT
328         select SERIAL_CORE
329         help
330           Say Y here if you want to use the hard logic uart on Excalibur. This
331           driver also supports soft logic implentations of this uart core.
332
333 config SERIAL_UART00_CONSOLE
334         bool "Support for console on Excalibur serial port"
335         depends on SERIAL_UART00
336         select SERIAL_CORE_CONSOLE
337         help
338           Say Y here if you want to support a serial console on an Excalibur
339           hard logic uart or uart00 IP core.
340
341           Even if you say Y here, the currently visible virtual console
342           (/dev/tty0) will still be used as the system console by default, but
343           you can alter that using a kernel command line option such as
344           "console=ttyS1". (Try "man bootparam" or see the documentation of
345           your boot loader (lilo or loadlin) about how to pass options to the
346           kernel at boot time.)
347
348 config SERIAL_PXA
349         bool "PXA serial port support"
350         depends on ARM && ARCH_PXA
351         select SERIAL_CORE
352         help
353           If you have a machine based on an Intel XScale PXA2xx CPU you
354           can enable its onboard serial ports by enabling this option.
355
356 config SERIAL_PXA_CONSOLE
357         bool "Console on PXA serial port"
358         depends on SERIAL_PXA
359         select SERIAL_CORE_CONSOLE
360         help
361           If you have enabled the serial port on the Intel XScale PXA
362           CPU you can make it the console by answering Y to this option.
363
364           Even if you say Y here, the currently visible virtual console
365           (/dev/tty0) will still be used as the system console by default, but
366           you can alter that using a kernel command line option such as
367           "console=ttySA0". (Try "man bootparam" or see the documentation of
368           your boot loader (lilo or loadlin) about how to pass options to the
369           kernel at boot time.)
370
371 config SERIAL_SA1100
372         bool "SA1100 serial port support"
373         depends on ARM && ARCH_SA1100
374         select SERIAL_CORE
375         help
376           If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
377           can enable its onboard serial port by enabling this option.
378           Please read <file:Documentation/arm/SA1100/serial_UART> for further
379           info.
380
381 config SERIAL_SA1100_CONSOLE
382         bool "Console on SA1100 serial port"
383         depends on SERIAL_SA1100
384         select SERIAL_CORE_CONSOLE
385         help
386           If you have enabled the serial port on the SA1100/SA1110 StrongARM
387           CPU you can make it the console by answering Y to this option.
388
389           Even if you say Y here, the currently visible virtual console
390           (/dev/tty0) will still be used as the system console by default, but
391           you can alter that using a kernel command line option such as
392           "console=ttySA0". (Try "man bootparam" or see the documentation of
393           your boot loader (lilo or loadlin) about how to pass options to the
394           kernel at boot time.)
395
396 config SERIAL_SUNCORE
397         bool
398         depends on SPARC32 || SPARC64
399         select SERIAL_CORE
400         select SERIAL_CORE_CONSOLE
401         default y
402
403 config SERIAL_SUNZILOG
404         tristate "Sun Zilog8530 serial support"
405         depends on SPARC32 || SPARC64
406         help
407           This driver supports the Zilog8530 serial ports found on many Sparc
408           systems.  Say Y or M if you want to be able to these serial ports.
409
410 config SERIAL_SUNZILOG_CONSOLE
411         bool "Console on Sun Zilog8530 serial port"
412         depends on SERIAL_SUNZILOG=y
413         help
414           If you would like to be able to use the Zilog8530 serial port
415           on your Sparc system as the console, you can do so by answering
416           Y to this option.
417
418 config SERIAL_SUNSU
419         tristate "Sun SU serial support"
420         depends on (SPARC32 || SPARC64) && PCI
421         help
422           This driver supports the 8250 serial ports that run the keyboard and
423           mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able
424           to these serial ports.
425
426 config SERIAL_SUNSU_CONSOLE
427         bool "Console on Sun SU serial port"
428         depends on SERIAL_SUNSU=y
429         help
430           If you would like to be able to use the SU serial port
431           on your Sparc system as the console, you can do so by answering
432           Y to this option.
433
434 config SERIAL_MUX
435         tristate "Serial MUX support"
436         depends on PARISC
437         select SERIAL_CORE
438         default y
439         ---help---
440           Saying Y here will enable the hardware MUX serial driver for
441           the Nova and K class systems.  The hardware MUX is not 8250/16550 
442           compatible therefore the /dev/ttyB0 device is shared between the 
443           Serial MUX and the PDC software console.  The following steps 
444           need to be completed to use the Serial MUX:
445
446             1. create the device entry (mknod /dev/ttyB0 c 11 0)
447             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
448             3. Add device ttyB0 to /etc/securetty (if you want to log on as
449                  root on this console.)
450             4. Change the kernel command console parameter to: console=ttyB0
451
452 config SERIAL_MUX_CONSOLE
453         bool "Support for console on serial MUX"
454         depends on SERIAL_MUX
455         select SERIAL_CORE_CONSOLE
456         default y
457
458 config PDC_CONSOLE
459         bool "PDC software console support"
460         depends on PARISC && !SERIAL_MUX
461         default n
462         help
463           Saying Y here will enable the software based PDC console to be 
464           used as the system console.  This is useful for machines in 
465           which the hardware based console has not been written yet.  The
466           following steps must be competed to use the PDC console:
467
468             1. create the device entry (mknod /dev/ttyB0 c 11 0)
469             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
470             3. Add device ttyB0 to /etc/securetty (if you want to log on as
471                  root on this console.)
472             4. Change the kernel command console parameter to: console=ttyB0
473
474 config SERIAL_SUNSAB
475         tristate "Sun Siemens SAB82532 serial support"
476         depends on (SPARC32 || SPARC64) && PCI
477         help
478           This driver supports the Siemens SAB82532 DUSCC serial ports on newer
479           (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these
480           serial ports.
481
482 config SERIAL_SUNSAB_CONSOLE
483         bool "Console on Sun Siemens SAB82532 serial port"
484         depends on SERIAL_SUNSAB=y
485         help
486           If you would like to be able to use the SAB82532 serial port
487           on your Sparc system as the console, you can do so by answering
488           Y to this option.
489
490 config SERIAL_IP22_ZILOG
491         tristate "IP22 Zilog8530 serial support"
492         depends on SGI_IP22
493         select SERIAL_CORE
494         help
495           This driver supports the Zilog8530 serial ports found on SGI IP22
496           systems.  Say Y or M if you want to be able to these serial ports.
497
498 config SERIAL_IP22_ZILOG_CONSOLE
499         bool "Console on IP22 Zilog8530 serial port"
500         depends on SERIAL_IP22_ZILOG=y
501         select SERIAL_CORE_CONSOLE
502         help
503
504 config V850E_UART
505         bool "NEC V850E on-chip UART support"
506         depends on V850E_MA1 || V850E_ME2 || V850E_TEG || V850E2_ANNA || V850E_AS85EP1
507         select SERIAL_CORE
508         default y
509
510 config V850E_UARTB
511         bool
512         depends V850E_UART && V850E_ME2
513         default y
514
515 config V850E_UART_CONSOLE
516         bool "Use NEC V850E on-chip UART for console"
517         depends on V850E_UART
518         select SERIAL_CORE_CONSOLE
519
520 config SERIAL98
521         tristate "PC-9800 8251-based primary serial port support"
522         depends on X86_PC9800
523         select SERIAL_CORE
524         help
525           If you want to use standard primary serial ports on PC-9800, 
526           say Y.  Otherwise, say N.
527
528 config SERIAL98_CONSOLE
529         bool "Support for console on PC-9800 standard serial port"
530         depends on SERIAL98=y
531         select SERIAL_CORE_CONSOLE
532
533 config SERIAL_SH_SCI
534         tristate "SH SCI(F) serial port support"
535         depends on SUPERH || H8300
536         select SERIAL_CORE
537
538 config SERIAL_SH_SCI_CONSOLE
539         bool "Support for console on SH SCI(F)"
540         depends on SERIAL_SH_SCI=y
541         select SERIAL_CORE_CONSOLE
542
543 config SERIAL_AU1X00
544         bool "Enable Au1x00 UART Support"
545         depends on MIPS && SOC_AU1X00
546         select SERIAL_CORE
547         help
548           If you have an Alchemy AU1X00 processor (MIPS based) and you want
549           to use serial ports, say Y.  Otherwise, say N.
550
551 config SERIAL_AU1X00_CONSOLE
552         bool "Enable Au1x00 serial console"
553         depends on SERIAL_AU1X00
554         select SERIAL_CORE_CONSOLE
555         help
556           If you have an Alchemy AU1X00 processor (MIPS based) and you want
557           to use a console on a serial port, say Y.  Otherwise, say N.
558
559 config SERIAL_CORE
560         tristate
561
562 config SERIAL_CORE_CONSOLE
563         bool
564
565 config SERIAL_68328
566         bool "68328 serial support"
567         depends on M68328 || M68EZ328 || M68VZ328
568         help
569           This driver supports the built-in serial port of the Motorola 68328
570           (standard, EZ and VZ varities).
571
572 config SERIAL_68328_RTS_CTS
573         bool "Support RTS/CTS on 68328 serial port"
574         depends on SERIAL_68328
575
576 config SERIAL_COLDFIRE
577         bool "ColdFire serial support"
578         depends on COLDFIRE
579         help
580           This driver supports the built-in serial ports of the Motorola ColdFire
581           family of CPUs.
582
583 config SERIAL_68360_SMC
584         bool "68360 SMC uart support"
585         depends on M68360
586         help
587           This driver supports the SMC serial ports of the Motorola 68360 CPU.
588
589 config SERIAL_68360_SCC
590         bool "68360 SCC uart support"
591         depends on M68360
592         help
593           This driver supports the SCC serial ports of the Motorola 68360 CPU.
594
595 config SERIAL_68360
596         bool
597         depends on SERIAL_68360_SMC || SERIAL_68360_SCC
598         default y
599
600 config SERIAL_PMACZILOG
601         tristate "PowerMac z85c30 ESCC support"
602         depends on PPC_OF
603         select SERIAL_CORE
604         help
605           This driver supports the Zilog z85C30 serial ports found on
606           PowerMac machines.
607           Say Y or M if you want to be able to these serial ports.
608
609 config SERIAL_PMACZILOG_CONSOLE
610         bool "Console on PowerMac z85c30 serial port"
611         depends on SERIAL_PMACZILOG=y
612         select SERIAL_CORE_CONSOLE
613         help
614           If you would like to be able to use the z85c30 serial port
615           on your PowerMac as the console, you can do so by answering
616           Y to this option.
617
618 endmenu
619