Merge with Linux 2.5.48.
[linux-2.6/linux-mips.git] / drivers / serial / Kconfig
bloba0d37fd3d104b56f487bad253614669b4b662308
2 # Serial device configuration
4 # $Id: Config.in,v 1.15 2002/07/06 17:16:24 rmk Exp $
7 menu "Serial drivers"
10 # The new 8250/16550 serial drivers
11 config SERIAL_8250
12         tristate "8250/16550 and compatible serial support (EXPERIMENTAL)"
13         depends on EXPERIMENTAL
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.)
24           If you want to compile this driver as a module, say M here and read
25           <file:Documentation/modules.txt>.  The module will be called
26           serial.o.
27           [WARNING: Do not compile this driver as a module if you are using
28           non-standard serial ports, since the configuration information will
29           be lost when the driver is unloaded.  This limitation may be lifted
30           in the future.]
32           BTW1: If you have a mouseman serial mouse which is not recognized by
33           the X window system, try running gpm first.
35           BTW2: If you intend to use a software modem (also called Winmodem)
36           under Linux, forget it.  These modems are crippled and require
37           proprietary drivers which are only available under Windows.
39           Most people will say Y or M here, so that they can use serial mice,
40           modems and similar devices connecting to the standard serial ports.
42 config SERIAL_8250_CONSOLE
43         bool "Console on 8250/16550 and compatible serial port (EXPERIMENTAL)"
44         depends on SERIAL_8250=y
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.
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 (lilo or loadlin) about how to pass options to the
57           kernel at boot time.)
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.
63           If unsure, say N.
65 config SERIAL_8250_CS
66         tristate "8250/16550 PCMCIA device support"
67         depends on PCMCIA && SERIAL_8250
68         ---help---
69           Say Y here to enable support for 16-bit PCMCIA serial devices,
70           including serial port cards, modems, and the modem functions of
71           multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are
72           credit-card size devices often used with laptops.)
74           This driver is also available as a module ( = code which can be
75           inserted in and removed from the running kernel whenever you want).
76           The module will be called serial_cs.o.  If you want to compile it as
77           a module, say M here and read <file:Documentation/modules.txt>.
78           If unsure, say N.
80 config SERIAL_8250_EXTENDED
81         bool "Extended 8250/16550 serial driver options"
82         depends on SERIAL_8250
83         help
84           If you wish to use any non-standard features of the standard "dumb"
85           driver, say Y here. This includes HUB6 support, shared serial
86           interrupts, special multiport support, support for more than the
87           four COM 1/2/3/4 boards, etc.
89           Note that the answer to this question won't directly affect the
90           kernel: saying N will just cause the configurator to skip all
91           the questions about serial driver options. If unsure, say N.
93 config SERIAL_8250_MANY_PORTS
94         bool "Support more than 4 serial ports"
95         depends on SERIAL_8250_EXTENDED
96         help
97           Say Y here if you have dumb serial boards other than the four
98           standard COM 1/2/3/4 ports. This may happen if you have an AST
99           FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available
100           from <http://www.linuxdoc.org/docs.html#howto>), or other custom
101           serial port hardware which acts similar to standard serial port
102           hardware. If you only use the standard COM 1/2/3/4 ports, you can
103           say N here to save some memory. You can also say Y if you have an
104           "intelligent" multiport card such as Cyclades, Digiboards, etc.
106 config SERIAL_8250_SHARE_IRQ
107         bool "Support for sharing serial interrupts"
108         depends on SERIAL_8250_EXTENDED
109         help
110           Some serial boards have hardware support which allows multiple dumb
111           serial ports on the same board to share a single IRQ. To enable
112           support for this in the serial driver, say Y here.
114 config SERIAL_8250_DETECT_IRQ
115         bool "Autodetect IRQ on standard ports (unsafe)"
116         depends on SERIAL_8250_EXTENDED
117         help
118           Say Y here if you want the kernel to try to guess which IRQ
119           to use for your serial port.
121           This is considered unsafe; it is far better to configure the IRQ in
122           a boot script using the setserial command.
124           If unsure, say N.
126 config SERIAL_8250_MULTIPORT
127         bool "Support special multiport boards"
128         depends on SERIAL_8250_EXTENDED
129         help
130           Some multiport serial ports have special ports which are used to
131           signal when there are any serial ports on the board which need
132           servicing. Say Y here to enable the serial driver to take advantage
133           of those special I/O ports.
135 config SERIAL_8250_RSA
136         bool "Support RSA serial ports"
137         depends on SERIAL_8250_EXTENDED
138         help
139           ::: To be written :::
141 comment "Non-8250 serial port support"
143 config SERIAL_8250_ACORN
144         tristate "Acorn expansion card serial port support"
145         depends on ARM && ARCH_ACORN && SERIAL_8250
146         help
147           If you have an Atomwide Serial card or Serial Port card for an Acorn
148           system, say Y to this option.  The driver can handle 1, 2, or 3 port
149           cards.  If unsure, say N.
151 config SERIAL_ANAKIN
152         bool "Anakin serial port support"
153         depends on ARM && ARCH_ANAKIN
154         help
155           ::: To be written :::
157 config SERIAL_ANAKIN_CONSOLE
158         bool "Console on Anakin serial port"
159         depends on SERIAL_ANAKIN
160         help
161           Even if you say Y here, the currently visible virtual console
162           (/dev/tty0) will still be used as the system console by default, but
163           you can alter that using a kernel command line option such as
164           "console=ttyAN0". (Try "man bootparam" or see the documentation of
165           your boot loader (lilo or loadlin) about how to pass options to the
166           kernel at boot time.)
168 config ANAKIN_DEFAULT_BAUDRATE
169         int "Default Anakin serial baudrate"
170         depends on SERIAL_ANAKIN
171         default "9600"
172         help
173           ::: To be written :::
175 config SERIAL_AMBA
176         tristate "ARM AMBA serial port support"
177         depends on ARM && ARCH_INTEGRATOR
178         help
179           This selects the ARM(R) AMBA(R) PrimeCell UART.  If you have an
180           Integrator platform, say Y or M here.
182           If unsure, say N.
184 config SERIAL_AMBA_CONSOLE
185         bool "Support for console on AMBA serial port"
186         depends on SERIAL_AMBA=y
187         ---help---
188           Say Y here if you wish to use an AMBA PrimeCell UART as the system
189           console (the system console is the device which receives all kernel
190           messages and warnings and which allows logins in single user mode).
192           Even if you say Y here, the currently visible framebuffer console
193           (/dev/tty0) will still be used as the system console by default, but
194           you can alter that using a kernel command line option such as
195           "console=ttyAM0". (Try "man bootparam" or see the documentation of
196           your boot loader (lilo or loadlin) about how to pass options to the
197           kernel at boot time.)
199 config SERIAL_INTEGRATOR
200         bool
201         depends on SERIAL_AMBA=y
202         default y
204 config SERIAL_CLPS711X
205         tristate "CLPS711X serial port support"
206         depends on ARM && ARCH_CLPS711X
207         help
208           ::: To be written :::
210 config SERIAL_CLPS711X_CONSOLE
211         bool "Support for console on CLPS711X serial port"
212         depends on SERIAL_CLPS711X=y
213         help
214           Even if you say Y here, the currently visible virtual console
215           (/dev/tty0) will still be used as the system console by default, but
216           you can alter that using a kernel command line option such as
217           "console=ttyCL1". (Try "man bootparam" or see the documentation of
218           your boot loader (lilo or loadlin) about how to pass options to the
219           kernel at boot time.)
221 config SERIAL_CLPS711X_OLD_NAME
222         bool "Use the old 2.4 names for CLPS711X serial port"
223         depends on SERIAL_CLPS711X=y
224         help
225           ::: To be written :::
227 config SERIAL_DEC
228         bool "DECstation serial support"
229         depends on DECSTATION
230         help
231           This selects whether you want to be asked about drivers for
232           DECstation serial ports.
234           Note that the answer to this question won't directly affect the
235           kernel: saying N will just cause the configurator to skip all
236           the questions about DECstation serial ports.
238           If unsure, say Y.
240 config SERIAL_DEC_CONSOLE
241         bool "Support for console on a DECstation serial port"
242         depends on SERIAL_DEC
243         help
244           If you say Y here, it will be possible to use a serial port as the
245           system console (the system console is the device which receives all
246           kernel messages and warnings and which allows logins in single user
247           mode).  Note that the firmware uses ttyS0 as the serial console on
248           the Maxine and ttyS2 on the others.
250           If unsure, say Y.
252 config DZ
253         bool "DZ11 Serial Support"
254         depends on SERIAL_DEC && MIPS32
255         help
256           DZ11-family serial controllers for VAXstations, including the
257           DC7085, M7814, and M7819.
259 config ZS
260         bool "Z85C30 Serial Support"
261         depends on SERIAL_DEC && TC
262         help
263           Documentation on the Zilog 85C350 serial communications controller
264           is downloadable at <http://www.zilog.com/pdfs/serial/z85c30.pdf>.
266 config SERIAL_21285
267         tristate "DC21285 serial port support"
268         depends on ARM && FOOTBRIDGE
269         help
270           If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
271           PCI bridge you can enable its onboard serial port by enabling this
272           option.
274 config SERIAL_21285_OLD
275         bool "Use /dev/ttyS0 device (OBSOLETE)"
276         depends on SERIAL_21285=y && OBSOLETE
277         help
278           Use the old /dev/ttyS name, major 4 minor 64.  This is obsolete
279           and will be removed during later 2.5 development.
281 config SERIAL_21285_CONSOLE
282         bool "Console on DC21285 serial port"
283         depends on SERIAL_21285=y
284         help
285           If you have enabled the serial port on the 21285 footbridge you can
286           make it the console by answering Y to this option.
288           Even if you say Y here, the currently visible virtual console
289           (/dev/tty0) will still be used as the system console by default, but
290           you can alter that using a kernel command line option such as
291           "console=ttyFB". (Try "man bootparam" or see the documentation of
292           your boot loader (lilo or loadlin) about how to pass options to the
293           kernel at boot time.)
295 config SERIAL_UART00
296         bool "Excalibur serial port (uart00) support"
297         depends on ARM && ARCH_CAMELOT
298         help
299           Say Y here if you want to use the hard logic uart on Excalibur. This
300           driver also supports soft logic implentations of this uart core.
302 config SERIAL_UART00_CONSOLE
303         bool "Support for console on Excalibur serial port"
304         depends on SERIAL_UART00
305         help
306           Say Y here if you want to support a serial console on an Excalibur
307           hard logic uart or uart00 IP core.
309           Even if you say Y here, the currently visible virtual console
310           (/dev/tty0) will still be used as the system console by default, but
311           you can alter that using a kernel command line option such as
312           "console=ttyS1". (Try "man bootparam" or see the documentation of
313           your boot loader (lilo or loadlin) about how to pass options to the
314           kernel at boot time.)
316 config SERIAL_SA1100
317         bool "SA1100 serial port support"
318         depends on ARM && ARCH_SA1100
319         help
320           If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
321           can enable its onboard serial port by enabling this option.
322           Please read <file:Documentation/arm/SA1100/serial_UART> for further
323           info.
325 config SERIAL_SA1100_CONSOLE
326         bool "Console on SA1100 serial port"
327         depends on SERIAL_SA1100
328         help
329           If you have enabled the serial port on the SA1100/SA1110 StrongARM
330           CPU you can make it the console by answering Y to this option.
332           Even if you say Y here, the currently visible virtual console
333           (/dev/tty0) will still be used as the system console by default, but
334           you can alter that using a kernel command line option such as
335           "console=ttySA0". (Try "man bootparam" or see the documentation of
336           your boot loader (lilo or loadlin) about how to pass options to the
337           kernel at boot time.)
339 config SERIAL_SUNCORE
340         bool
341         depends on SPARC32 || SPARC64
342         default y
344 config SERIAL_SUNZILOG
345         tristate "Sun Zilog8530 serial support"
346         depends on SPARC32 || SPARC64
347         help
348           This driver supports the Zilog8530 serial ports found on many Sparc
349           systems.  Say Y or M if you want to be able to these serial ports.
351 config SERIAL_SUNSU
352         tristate "Sun SU serial support"
353         depends on (SPARC32 || SPARC64) && PCI
354         help
355           This driver supports the 8250 serial ports that run the keyboard and
356           mouse on (PCI) UltraSPARC systems.  Say Y or M if you want to be able
357           to these serial ports.
359 config SERIAL_MUX
360         tristate "Serial MUX support"
361         depends on PARISC
362         default y
363         ---help---
364           Saying Y here will enable the hardware MUX serial driver for
365           the Nova and K class systems.  The hardware MUX is not 8250/16550 
366           compatible therefore the /dev/ttyB0 device is shared between the 
367           Serial MUX and the PDC software console.  The following steps 
368           need to be completed to use the Serial MUX:
370             1. create the device entry (mknod /dev/ttyB0 c 11 0)
371             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
372             3. Add device ttyB0 to /etc/securetty (if you want to log on as
373                  root on this console.)
374             4. Change the kernel command console parameter to: console=ttyB0
376 config SERIAL_MUX_CONSOLE
377         bool "Support for console on serial MUX"
378         depends on SERIAL_MUX
379         default y
381 config PDC_CONSOLE
382         bool "PDC software console support"
383         depends on PARISC && !SERIAL_MUX
384         default n
385         help
386           Saying Y here will enable the software based PDC console to be 
387           used as the system console.  This is useful for machines in 
388           which the hardware based console has not been written yet.  The
389           following steps must be competed to use the PDC console:
391             1. create the device entry (mknod /dev/ttyB0 c 11 0)
392             2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
393             3. Add device ttyB0 to /etc/securetty (if you want to log on as
394                  root on this console.)
395             4. Change the kernel command console parameter to: console=ttyB0
397 config SERIAL_SUNSAB
398         tristate "Sun Siemens SAB82532 serial support"
399         depends on (SPARC32 || SPARC64) && PCI
400         help
401           This driver supports the Siemens SAB82532 DUSCC serial ports on newer
402           (PCI) UltraSPARC systems.  Say Y or M if you want to be able to these
403           serial ports.
405 config SERIAL_IP22_ZILOG
406         tristate "IP22 Zilog8530 serial support"
407         depends on SGI_IP22
408         help
409           This driver supports the Zilog8530 serial ports found on SGI IP22
410           systems.  Say Y or M if you want to be able to these serial ports.
412 config V850E_NB85E_UART
413         bool "NEC V850E on-chip UART support"
414         depends on V850E_NB85E || V850E2_ANNA
415         default y
417 config V850E_NB85E_UART_CONSOLE
418         bool "Use NEC V850E on-chip UART for console"
419         depends on V850E_NB85E_UART
421 config SERIAL_CORE
422         tristate
423         default m if SERIAL_AMBA!=y && SERIAL_CLPS711X!=y && SERIAL_21285!=y && !SERIAL_SA1100 && !SERIAL_ANAKIN && !SERIAL_UART00 && SERIAL_8250!=y && !SERIAL_ROCKETPORT && !SERIAL_SUNCORE && !V850E_NB85E_UART && (SERIAL_AMBA=m || SERIAL_CLPS711X=m || SERIAL_21285=m || SERIAL_8250=m || SERIAL_MUX=m || SERIAL_IP22_ZILOG=m)
424         default y if SERIAL_AMBA=y || SERIAL_CLPS711X=y || SERIAL_21285=y || SERIAL_SA1100 || SERIAL_ANAKIN || SERIAL_UART00 || SERIAL_8250=y || SERIAL_MUX_CONSOLE || SERIAL_MUX=y || SERIAL_ROCKETPORT || SERIAL_SUNCORE || V850E_NB85E_UART || SERIAL_IP22_ZILOG=y
426 config SERIAL_CORE_CONSOLE
427         bool
428         depends on SERIAL_AMBA_CONSOLE || SERIAL_CLPS711X_CONSOLE || SERIAL_21285_CONSOLE || SERIAL_SA1100_CONSOLE || SERIAL_ANAKIN_CONSOLE || SERIAL_UART00_CONSOLE || SERIAL_8250_CONSOLE || SERIAL_SUNCORE || SERIAL_IP22_ZILOG=y
429         default y
431 config SERIAL_68328
432         bool "68328 serial support"
433         depends on M68328 || M68EZ328 || M68VZ328
434         help
435           This driver supports the built-in serial port of the Motorola 68328
436           (standard, EZ and VZ varities).
438 config SERIAL_68328_RTS_CTS
439         bool "Support RTS/CTS on 68328 serial port"
440         depends on SERIAL_68328
442 config SERIAL_COLDFIRE
443         bool "ColdFire serial support"
444         depends on COLDFIRE
445         help
446           This driver supports the built-in serial ports of the Motorola ColdFire
447           family of CPUs.
449 config SERIAL_68360_SMC
450         bool "68360 SMC uart support"
451         depends on M68360
452         help
453           This driver supports the SMC serial ports of the Motorola 68360 CPU.
455 config SERIAL_68360_SCC
456         bool "68360 SCC uart support"
457         depends on M68360
458         help
459           This driver supports the SCC serial ports of the Motorola 68360 CPU.
461 config 68360_SERIAL
462         bool
463         depends on SERIAL_68360_SMC || SERIAL_68630_SCC
465 endmenu