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