patch-2_6_7-vs1_9_1_12
[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         select SERIAL_CORE_CONSOLE
263         help
264           Allow selection of the S3C2410 on-board serial ports for use as
265           an virtual console.
266
267           Even if you say Y here, the currently visible virtual console
268           (/dev/tty0) will still be used as the system console by default, but
269           you can alter that using a kernel command line option such as
270           "console=ttySACx". (Try "man bootparam" or see the documentation of
271           your boot loader about how to pass options to the kernel at
272           boot time.)
273
274 config SERIAL_BAST_SIO
275         bool "Support for BAST SuperIO serial ports"
276         depends on ARCH_BAST && SERIAL_8250=y
277         help
278           Support for registerin the SuperIO chip on BAST board with
279           the 8250/16550 uart code.
280
281 config SERIAL_DZ
282         bool "DECstation DZ serial driver"
283         depends on MACH_DECSTATION && MIPS32
284         select SERIAL_CORE
285         help
286           DZ11-family serial controllers for VAXstations, including the
287           DC7085, M7814, and M7819.
288
289 config SERIAL_DZ_CONSOLE
290         bool "Support console on DECstation DZ serial driver"
291         depends on SERIAL_DZ=y
292         select SERIAL_CORE_CONSOLE
293         help
294           If you say Y here, it will be possible to use a serial port as the
295           system console (the system console is the device which receives all
296           kernel messages and warnings and which allows logins in single user
297           mode).  Note that the firmware uses ttyS0 as the serial console on
298           the Maxine and ttyS2 on the others.
299
300           If unsure, say Y.
301
302 config SERIAL_21285
303         tristate "DC21285 serial port support"
304         depends on ARM && FOOTBRIDGE
305         select SERIAL_CORE
306         help
307           If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
308           PCI bridge you can enable its onboard serial port by enabling this
309           option.
310
311 config SERIAL_21285_CONSOLE
312         bool "Console on DC21285 serial port"
313         depends on SERIAL_21285=y
314         select SERIAL_CORE_CONSOLE
315         help
316           If you have enabled the serial port on the 21285 footbridge you can
317           make it the console by answering Y to this option.
318
319           Even if you say Y here, the currently visible virtual console
320           (/dev/tty0) will still be used as the system console by default, but
321           you can alter that using a kernel command line option such as
322           "console=ttyFB". (Try "man bootparam" or see the documentation of
323           your boot loader (lilo or loadlin) about how to pass options to the
324           kernel at boot time.)
325
326 config SERIAL_UART00
327         bool "Excalibur serial port (uart00) support"
328         depends on ARM && ARCH_CAMELOT
329         select SERIAL_CORE
330         help
331           Say Y here if you want to use the hard logic uart on Excalibur. This
332           driver also supports soft logic implentations of this uart core.
333
334 config SERIAL_UART00_CONSOLE
335         bool "Support for console on Excalibur serial port"
336         depends on SERIAL_UART00
337         select SERIAL_CORE_CONSOLE
338         help
339           Say Y here if you want to support a serial console on an Excalibur
340           hard logic uart or uart00 IP core.
341
342           Even if you say Y here, the currently visible virtual console
343           (/dev/tty0) will still be used as the system console by default, but
344           you can alter that using a kernel command line option such as
345           "console=ttyS1". (Try "man bootparam" or see the documentation of
346           your boot loader (lilo or loadlin) about how to pass options to the
347           kernel at boot time.)
348
349 config SERIAL_PXA
350         bool "PXA serial port support"
351         depends on ARM && ARCH_PXA
352         select SERIAL_CORE
353         help
354           If you have a machine based on an Intel XScale PXA2xx CPU you
355           can enable its onboard serial ports by enabling this option.
356
357 config SERIAL_PXA_CONSOLE
358         bool "Console on PXA serial port"
359         depends on SERIAL_PXA
360         select SERIAL_CORE_CONSOLE
361         help
362           If you have enabled the serial port on the Intel XScale PXA
363           CPU you can make it the console by answering Y to this option.
364
365           Even if you say Y here, the currently visible virtual console
366           (/dev/tty0) will still be used as the system console by default, but
367           you can alter that using a kernel command line option such as
368           "console=ttySA0". (Try "man bootparam" or see the documentation of
369           your boot loader (lilo or loadlin) about how to pass options to the
370           kernel at boot time.)
371
372 config SERIAL_SA1100
373         bool "SA1100 serial port support"
374         depends on ARM && ARCH_SA1100
375         select SERIAL_CORE
376         help
377           If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
378           can enable its onboard serial port by enabling this option.
379           Please read <file:Documentation/arm/SA1100/serial_UART> for further
380           info.
381
382 config SERIAL_SA1100_CONSOLE
383         bool "Console on SA1100 serial port"
384         depends on SERIAL_SA1100
385         select SERIAL_CORE_CONSOLE
386         help
387           If you have enabled the serial port on the SA1100/SA1110 StrongARM
388           CPU you can make it the console by answering Y to this option.
389
390           Even if you say Y here, the currently visible virtual console
391           (/dev/tty0) will still be used as the system console by default, but
392           you can alter that using a kernel command line option such as
393           "console=ttySA0". (Try "man bootparam" or see the documentation of
394           your boot loader (lilo or loadlin) about how to pass options to the
395           kernel at boot time.)
396
397 config SERIAL_SUNCORE
398         bool
399         depends on SPARC32 || SPARC64
400         select SERIAL_CORE
401         select SERIAL_CORE_CONSOLE
402         default y
403
404 config SERIAL_SUNZILOG
405         tristate "Sun Zilog8530 serial support"
406         depends on SPARC32 || SPARC64
407         help
408           This driver supports the Zilog8530 serial ports found on many Sparc
409           systems.  Say Y or M if you want to be able to these serial ports.
410
411 config SERIAL_SUNZILOG_CONSOLE
412         bool "Console on Sun Zilog8530 serial port"
413         depends on SERIAL_SUNZILOG=y
414         help
415           If you would like to be able to use the Zilog8530 serial port
416           on your Sparc system as the console, you can do so by answering
417           Y to this option.
418
419 config SERIAL_SUNSU
420         tristate "Sun SU serial support"
421         depends on (SPARC32 || SPARC64) && PCI
422         help
423           This driver supports the 8250 serial ports that run the keyboard and
424           mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able
425           to these serial ports.
426
427 config SERIAL_SUNSU_CONSOLE
428         bool "Console on Sun SU serial port"
429         depends on SERIAL_SUNSU=y
430         help
431           If you would like to be able to use the SU serial port
432           on your Sparc system as the console, you can do so by answering
433           Y to this option.
434
435 config SERIAL_MUX
436         tristate "Serial MUX support"
437         depends on PARISC
438         select SERIAL_CORE
439         default y
440         ---help---
441           Saying Y here will enable the hardware MUX serial driver for
442           the Nova and K class systems.  The hardware MUX is not 8250/16550 
443           compatible therefore the /dev/ttyB0 device is shared between the 
444           Serial MUX and the PDC software console.  The following steps 
445           need to be completed to use the Serial MUX:
446
447             1. create the device entry (mknod /dev/ttyB0 c 11 0)
448             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
449             3. Add device ttyB0 to /etc/securetty (if you want to log on as
450                  root on this console.)
451             4. Change the kernel command console parameter to: console=ttyB0
452
453 config SERIAL_MUX_CONSOLE
454         bool "Support for console on serial MUX"
455         depends on SERIAL_MUX
456         select SERIAL_CORE_CONSOLE
457         default y
458
459 config PDC_CONSOLE
460         bool "PDC software console support"
461         depends on PARISC && !SERIAL_MUX
462         default n
463         help
464           Saying Y here will enable the software based PDC console to be 
465           used as the system console.  This is useful for machines in 
466           which the hardware based console has not been written yet.  The
467           following steps must be competed to use the PDC console:
468
469             1. create the device entry (mknod /dev/ttyB0 c 11 0)
470             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
471             3. Add device ttyB0 to /etc/securetty (if you want to log on as
472                  root on this console.)
473             4. Change the kernel command console parameter to: console=ttyB0
474
475 config SERIAL_SUNSAB
476         tristate "Sun Siemens SAB82532 serial support"
477         depends on (SPARC32 || SPARC64) && PCI
478         help
479           This driver supports the Siemens SAB82532 DUSCC serial ports on newer
480           (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these
481           serial ports.
482
483 config SERIAL_SUNSAB_CONSOLE
484         bool "Console on Sun Siemens SAB82532 serial port"
485         depends on SERIAL_SUNSAB=y
486         help
487           If you would like to be able to use the SAB82532 serial port
488           on your Sparc system as the console, you can do so by answering
489           Y to this option.
490
491 config SERIAL_IP22_ZILOG
492         tristate "IP22 Zilog8530 serial support"
493         depends on SGI_IP22
494         select SERIAL_CORE
495         help
496           This driver supports the Zilog8530 serial ports found on SGI IP22
497           systems.  Say Y or M if you want to be able to these serial ports.
498
499 config SERIAL_IP22_ZILOG_CONSOLE
500         bool "Console on IP22 Zilog8530 serial port"
501         depends on SERIAL_IP22_ZILOG=y
502         select SERIAL_CORE_CONSOLE
503         help
504
505 config V850E_UART
506         bool "NEC V850E on-chip UART support"
507         depends on V850E_MA1 || V850E_ME2 || V850E_TEG || V850E2_ANNA || V850E_AS85EP1
508         select SERIAL_CORE
509         default y
510
511 config V850E_UARTB
512         bool
513         depends V850E_UART && V850E_ME2
514         default y
515
516 config V850E_UART_CONSOLE
517         bool "Use NEC V850E on-chip UART for console"
518         depends on V850E_UART
519         select SERIAL_CORE_CONSOLE
520
521 config SERIAL98
522         tristate "PC-9800 8251-based primary serial port support"
523         depends on X86_PC9800
524         select SERIAL_CORE
525         help
526           If you want to use standard primary serial ports on PC-9800, 
527           say Y.  Otherwise, say N.
528
529 config SERIAL98_CONSOLE
530         bool "Support for console on PC-9800 standard serial port"
531         depends on SERIAL98=y
532         select SERIAL_CORE_CONSOLE
533
534 config SERIAL_SH_SCI
535         tristate "SH SCI(F) serial port support"
536         depends on SUPERH || H8300
537         select SERIAL_CORE
538
539 config SERIAL_SH_SCI_CONSOLE
540         bool "Support for console on SH SCI(F)"
541         depends on SERIAL_SH_SCI=y
542         select SERIAL_CORE_CONSOLE
543
544 config SERIAL_AU1X00
545         bool "Enable Au1x00 UART Support"
546         depends on MIPS && SOC_AU1X00
547         select SERIAL_CORE
548         help
549           If you have an Alchemy AU1X00 processor (MIPS based) and you want
550           to use serial ports, say Y.  Otherwise, say N.
551
552 config SERIAL_AU1X00_CONSOLE
553         bool "Enable Au1x00 serial console"
554         depends on SERIAL_AU1X00
555         select SERIAL_CORE_CONSOLE
556         help
557           If you have an Alchemy AU1X00 processor (MIPS based) and you want
558           to use a console on a serial port, say Y.  Otherwise, say N.
559
560 config SERIAL_CORE
561         tristate
562
563 config SERIAL_CORE_CONSOLE
564         bool
565
566 config SERIAL_68328
567         bool "68328 serial support"
568         depends on M68328 || M68EZ328 || M68VZ328
569         help
570           This driver supports the built-in serial port of the Motorola 68328
571           (standard, EZ and VZ varities).
572
573 config SERIAL_68328_RTS_CTS
574         bool "Support RTS/CTS on 68328 serial port"
575         depends on SERIAL_68328
576
577 config SERIAL_COLDFIRE
578         bool "ColdFire serial support"
579         depends on COLDFIRE
580         help
581           This driver supports the built-in serial ports of the Motorola ColdFire
582           family of CPUs.
583
584 config SERIAL_68360_SMC
585         bool "68360 SMC uart support"
586         depends on M68360
587         help
588           This driver supports the SMC serial ports of the Motorola 68360 CPU.
589
590 config SERIAL_68360_SCC
591         bool "68360 SCC uart support"
592         depends on M68360
593         help
594           This driver supports the SCC serial ports of the Motorola 68360 CPU.
595
596 config SERIAL_68360
597         bool
598         depends on SERIAL_68360_SMC || SERIAL_68360_SCC
599         default y
600
601 config SERIAL_PMACZILOG
602         tristate "PowerMac z85c30 ESCC support"
603         depends on PPC_OF
604         select SERIAL_CORE
605         help
606           This driver supports the Zilog z85C30 serial ports found on
607           PowerMac machines.
608           Say Y or M if you want to be able to these serial ports.
609
610 config SERIAL_PMACZILOG_CONSOLE
611         bool "Console on PowerMac z85c30 serial port"
612         depends on SERIAL_PMACZILOG=y
613         select SERIAL_CORE_CONSOLE
614         help
615           If you would like to be able to use the z85c30 serial port
616           on your PowerMac as the console, you can do so by answering
617           Y to this option.
618
619 endmenu
620