blob: 9bc42763623c8de5cf5d48eef56f0f018568fee2 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Serial device configuration
3#
4# $Id: Kconfig,v 1.11 2004/03/11 18:08:04 lethal Exp $
5#
6
7menu "Serial drivers"
Martin Schwidefskye25df122007-05-10 15:45:57 +02008 depends on HAS_IOMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
10#
11# The new 8250/16550 serial drivers
12config SERIAL_8250
13 tristate "8250/16550 and compatible serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -080014 depends on (BROKEN || !SPARC)
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 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
Timothy Charles McGrathdf7559d2006-01-23 09:50:09 +000027 module will be called 8250.
Linus Torvalds1da177e2005-04-16 15:20:36 -070028 [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
Matt LaPlante01dd2fb2007-10-20 01:34:40 +020065 You can set that using a kernel command line option such as
Yinghai Lu18a8bd92007-07-15 23:37:59 -070066 "console=uart8250,io,0x3f8,9600n8"
67 "console=uart8250,mmio,0xff5e0000,115200n8".
Matt LaPlante01dd2fb2007-10-20 01:34:40 +020068 and it will switch to normal serial console when the corresponding
69 port is ready.
Yinghai Lu18a8bd92007-07-15 23:37:59 -070070 "earlycon=uart8250,io,0x3f8,9600n8"
71 "earlycon=uart8250,mmio,0xff5e0000,115200n8".
72 it will not only setup early console.
73
Linus Torvalds1da177e2005-04-16 15:20:36 -070074 If unsure, say N.
75
Yinghai Lu18a8bd92007-07-15 23:37:59 -070076config FIX_EARLYCON_MEM
77 bool
78 depends on X86
79 default y
80
Russell King0cff2602006-03-29 22:03:38 +010081config 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
Andrew Morton57d48102007-07-31 00:38:02 -070091 This builds standard PCI serial support. You may be able to
92 disable this feature if you only need legacy serial support.
93 Saves about 9K.
Russell King0cff2602006-03-29 22:03:38 +010094
95config SERIAL_8250_PNP
96 tristate "8250/16550 PNP device support" if EMBEDDED
97 depends on SERIAL_8250 && PNP
98 default SERIAL_8250
99 help
Andrew Morton57d48102007-07-31 00:38:02 -0700100 This builds standard PNP serial support. You may be able to
101 disable this feature if you only need legacy serial support.
Russell King0cff2602006-03-29 22:03:38 +0100102
103config SERIAL_8250_HP300
104 tristate
105 depends on SERIAL_8250 && HP300
106 default SERIAL_8250
107
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108config SERIAL_8250_CS
109 tristate "8250/16550 PCMCIA device support"
110 depends on PCMCIA && SERIAL_8250
111 ---help---
112 Say Y here to enable support for 16-bit PCMCIA serial devices,
113 including serial port cards, modems, and the modem functions of
114 multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are
115 credit-card size devices often used with laptops.)
116
117 To compile this driver as a module, choose M here: the
118 module will be called serial_cs.
119
120 If unsure, say N.
121
Linus Torvalds1da177e2005-04-16 15:20:36 -0700122config SERIAL_8250_NR_UARTS
Russell King026d02a2005-06-29 18:45:19 +0100123 int "Maximum number of 8250/16550 serial ports"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124 depends on SERIAL_8250
125 default "4"
Russell Kingec9f47c2005-06-27 11:12:54 +0100126 help
127 Set this to the number of serial ports you want the driver
128 to support. This includes any ports discovered via ACPI or
129 PCI enumeration and any ports that may be added at run-time
130 via hot-plug, or any ISA multi-port serial cards.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131
Dave Jonesa61c2d72006-01-07 23:18:19 +0000132config SERIAL_8250_RUNTIME_UARTS
133 int "Number of 8250/16550 serial ports to register at runtime"
134 depends on SERIAL_8250
Russell King9a8ffcc2006-02-03 22:05:42 +0000135 range 0 SERIAL_8250_NR_UARTS
Dave Jonesa61c2d72006-01-07 23:18:19 +0000136 default "4"
137 help
138 Set this to the maximum number of serial ports you want
Matt LaPlante09509602006-10-03 22:31:37 +0200139 the kernel to register at boot time. This can be overridden
Dave Jonesa61c2d72006-01-07 23:18:19 +0000140 with the module parameter "nr_uarts", or boot-time parameter
141 8250.nr_uarts
142
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143config SERIAL_8250_EXTENDED
144 bool "Extended 8250/16550 serial driver options"
145 depends on SERIAL_8250
146 help
147 If you wish to use any non-standard features of the standard "dumb"
148 driver, say Y here. This includes HUB6 support, shared serial
149 interrupts, special multiport support, support for more than the
150 four COM 1/2/3/4 boards, etc.
151
152 Note that the answer to this question won't directly affect the
153 kernel: saying N will just cause the configurator to skip all
154 the questions about serial driver options. If unsure, say N.
155
156config SERIAL_8250_MANY_PORTS
157 bool "Support more than 4 legacy serial ports"
158 depends on SERIAL_8250_EXTENDED && !IA64
159 help
160 Say Y here if you have dumb serial boards other than the four
161 standard COM 1/2/3/4 ports. This may happen if you have an AST
162 FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available
163 from <http://www.tldp.org/docs.html#howto>), or other custom
164 serial port hardware which acts similar to standard serial port
165 hardware. If you only use the standard COM 1/2/3/4 ports, you can
166 say N here to save some memory. You can also say Y if you have an
167 "intelligent" multiport card such as Cyclades, Digiboards, etc.
168
Russell Kingec9f47c2005-06-27 11:12:54 +0100169#
170# Multi-port serial cards
171#
172
173config SERIAL_8250_FOURPORT
174 tristate "Support Fourport cards"
175 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
176 help
177 Say Y here if you have an AST FourPort serial board.
178
179 To compile this driver as a module, choose M here: the module
180 will be called 8250_fourport.
181
182config SERIAL_8250_ACCENT
183 tristate "Support Accent cards"
184 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
185 help
186 Say Y here if you have an Accent Async serial board.
187
188 To compile this driver as a module, choose M here: the module
189 will be called 8250_accent.
190
Russell Kingec9f47c2005-06-27 11:12:54 +0100191config SERIAL_8250_BOCA
192 tristate "Support Boca cards"
193 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
194 help
195 Say Y here if you have a Boca serial board. Please read the Boca
Matt LaPlante09509602006-10-03 22:31:37 +0200196 mini-HOWTO, available from <http://www.tldp.org/docs.html#howto>
Russell Kingec9f47c2005-06-27 11:12:54 +0100197
198 To compile this driver as a module, choose M here: the module
199 will be called 8250_boca.
200
Paul B Schroedere0980da2006-12-06 20:37:03 -0800201config SERIAL_8250_EXAR_ST16C554
202 tristate "Support Exar ST16C554/554D Quad UART"
203 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
204 help
205 The Uplogix Envoy TU301 uses this Exar Quad UART. If you are
206 tinkering with your Envoy TU301, or have a machine with this UART,
207 say Y here.
208
209 To compile this driver as a module, choose M here: the module
210 will be called 8250_exar_st16c554.
211
Russell Kingec9f47c2005-06-27 11:12:54 +0100212config SERIAL_8250_HUB6
213 tristate "Support Hub6 cards"
214 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
215 help
216 Say Y here if you have a HUB6 serial board.
217
218 To compile this driver as a module, choose M here: the module
219 will be called 8250_hub6.
220
Don Mullisbf4735a2006-12-10 02:18:37 -0800221config SERIAL_8250_SHARE_IRQ
222 bool "Support for sharing serial interrupts"
223 depends on SERIAL_8250_EXTENDED
224 help
225 Some serial boards have hardware support which allows multiple dumb
226 serial ports on the same board to share a single IRQ. To enable
227 support for this in the serial driver, say Y here.
228
229config SERIAL_8250_DETECT_IRQ
230 bool "Autodetect IRQ on standard ports (unsafe)"
231 depends on SERIAL_8250_EXTENDED
232 help
233 Say Y here if you want the kernel to try to guess which IRQ
234 to use for your serial port.
235
236 This is considered unsafe; it is far better to configure the IRQ in
237 a boot script using the setserial command.
238
239 If unsure, say N.
240
241config SERIAL_8250_RSA
242 bool "Support RSA serial ports"
243 depends on SERIAL_8250_EXTENDED
244 help
245 ::: To be written :::
246
Russell Kingec9f47c2005-06-27 11:12:54 +0100247config SERIAL_8250_MCA
248 tristate "Support 8250-type ports on MCA buses"
249 depends on SERIAL_8250 != n && MCA
250 help
251 Say Y here if you have a MCA serial ports.
252
253 To compile this driver as a module, choose M here: the module
254 will be called 8250_mca.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700255
256config SERIAL_8250_ACORN
257 tristate "Acorn expansion card serial port support"
Russell Kingec9f47c2005-06-27 11:12:54 +0100258 depends on ARCH_ACORN && SERIAL_8250
Linus Torvalds1da177e2005-04-16 15:20:36 -0700259 help
260 If you have an Atomwide Serial card or Serial Port card for an Acorn
261 system, say Y to this option. The driver can handle 1, 2, or 3 port
262 cards. If unsure, say N.
263
Pantelis Antoniou21c614a2005-11-06 09:07:03 +0000264config SERIAL_8250_AU1X00
Sergei Shtylyov6e766452008-04-04 00:02:53 +0400265 bool "Au1x00 serial port support"
Pantelis Antoniou21c614a2005-11-06 09:07:03 +0000266 depends on SERIAL_8250 != n && SOC_AU1X00
267 help
Sergei Shtylyov6e766452008-04-04 00:02:53 +0400268 If you have an Au1x00 SOC based board and want to use the serial port,
269 say Y to this option. The driver can handle up to 4 serial ports,
270 depending on the SOC. If unsure, say N.
Pantelis Antoniou21c614a2005-11-06 09:07:03 +0000271
Thomas Koellerbd71c182007-05-06 14:48:47 -0700272config SERIAL_8250_RM9K
273 bool "Support for MIPS RM9xxx integrated serial port"
274 depends on SERIAL_8250 != n && SERIAL_RM9000
275 select SERIAL_8250_SHARE_IRQ
276 help
277 Selecting this option will add support for the integrated serial
278 port hardware found on MIPS RM9122 and similar processors.
279 If unsure, say N.
280
Russell Kingec9f47c2005-06-27 11:12:54 +0100281comment "Non-8250 serial port support"
282
Linus Torvalds1da177e2005-04-16 15:20:36 -0700283config SERIAL_AMBA_PL010
284 tristate "ARM AMBA PL010 serial port support"
Al Viro84b6a232005-08-23 22:46:16 +0100285 depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700286 select SERIAL_CORE
287 help
288 This selects the ARM(R) AMBA(R) PrimeCell PL010 UART. If you have
Lennert Buytenhek00584712007-02-05 16:10:22 -0800289 an Integrator/AP or Integrator/PP2 platform, or if you have a
290 Cirrus Logic EP93xx CPU, say Y or M here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291
292 If unsure, say N.
293
294config SERIAL_AMBA_PL010_CONSOLE
295 bool "Support for console on AMBA serial port"
296 depends on SERIAL_AMBA_PL010=y
297 select SERIAL_CORE_CONSOLE
298 ---help---
299 Say Y here if you wish to use an AMBA PrimeCell UART as the system
300 console (the system console is the device which receives all kernel
301 messages and warnings and which allows logins in single user mode).
302
303 Even if you say Y here, the currently visible framebuffer console
304 (/dev/tty0) will still be used as the system console by default, but
305 you can alter that using a kernel command line option such as
306 "console=ttyAM0". (Try "man bootparam" or see the documentation of
307 your boot loader (lilo or loadlin) about how to pass options to the
308 kernel at boot time.)
309
310config SERIAL_AMBA_PL011
311 tristate "ARM AMBA PL011 serial port support"
312 depends on ARM_AMBA
313 select SERIAL_CORE
314 help
315 This selects the ARM(R) AMBA(R) PrimeCell PL011 UART. If you have
316 an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M
317 here.
318
319 If unsure, say N.
320
321config SERIAL_AMBA_PL011_CONSOLE
322 bool "Support for console on AMBA serial port"
323 depends on SERIAL_AMBA_PL011=y
324 select SERIAL_CORE_CONSOLE
325 ---help---
326 Say Y here if you wish to use an AMBA PrimeCell UART as the system
327 console (the system console is the device which receives all kernel
328 messages and warnings and which allows logins in single user mode).
329
330 Even if you say Y here, the currently visible framebuffer console
331 (/dev/tty0) will still be used as the system console by default, but
332 you can alter that using a kernel command line option such as
Peter Korsgaardb22b4cd2006-09-29 02:00:23 -0700333 "console=ttyAMA0". (Try "man bootparam" or see the documentation of
Linus Torvalds1da177e2005-04-16 15:20:36 -0700334 your boot loader (lilo or loadlin) about how to pass options to the
335 kernel at boot time.)
336
Maciej W. Rozyckib45d5272007-07-17 04:03:50 -0700337config SERIAL_SB1250_DUART
338 tristate "BCM1xxx on-chip DUART serial support"
339 depends on SIBYTE_SB1xxx_SOC=y
340 select SERIAL_CORE
341 default y
342 ---help---
343 Support for the asynchronous serial interface (DUART) included in
344 the BCM1250 and derived System-On-a-Chip (SOC) devices. Note that
345 the letter D in DUART stands for "dual", which is how the device
346 is implemented. Depending on the SOC configuration there may be
347 one or more DUARTs available of which all are handled.
348
349 If unsure, say Y. To compile this driver as a module, choose M here:
350 the module will be called sb1250-duart.
351
352config SERIAL_SB1250_DUART_CONSOLE
353 bool "Support for console on a BCM1xxx DUART serial port"
354 depends on SERIAL_SB1250_DUART=y
355 select SERIAL_CORE_CONSOLE
356 default y
357 ---help---
358 If you say Y here, it will be possible to use a serial port as the
359 system console (the system console is the device which receives all
360 kernel messages and warnings and which allows logins in single user
361 mode).
362
363 If unsure, say Y.
364
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200365config SERIAL_ATMEL
366 bool "AT91 / AT32 on-chip serial port support"
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200367 depends on (ARM && ARCH_AT91) || AVR32
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000368 select SERIAL_CORE
369 help
Andrew Victorafefc412006-06-19 19:53:19 +0100370 This enables the driver for the on-chip UARTs of the Atmel
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200371 AT91 and AT32 processors.
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000372
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200373config SERIAL_ATMEL_CONSOLE
374 bool "Support for console on AT91 / AT32 serial port"
375 depends on SERIAL_ATMEL=y
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000376 select SERIAL_CORE_CONSOLE
377 help
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200378 Say Y here if you wish to use an on-chip UART on a Atmel
379 AT91 or AT32 processor as the system console (the system
380 console is the device which receives all kernel messages and
381 warnings and which allows logins in single user mode).
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000382
Chip Coldwella6670612008-02-08 04:21:06 -0800383config SERIAL_ATMEL_PDC
384 bool "Support DMA transfers on AT91 / AT32 serial port"
385 depends on SERIAL_ATMEL
386 default y
387 help
388 Say Y here if you wish to use the PDC to do DMA transfers to
389 and from the Atmel AT91 / AT32 serial port. In order to
390 actually use DMA transfers, make sure that the use_dma_tx
391 and use_dma_rx members in the atmel_uart_data struct is set
392 appropriately for each port.
393
394 Note that break and error handling currently doesn't work
395 properly when DMA is enabled. Make sure that ports where
396 this matters don't use DMA.
397
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200398config SERIAL_ATMEL_TTYAT
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200399 bool "Install as device ttyATn instead of ttySn"
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200400 depends on SERIAL_ATMEL=y
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000401 help
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200402 Say Y here if you wish to have the internal AT91 / AT32 UARTs
403 appear as /dev/ttyATn (major 204, minor starting at 154)
404 instead of the normal /dev/ttySn (major 4, minor starting at
405 64). This is necessary if you also want other UARTs, such as
406 external 8250/16C550 compatible UARTs.
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000407 The ttySn nodes are legally reserved for the 8250 serial driver
408 but are often misused by other serial drivers.
409
410 To use this, you should create suitable ttyATn device nodes in
411 /dev/, and pass "console=ttyATn" to the kernel.
412
413 Say Y if you have an external 8250/16C550 UART. If unsure, say N.
414
Andrew Victor2c7ee6a2007-05-11 21:37:25 +0100415config SERIAL_KS8695
416 bool "Micrel KS8695 (Centaur) serial port support"
417 depends on ARCH_KS8695
418 select SERIAL_CORE
419 help
420 This selects the Micrel Centaur KS8695 UART. Say Y here.
421
422config SERIAL_KS8695_CONSOLE
423 bool "Support for console on KS8695 (Centaur) serial port"
424 depends on SERIAL_KS8695=y
425 select SERIAL_CORE_CONSOLE
426 help
427 Say Y here if you wish to use a KS8695 (Centaur) UART as the
428 system console (the system console is the device which
429 receives all kernel messages and warnings and which allows
430 logins in single user mode).
431
Linus Torvalds1da177e2005-04-16 15:20:36 -0700432config SERIAL_CLPS711X
433 tristate "CLPS711X serial port support"
434 depends on ARM && ARCH_CLPS711X
435 select SERIAL_CORE
436 help
437 ::: To be written :::
438
439config SERIAL_CLPS711X_CONSOLE
440 bool "Support for console on CLPS711X serial port"
441 depends on SERIAL_CLPS711X=y
442 select SERIAL_CORE_CONSOLE
443 help
444 Even if you say Y here, the currently visible virtual console
445 (/dev/tty0) will still be used as the system console by default, but
446 you can alter that using a kernel command line option such as
447 "console=ttyCL1". (Try "man bootparam" or see the documentation of
448 your boot loader (lilo or loadlin) about how to pass options to the
449 kernel at boot time.)
450
451config SERIAL_S3C2410
Ben Dooks73e55cb2006-06-24 21:21:32 +0100452 tristate "Samsung S3C2410/S3C2440/S3C2442/S3C2412 Serial port support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700453 depends on ARM && ARCH_S3C2410
454 select SERIAL_CORE
455 help
Ben Dooks73e55cb2006-06-24 21:21:32 +0100456 Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700457 providing /dev/ttySAC0, 1 and 2 (note, some machines may not
458 provide all of these ports, depending on how the serial port
459 pins are configured.
460
Ben Dooks73e55cb2006-06-24 21:21:32 +0100461 Currently this driver supports the UARTS on the S3C2410, S3C2440,
462 S3C2442, S3C2412 and S3C2413 CPUs.
463
Linus Torvalds1da177e2005-04-16 15:20:36 -0700464config SERIAL_S3C2410_CONSOLE
465 bool "Support for console on S3C2410 serial port"
466 depends on SERIAL_S3C2410=y
467 select SERIAL_CORE_CONSOLE
468 help
Ben Dooks73e55cb2006-06-24 21:21:32 +0100469 Allow selection of the S3C24XX on-board serial ports for use as
Linus Torvalds1da177e2005-04-16 15:20:36 -0700470 an virtual console.
471
472 Even if you say Y here, the currently visible virtual console
473 (/dev/tty0) will still be used as the system console by default, but
474 you can alter that using a kernel command line option such as
475 "console=ttySACx". (Try "man bootparam" or see the documentation of
476 your boot loader about how to pass options to the kernel at
477 boot time.)
478
Linus Torvalds1da177e2005-04-16 15:20:36 -0700479config SERIAL_DZ
480 bool "DECstation DZ serial driver"
Ralf Baechle875d43e2005-09-03 15:56:16 -0700481 depends on MACH_DECSTATION && 32BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700482 select SERIAL_CORE
Maciej W. Rozycki7287d762008-02-07 00:15:09 -0800483 default y
484 ---help---
485 DZ11-family serial controllers for DECstations and VAXstations,
486 including the DC7085, M7814, and M7819.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700487
488config SERIAL_DZ_CONSOLE
489 bool "Support console on DECstation DZ serial driver"
490 depends on SERIAL_DZ=y
491 select SERIAL_CORE_CONSOLE
Maciej W. Rozycki7287d762008-02-07 00:15:09 -0800492 default y
493 ---help---
Linus Torvalds1da177e2005-04-16 15:20:36 -0700494 If you say Y here, it will be possible to use a serial port as the
495 system console (the system console is the device which receives all
496 kernel messages and warnings and which allows logins in single user
Maciej W. Rozycki7287d762008-02-07 00:15:09 -0800497 mode).
498
499 Note that the firmware uses ttyS3 as the serial console on
500 DECstations that use this driver.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700501
502 If unsure, say Y.
503
Maciej W. Rozycki8b4a4082007-07-18 00:49:11 -0700504config SERIAL_ZS
505 tristate "DECstation Z85C30 serial support"
506 depends on MACH_DECSTATION
507 select SERIAL_CORE
508 default y
509 ---help---
510 Support for the Zilog 85C350 serial communications controller used
511 for serial ports in newer DECstation systems. These include the
512 DECsystem 5900 and all models of the DECstation and DECsystem 5000
513 systems except from model 200.
514
515 If unsure, say Y. To compile this driver as a module, choose M here:
516 the module will be called zs.
517
518config SERIAL_ZS_CONSOLE
519 bool "Support for console on a DECstation Z85C30 serial port"
520 depends on SERIAL_ZS=y
521 select SERIAL_CORE_CONSOLE
522 default y
523 ---help---
524 If you say Y here, it will be possible to use a serial port as the
525 system console (the system console is the device which receives all
526 kernel messages and warnings and which allows logins in single user
527 mode).
528
529 Note that the firmware uses ttyS1 as the serial console on the
530 Maxine and ttyS3 on the others using this driver.
531
532 If unsure, say Y.
533
Linus Torvalds1da177e2005-04-16 15:20:36 -0700534config SERIAL_21285
535 tristate "DC21285 serial port support"
536 depends on ARM && FOOTBRIDGE
537 select SERIAL_CORE
538 help
539 If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
540 PCI bridge you can enable its onboard serial port by enabling this
541 option.
542
543config SERIAL_21285_CONSOLE
544 bool "Console on DC21285 serial port"
545 depends on SERIAL_21285=y
546 select SERIAL_CORE_CONSOLE
547 help
548 If you have enabled the serial port on the 21285 footbridge you can
549 make it the console by answering Y to this option.
550
551 Even if you say Y here, the currently visible virtual console
552 (/dev/tty0) will still be used as the system console by default, but
553 you can alter that using a kernel command line option such as
554 "console=ttyFB". (Try "man bootparam" or see the documentation of
555 your boot loader (lilo or loadlin) about how to pass options to the
556 kernel at boot time.)
557
Linus Torvalds1da177e2005-04-16 15:20:36 -0700558config SERIAL_MPSC
559 bool "Marvell MPSC serial port support"
560 depends on PPC32 && MV64X60
561 select SERIAL_CORE
562 help
563 Say Y here if you want to use the Marvell MPSC serial controller.
564
565config SERIAL_MPSC_CONSOLE
566 bool "Support for console on Marvell MPSC serial port"
567 depends on SERIAL_MPSC
568 select SERIAL_CORE_CONSOLE
569 help
570 Say Y here if you want to support a serial console on a Marvell MPSC.
571
572config SERIAL_PXA
573 bool "PXA serial port support"
574 depends on ARM && ARCH_PXA
575 select SERIAL_CORE
576 help
577 If you have a machine based on an Intel XScale PXA2xx CPU you
578 can enable its onboard serial ports by enabling this option.
579
580config SERIAL_PXA_CONSOLE
581 bool "Console on PXA serial port"
582 depends on SERIAL_PXA
583 select SERIAL_CORE_CONSOLE
584 help
585 If you have enabled the serial port on the Intel XScale PXA
586 CPU you can make it the console by answering Y to this option.
587
588 Even if you say Y here, the currently visible virtual console
589 (/dev/tty0) will still be used as the system console by default, but
590 you can alter that using a kernel command line option such as
591 "console=ttySA0". (Try "man bootparam" or see the documentation of
592 your boot loader (lilo or loadlin) about how to pass options to the
593 kernel at boot time.)
594
595config SERIAL_SA1100
596 bool "SA1100 serial port support"
597 depends on ARM && ARCH_SA1100
598 select SERIAL_CORE
599 help
600 If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
601 can enable its onboard serial port by enabling this option.
602 Please read <file:Documentation/arm/SA1100/serial_UART> for further
603 info.
604
605config SERIAL_SA1100_CONSOLE
606 bool "Console on SA1100 serial port"
607 depends on SERIAL_SA1100
608 select SERIAL_CORE_CONSOLE
609 help
610 If you have enabled the serial port on the SA1100/SA1110 StrongARM
611 CPU you can make it the console by answering Y to this option.
612
613 Even if you say Y here, the currently visible virtual console
614 (/dev/tty0) will still be used as the system console by default, but
615 you can alter that using a kernel command line option such as
616 "console=ttySA0". (Try "man bootparam" or see the documentation of
617 your boot loader (lilo or loadlin) about how to pass options to the
618 kernel at boot time.)
619
Bryan Wu194de562007-05-06 14:50:30 -0700620config SERIAL_BFIN
621 tristate "Blackfin serial port support"
Mike Frysinger529a73f2007-11-23 14:28:44 +0800622 depends on BLACKFIN
Bryan Wu194de562007-05-06 14:50:30 -0700623 select SERIAL_CORE
624 select SERIAL_BFIN_UART0 if (BF531 || BF532 || BF533 || BF561)
625 help
626 Add support for the built-in UARTs on the Blackfin.
627
628 To compile this driver as a module, choose M here: the
629 module will be called bfin_5xx.
630
631config SERIAL_BFIN_CONSOLE
632 bool "Console on Blackfin serial port"
Adrian Bunk7111de72007-09-11 15:24:13 -0700633 depends on SERIAL_BFIN=y
Bryan Wu194de562007-05-06 14:50:30 -0700634 select SERIAL_CORE_CONSOLE
635
636choice
637 prompt "UART Mode"
638 depends on SERIAL_BFIN
639 default SERIAL_BFIN_DMA
640 help
641 This driver supports the built-in serial ports of the Blackfin family
642 of CPUs
643
644config SERIAL_BFIN_DMA
645 bool "DMA mode"
Mike Frysingereaa85492007-10-21 22:30:01 +0800646 depends on !DMA_UNCACHED_NONE && !KGDB_UART
Bryan Wu194de562007-05-06 14:50:30 -0700647 help
648 This driver works under DMA mode. If this option is selected, the
649 blackfin simple dma driver is also enabled.
650
651config SERIAL_BFIN_PIO
652 bool "PIO mode"
653 help
654 This driver works under PIO mode.
655
656endchoice
657
658config SERIAL_BFIN_UART0
659 bool "Enable UART0"
660 depends on SERIAL_BFIN
661 help
662 Enable UART0
663
664config BFIN_UART0_CTSRTS
665 bool "Enable UART0 hardware flow control"
666 depends on SERIAL_BFIN_UART0
667 help
668 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
669 signal.
670
671config UART0_CTS_PIN
672 int "UART0 CTS pin"
673 depends on BFIN_UART0_CTSRTS
674 default 23
675 help
676 The default pin is GPIO_GP7.
677 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
678
679config UART0_RTS_PIN
680 int "UART0 RTS pin"
681 depends on BFIN_UART0_CTSRTS
682 default 22
683 help
684 The default pin is GPIO_GP6.
685 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
686
687config SERIAL_BFIN_UART1
688 bool "Enable UART1"
Michael Hennerich09545562008-02-02 15:58:30 +0800689 depends on SERIAL_BFIN && (!BF531 && !BF532 && !BF533 && !BF561)
Bryan Wu194de562007-05-06 14:50:30 -0700690 help
691 Enable UART1
692
693config BFIN_UART1_CTSRTS
694 bool "Enable UART1 hardware flow control"
695 depends on SERIAL_BFIN_UART1
696 help
697 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
698 signal.
699
700config UART1_CTS_PIN
701 int "UART1 CTS pin"
Sonic Zhangdb288382008-02-02 17:05:02 +0800702 depends on BFIN_UART1_CTSRTS && !BF54x
Bryan Wu194de562007-05-06 14:50:30 -0700703 default -1
704 help
705 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
706
707config UART1_RTS_PIN
708 int "UART1 RTS pin"
Sonic Zhangdb288382008-02-02 17:05:02 +0800709 depends on BFIN_UART1_CTSRTS && !BF54x
Bryan Wu194de562007-05-06 14:50:30 -0700710 default -1
711 help
712 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
713
Roy Huangf4d640c92007-07-12 16:43:46 +0800714config SERIAL_BFIN_UART2
715 bool "Enable UART2"
716 depends on SERIAL_BFIN && (BF54x)
717 help
718 Enable UART2
719
720config BFIN_UART2_CTSRTS
721 bool "Enable UART2 hardware flow control"
722 depends on SERIAL_BFIN_UART2
723 help
724 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
725 signal.
726
727config UART2_CTS_PIN
728 int "UART2 CTS pin"
729 depends on BFIN_UART2_CTSRTS
730 default -1
731 help
732 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
733
734config UART2_RTS_PIN
735 int "UART2 RTS pin"
736 depends on BFIN_UART2_CTSRTS
737 default -1
738 help
739 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
740
741config SERIAL_BFIN_UART3
742 bool "Enable UART3"
743 depends on SERIAL_BFIN && (BF54x)
744 help
745 Enable UART3
746
747config BFIN_UART3_CTSRTS
748 bool "Enable UART3 hardware flow control"
749 depends on SERIAL_BFIN_UART3
750 help
751 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
752 signal.
753
Linus Torvalds1da177e2005-04-16 15:20:36 -0700754config SERIAL_IMX
755 bool "IMX serial port support"
756 depends on ARM && ARCH_IMX
757 select SERIAL_CORE
758 help
759 If you have a machine based on a Motorola IMX CPU you
760 can enable its onboard serial port by enabling this option.
761
762config SERIAL_IMX_CONSOLE
763 bool "Console on IMX serial port"
764 depends on SERIAL_IMX
765 select SERIAL_CORE_CONSOLE
766 help
767 If you have enabled the serial port on the Motorola IMX
768 CPU you can make it the console by answering Y to this option.
769
770 Even if you say Y here, the currently visible virtual console
771 (/dev/tty0) will still be used as the system console by default, but
772 you can alter that using a kernel command line option such as
773 "console=ttySA0". (Try "man bootparam" or see the documentation of
774 your boot loader (lilo or loadlin) about how to pass options to the
775 kernel at boot time.)
776
Peter Korsgaard238b8722006-12-06 20:35:17 -0800777config SERIAL_UARTLITE
778 tristate "Xilinx uartlite serial port support"
779 depends on PPC32
780 select SERIAL_CORE
781 help
782 Say Y here if you want to use the Xilinx uartlite serial controller.
783
784 To compile this driver as a module, choose M here: the
785 module will be called uartlite.ko.
786
787config SERIAL_UARTLITE_CONSOLE
788 bool "Support for console on Xilinx uartlite serial port"
789 depends on SERIAL_UARTLITE=y
790 select SERIAL_CORE_CONSOLE
791 help
792 Say Y here if you wish to use a Xilinx uartlite as the system
793 console (the system console is the device which receives all kernel
794 messages and warnings and which allows logins in single user mode).
795
Linus Torvalds1da177e2005-04-16 15:20:36 -0700796config SERIAL_SUNCORE
797 bool
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800798 depends on SPARC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700799 select SERIAL_CORE
800 select SERIAL_CORE_CONSOLE
801 default y
802
803config SERIAL_SUNZILOG
804 tristate "Sun Zilog8530 serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800805 depends on SPARC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700806 help
807 This driver supports the Zilog8530 serial ports found on many Sparc
808 systems. Say Y or M if you want to be able to these serial ports.
809
810config SERIAL_SUNZILOG_CONSOLE
811 bool "Console on Sun Zilog8530 serial port"
812 depends on SERIAL_SUNZILOG=y
813 help
814 If you would like to be able to use the Zilog8530 serial port
815 on your Sparc system as the console, you can do so by answering
816 Y to this option.
817
818config SERIAL_SUNSU
819 tristate "Sun SU serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800820 depends on SPARC && PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700821 help
822 This driver supports the 8250 serial ports that run the keyboard and
823 mouse on (PCI) UltraSPARC systems. Say Y or M if you want to be able
824 to these serial ports.
825
826config SERIAL_SUNSU_CONSOLE
827 bool "Console on Sun SU serial port"
828 depends on SERIAL_SUNSU=y
829 help
830 If you would like to be able to use the SU serial port
831 on your Sparc system as the console, you can do so by answering
832 Y to this option.
833
834config SERIAL_MUX
835 tristate "Serial MUX support"
Matthew Wilcox305f5162005-11-18 16:17:50 -0500836 depends on GSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700837 select SERIAL_CORE
838 default y
839 ---help---
840 Saying Y here will enable the hardware MUX serial driver for
Carlos O'Donelle45da352006-09-16 14:35:51 -0400841 the Nova, K class systems and D class with a 'remote control card'.
842 The hardware MUX is not 8250/16550 compatible therefore the
843 /dev/ttyB0 device is shared between the Serial MUX and the PDC
844 software console. The following steps need to be completed to use
845 the Serial MUX:
Linus Torvalds1da177e2005-04-16 15:20:36 -0700846
847 1. create the device entry (mknod /dev/ttyB0 c 11 0)
848 2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
849 3. Add device ttyB0 to /etc/securetty (if you want to log on as
850 root on this console.)
851 4. Change the kernel command console parameter to: console=ttyB0
852
853config SERIAL_MUX_CONSOLE
Adrian Bunk7111de72007-09-11 15:24:13 -0700854 bool "Support for console on serial MUX"
855 depends on SERIAL_MUX=y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700856 select SERIAL_CORE_CONSOLE
Adrian Bunk7111de72007-09-11 15:24:13 -0700857 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700858
859config PDC_CONSOLE
860 bool "PDC software console support"
861 depends on PARISC && !SERIAL_MUX && VT
862 default n
863 help
864 Saying Y here will enable the software based PDC console to be
865 used as the system console. This is useful for machines in
866 which the hardware based console has not been written yet. The
867 following steps must be competed to use the PDC console:
868
869 1. create the device entry (mknod /dev/ttyB0 c 11 0)
870 2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
871 3. Add device ttyB0 to /etc/securetty (if you want to log on as
872 root on this console.)
873 4. Change the kernel command console parameter to: console=ttyB0
874
875config SERIAL_SUNSAB
876 tristate "Sun Siemens SAB82532 serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800877 depends on SPARC && PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700878 help
879 This driver supports the Siemens SAB82532 DUSCC serial ports on newer
880 (PCI) UltraSPARC systems. Say Y or M if you want to be able to these
881 serial ports.
882
883config SERIAL_SUNSAB_CONSOLE
884 bool "Console on Sun Siemens SAB82532 serial port"
885 depends on SERIAL_SUNSAB=y
886 help
887 If you would like to be able to use the SAB82532 serial port
888 on your Sparc system as the console, you can do so by answering
889 Y to this option.
890
David S. Miller02fd4732006-02-11 02:25:21 -0800891config SERIAL_SUNHV
892 bool "Sun4v Hypervisor Console support"
893 depends on SPARC64
894 help
895 This driver supports the console device found on SUN4V Sparc
896 systems. Say Y if you want to be able to use this device.
897
Linus Torvalds1da177e2005-04-16 15:20:36 -0700898config SERIAL_IP22_ZILOG
Thomas Bogendoerfer5057c982008-02-06 01:37:26 -0800899 tristate "SGI Zilog8530 serial support"
900 depends on SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700901 select SERIAL_CORE
902 help
Thomas Bogendoerfer5057c982008-02-06 01:37:26 -0800903 This driver supports the Zilog8530 serial ports found on SGI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700904 systems. Say Y or M if you want to be able to these serial ports.
905
906config SERIAL_IP22_ZILOG_CONSOLE
Thomas Bogendoerfer5057c982008-02-06 01:37:26 -0800907 bool "Console on SGI Zilog8530 serial port"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700908 depends on SERIAL_IP22_ZILOG=y
909 select SERIAL_CORE_CONSOLE
910
911config V850E_UART
912 bool "NEC V850E on-chip UART support"
913 depends on V850E_MA1 || V850E_ME2 || V850E_TEG || V850E2_ANNA || V850E_AS85EP1
914 select SERIAL_CORE
915 default y
916
917config V850E_UARTB
918 bool
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100919 depends on V850E_UART && V850E_ME2
Linus Torvalds1da177e2005-04-16 15:20:36 -0700920 default y
921
922config V850E_UART_CONSOLE
923 bool "Use NEC V850E on-chip UART for console"
924 depends on V850E_UART
925 select SERIAL_CORE_CONSOLE
926
927config SERIAL_SH_SCI
Paul Mundtecd95612006-09-27 17:32:30 +0900928 tristate "SuperH SCI(F) serial port support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700929 depends on SUPERH || H8300
930 select SERIAL_CORE
931
Paul Mundtecd95612006-09-27 17:32:30 +0900932config SERIAL_SH_SCI_NR_UARTS
933 int "Maximum number of SCI(F) serial ports"
934 depends on SERIAL_SH_SCI
935 default "2"
936
Linus Torvalds1da177e2005-04-16 15:20:36 -0700937config SERIAL_SH_SCI_CONSOLE
Paul Mundtecd95612006-09-27 17:32:30 +0900938 bool "Support for console on SuperH SCI(F)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700939 depends on SERIAL_SH_SCI=y
940 select SERIAL_CORE_CONSOLE
941
Vitaly Woolde8211b2007-02-14 00:33:09 -0800942config SERIAL_PNX8XXX
943 bool "Enable PNX8XXX SoCs' UART Support"
944 depends on MIPS && SOC_PNX8550
945 select SERIAL_CORE
946 help
947 If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
948 and you want to use serial ports, say Y. Otherwise, say N.
949
950config SERIAL_PNX8XXX_CONSOLE
951 bool "Enable PNX8XX0 serial console"
952 depends on SERIAL_PNX8XXX
953 select SERIAL_CORE_CONSOLE
954 help
955 If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
956 and you want to use serial console, say Y. Otherwise, say N.
957
Linus Torvalds1da177e2005-04-16 15:20:36 -0700958config SERIAL_CORE
959 tristate
960
961config SERIAL_CORE_CONSOLE
962 bool
963
Jason Wesself2d937f2008-04-17 20:05:37 +0200964config CONSOLE_POLL
965 bool
966
Linus Torvalds1da177e2005-04-16 15:20:36 -0700967config SERIAL_68328
968 bool "68328 serial support"
969 depends on M68328 || M68EZ328 || M68VZ328
970 help
971 This driver supports the built-in serial port of the Motorola 68328
Matt LaPlante09509602006-10-03 22:31:37 +0200972 (standard, EZ and VZ varieties).
Linus Torvalds1da177e2005-04-16 15:20:36 -0700973
974config SERIAL_68328_RTS_CTS
975 bool "Support RTS/CTS on 68328 serial port"
976 depends on SERIAL_68328
977
978config SERIAL_COLDFIRE
Sebastian Siewiorf7c5a772008-05-14 16:05:30 -0700979 bool "ColdFire serial support (DEPRECATED)"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700980 depends on COLDFIRE
981 help
982 This driver supports the built-in serial ports of the Motorola ColdFire
983 family of CPUs.
Sebastian Siewiorf7c5a772008-05-14 16:05:30 -0700984 This driver is deprecated because it supports only the old interface
985 for serial drivers and features like magic keys are not working.
986 Please switch to the new style driver because this driver will be
987 removed soon.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700988
Greg Ungererae1b5f02008-02-01 17:32:00 +1000989config SERIAL_MCF
990 bool "Coldfire serial support (new style driver)"
991 depends on COLDFIRE
992 select SERIAL_CORE
993 help
994 This new serial driver supports the Freescale Coldfire serial ports
995 using the new serial driver subsystem.
996
997config SERIAL_MCF_BAUDRATE
998 int "Default baudrate for Coldfire serial ports"
999 depends on SERIAL_MCF
1000 default 19200
1001 help
1002 This setting lets you define what the default baudrate is for the
1003 ColdFire serial ports. The usual default varies from board to board,
1004 and this setting is a way of catering for that.
1005
1006config SERIAL_MCF_CONSOLE
1007 bool "Coldfire serial console support"
1008 depends on SERIAL_MCF
1009 select SERIAL_CORE_CONSOLE
1010 help
1011 Enable a ColdFire internal serial port to be the system console.
1012
Linus Torvalds1da177e2005-04-16 15:20:36 -07001013config SERIAL_68360_SMC
1014 bool "68360 SMC uart support"
1015 depends on M68360
1016 help
1017 This driver supports the SMC serial ports of the Motorola 68360 CPU.
1018
1019config SERIAL_68360_SCC
1020 bool "68360 SCC uart support"
1021 depends on M68360
1022 help
1023 This driver supports the SCC serial ports of the Motorola 68360 CPU.
1024
1025config SERIAL_68360
1026 bool
1027 depends on SERIAL_68360_SMC || SERIAL_68360_SCC
1028 default y
1029
1030config SERIAL_PMACZILOG
1031 tristate "PowerMac z85c30 ESCC support"
1032 depends on PPC_OF && PPC_PMAC
1033 select SERIAL_CORE
1034 help
1035 This driver supports the Zilog z85C30 serial ports found on
1036 PowerMac machines.
1037 Say Y or M if you want to be able to these serial ports.
1038
David Woodhousee4533b22007-04-05 00:19:43 +10001039config SERIAL_PMACZILOG_TTYS
1040 bool "Use ttySn device nodes for Zilog z85c30"
1041 depends on SERIAL_PMACZILOG
1042 help
1043 The pmac_zilog driver for the z85C30 chip on many powermacs
1044 historically used the device numbers for /dev/ttySn. The
1045 8250 serial port driver also uses these numbers, which means
1046 the two drivers being unable to coexist; you could not use
1047 both z85C30 and 8250 type ports at the same time.
1048
1049 If this option is not selected, the pmac_zilog driver will
1050 use the device numbers allocated for /dev/ttyPZn. This allows
1051 the pmac_zilog and 8250 drivers to co-exist, but may cause
1052 existing userspace setups to break. Programs that need to
1053 access the built-in serial ports on powermacs will need to
1054 be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.
1055
1056 If you enable this option, any z85c30 ports in the system will
1057 be registered as ttyS0 onwards as in the past, and you will be
1058 unable to use the 8250 module for PCMCIA or other 16C550-style
1059 UARTs.
1060
1061 Say N unless you need the z85c30 ports on your powermac
1062 to appear as /dev/ttySn.
1063
Linus Torvalds1da177e2005-04-16 15:20:36 -07001064config SERIAL_PMACZILOG_CONSOLE
1065 bool "Console on PowerMac z85c30 serial port"
1066 depends on SERIAL_PMACZILOG=y
1067 select SERIAL_CORE_CONSOLE
1068 help
1069 If you would like to be able to use the z85c30 serial port
1070 on your PowerMac as the console, you can do so by answering
1071 Y to this option.
1072
1073config SERIAL_LH7A40X
1074 tristate "Sharp LH7A40X embedded UART support"
1075 depends on ARM && ARCH_LH7A40X
1076 select SERIAL_CORE
1077 help
1078 This enables support for the three on-board UARTs of the
1079 Sharp LH7A40X series CPUs. Choose Y or M.
1080
1081config SERIAL_LH7A40X_CONSOLE
1082 bool "Support for console on Sharp LH7A40X serial port"
1083 depends on SERIAL_LH7A40X=y
1084 select SERIAL_CORE_CONSOLE
1085 help
1086 Say Y here if you wish to use one of the serial ports as the
1087 system console--the system console is the device which
1088 receives all kernel messages and warnings and which allows
1089 logins in single user mode.
1090
1091 Even if you say Y here, the currently visible framebuffer console
1092 (/dev/tty0) will still be used as the default system console, but
1093 you can alter that using a kernel command line, for example
1094 "console=ttyAM1".
1095
1096config SERIAL_CPM
1097 tristate "CPM SCC/SMC serial port support"
1098 depends on CPM2 || 8xx
1099 select SERIAL_CORE
1100 help
1101 This driver supports the SCC and SMC serial ports on Motorola
1102 embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
1103
1104config SERIAL_CPM_CONSOLE
1105 bool "Support for console on CPM SCC/SMC serial port"
1106 depends on SERIAL_CPM=y
1107 select SERIAL_CORE_CONSOLE
1108 help
1109 Say Y here if you wish to use a SCC or SMC CPM UART as the system
1110 console (the system console is the device which receives all kernel
1111 messages and warnings and which allows logins in single user mode).
1112
1113 Even if you say Y here, the currently visible framebuffer console
1114 (/dev/tty0) will still be used as the system console by default, but
1115 you can alter that using a kernel command line option such as
1116 "console=ttyCPM0". (Try "man bootparam" or see the documentation of
1117 your boot loader (lilo or loadlin) about how to pass options to the
1118 kernel at boot time.)
1119
1120config SERIAL_CPM_SCC1
1121 bool "Support for SCC1 serial port"
1122 depends on SERIAL_CPM=y
1123 help
Randy Dunlap74e8b512006-10-19 23:28:26 -07001124 Select this option to use SCC1 as a serial port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001125
1126config SERIAL_CPM_SCC2
1127 bool "Support for SCC2 serial port"
1128 depends on SERIAL_CPM=y
1129 help
Randy Dunlap74e8b512006-10-19 23:28:26 -07001130 Select this option to use SCC2 as a serial port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001131
1132config SERIAL_CPM_SCC3
1133 bool "Support for SCC3 serial port"
1134 depends on SERIAL_CPM=y
1135 help
Randy Dunlap74e8b512006-10-19 23:28:26 -07001136 Select this option to use SCC3 as a serial port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001137
1138config SERIAL_CPM_SCC4
1139 bool "Support for SCC4 serial port"
1140 depends on SERIAL_CPM=y
1141 help
Randy Dunlap74e8b512006-10-19 23:28:26 -07001142 Select this option to use SCC4 as a serial port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001143
1144config SERIAL_CPM_SMC1
1145 bool "Support for SMC1 serial port"
1146 depends on SERIAL_CPM=y
1147 help
Randy Dunlap74e8b512006-10-19 23:28:26 -07001148 Select this option to use SMC1 as a serial port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001149
1150config SERIAL_CPM_SMC2
1151 bool "Support for SMC2 serial port"
1152 depends on SERIAL_CPM=y
1153 help
Randy Dunlap74e8b512006-10-19 23:28:26 -07001154 Select this option to use SMC2 as a serial port
Linus Torvalds1da177e2005-04-16 15:20:36 -07001155
1156config SERIAL_SGI_L1_CONSOLE
1157 bool "SGI Altix L1 serial console support"
1158 depends on IA64_GENERIC || IA64_SGI_SN2
1159 select SERIAL_CORE
1160 select SERIAL_CORE_CONSOLE
1161 help
1162 If you have an SGI Altix and you would like to use the system
1163 controller serial port as your console (you want this!),
1164 say Y. Otherwise, say N.
1165
1166config SERIAL_MPC52xx
John Rigby25ae3a02008-01-29 04:28:56 +11001167 tristate "Freescale MPC52xx/MPC512x family PSC serial support"
1168 depends on PPC_MPC52xx || PPC_MPC512x
Linus Torvalds1da177e2005-04-16 15:20:36 -07001169 select SERIAL_CORE
1170 help
John Rigby25ae3a02008-01-29 04:28:56 +11001171 This driver supports MPC52xx and MPC512x PSC serial ports. If you would
1172 like to use them, you must answer Y or M to this option. Note that
Linus Torvalds1da177e2005-04-16 15:20:36 -07001173 for use as console, it must be included in kernel and not as a
1174 module.
1175
1176config SERIAL_MPC52xx_CONSOLE
John Rigby25ae3a02008-01-29 04:28:56 +11001177 bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001178 depends on SERIAL_MPC52xx=y
1179 select SERIAL_CORE_CONSOLE
1180 help
1181 Select this options if you'd like to use one of the PSC serial port
1182 of the Freescale MPC52xx family as a console.
1183
1184config SERIAL_MPC52xx_CONSOLE_BAUD
John Rigby25ae3a02008-01-29 04:28:56 +11001185 int "Freescale MPC52xx/MPC512x family PSC serial port baud"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001186 depends on SERIAL_MPC52xx_CONSOLE=y
1187 default "9600"
1188 help
1189 Select the MPC52xx console baud rate.
1190 This value is only used if the bootloader doesn't pass in the
1191 console baudrate
1192
1193config SERIAL_ICOM
1194 tristate "IBM Multiport Serial Adapter"
Stephen Rothwell145d01e2005-06-21 17:15:52 -07001195 depends on PCI && (PPC_ISERIES || PPC_PSERIES)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001196 select SERIAL_CORE
maximilian attemscb2fc532006-03-25 17:44:20 +00001197 select FW_LOADER
Linus Torvalds1da177e2005-04-16 15:20:36 -07001198 help
1199 This driver is for a family of multiport serial adapters
1200 including 2 port RVX, 2 port internal modem, 4 port internal
1201 modem and a split 1 port RVX and 1 port internal modem.
1202
1203 This driver can also be built as a module. If so, the module
1204 will be called icom.
1205
1206config SERIAL_M32R_SIO
1207 bool "M32R SIO I/F"
1208 depends on M32R
1209 default y
1210 select SERIAL_CORE
1211 help
1212 Say Y here if you want to use the M32R serial controller.
1213
1214config SERIAL_M32R_SIO_CONSOLE
1215 bool "use SIO console"
1216 depends on SERIAL_M32R_SIO=y
1217 select SERIAL_CORE_CONSOLE
1218 help
1219 Say Y here if you want to support a serial console.
1220
1221 If you use an M3T-M32700UT or an OPSPUT platform,
1222 please say also y for SERIAL_M32R_PLDSIO.
1223
1224config SERIAL_M32R_PLDSIO
1225 bool "M32R SIO I/F on a PLD"
Adrian Bunkd600b972006-01-13 21:57:22 +00001226 depends on SERIAL_M32R_SIO=y && (PLAT_OPSPUT || PLAT_USRV || PLAT_M32700UT)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001227 default n
1228 help
1229 Say Y here if you want to use the M32R serial controller
1230 on a PLD (Programmable Logic Device).
1231
1232 If you use an M3T-M32700UT or an OPSPUT platform,
1233 please say Y.
1234
1235config SERIAL_TXX9
1236 bool "TMPTX39XX/49XX SIO support"
Robert P. J. Daybef1f402006-12-12 20:04:19 +01001237 depends on HAS_TXX9_SERIAL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001238 select SERIAL_CORE
1239 default y
1240
1241config HAS_TXX9_SERIAL
1242 bool
1243
Atsushi Nemoto138c5d22007-02-10 01:45:05 -08001244config SERIAL_TXX9_NR_UARTS
1245 int "Maximum number of TMPTX39XX/49XX SIO ports"
1246 depends on SERIAL_TXX9
1247 default "6"
1248
Linus Torvalds1da177e2005-04-16 15:20:36 -07001249config SERIAL_TXX9_CONSOLE
1250 bool "TMPTX39XX/49XX SIO Console support"
1251 depends on SERIAL_TXX9=y
1252 select SERIAL_CORE_CONSOLE
1253
1254config SERIAL_TXX9_STDSERIAL
1255 bool "TX39XX/49XX SIO act as standard serial"
1256 depends on !SERIAL_8250 && SERIAL_TXX9
1257
1258config SERIAL_VR41XX
1259 tristate "NEC VR4100 series Serial Interface Unit support"
1260 depends on CPU_VR41XX
1261 select SERIAL_CORE
1262 help
1263 If you have a NEC VR4100 series processor and you want to use
1264 Serial Interface Unit(SIU) or Debug Serial Interface Unit(DSIU)
1265 (not include VR4111/VR4121 DSIU), say Y. Otherwise, say N.
1266
1267config SERIAL_VR41XX_CONSOLE
1268 bool "Enable NEC VR4100 series Serial Interface Unit console"
Yoichi Yuasa21740412007-07-31 00:38:56 -07001269 depends on SERIAL_VR41XX=y
Linus Torvalds1da177e2005-04-16 15:20:36 -07001270 select SERIAL_CORE_CONSOLE
1271 help
1272 If you have a NEC VR4100 series processor and you want to use
1273 a console on a serial port, say Y. Otherwise, say N.
1274
1275config SERIAL_JSM
V. Ananda Krishnan0a577ce2006-02-03 03:04:30 -08001276 tristate "Digi International NEO PCI Support"
1277 depends on PCI
1278 select SERIAL_CORE
1279 help
1280 This is a driver for Digi International's Neo series
1281 of cards which provide multiple serial ports. You would need
1282 something like this to connect more than two modems to your Linux
1283 box, for instance in order to become a dial-in server. This driver
1284 supports PCI boards only.
Arthur Othienoa5f1e4e2006-02-15 09:52:46 +00001285
1286 If you have a card like this, say Y here, otherwise say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001287
V. Ananda Krishnan0a577ce2006-02-03 03:04:30 -08001288 To compile this driver as a module, choose M here: the
1289 module will be called jsm.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001290
Brent Casavante5d310b2005-06-21 17:16:01 -07001291config SERIAL_SGI_IOC4
1292 tristate "SGI IOC4 controller serial support"
1293 depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4
1294 select SERIAL_CORE
1295 help
1296 If you have an SGI Altix with an IOC4 based Base IO card
1297 and wish to use the serial ports on this card, say Y.
1298 Otherwise, say N.
1299
Patrick Gefre2d0cfb52006-01-14 13:20:40 -08001300config SERIAL_SGI_IOC3
1301 tristate "SGI Altix IOC3 serial support"
1302 depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC3
1303 select SERIAL_CORE
1304 help
1305 If you have an SGI Altix with an IOC3 serial card,
1306 say Y or M. Otherwise, say N.
1307
Sascha Hauerf8441e12006-06-19 13:29:07 +01001308config SERIAL_NETX
1309 bool "NetX serial port support"
1310 depends on ARM && ARCH_NETX
1311 select SERIAL_CORE
1312 help
1313 If you have a machine based on a Hilscher NetX SoC you
1314 can enable its onboard serial port by enabling this option.
1315
1316 To compile this driver as a module, choose M here: the
1317 module will be called netx-serial.
1318
1319config SERIAL_NETX_CONSOLE
1320 bool "Console on NetX serial port"
1321 depends on SERIAL_NETX
1322 select SERIAL_CORE_CONSOLE
1323 help
Uwe Kleine-Königb885b272008-02-03 14:55:57 +02001324 If you have enabled the serial port on the Hilscher NetX SoC
1325 you can make it the console by answering Y to this option.
Sascha Hauerf8441e12006-06-19 13:29:07 +01001326
Arnd Bergmann8d38a5b2007-02-13 21:35:38 +01001327config SERIAL_OF_PLATFORM
1328 tristate "Serial port on Open Firmware platform bus"
1329 depends on PPC_OF
1330 depends on SERIAL_8250
1331 help
1332 If you have a PowerPC based system that has serial ports
1333 on a platform specific bus, you should enable this option.
1334 Currently, only 8250 compatible ports are supported, but
1335 others can easily be added.
1336
Timur Tabid7584ed2008-01-15 09:56:13 -06001337config SERIAL_QE
1338 tristate "Freescale QUICC Engine serial port support"
1339 depends on QUICC_ENGINE
1340 select SERIAL_CORE
1341 select FW_LOADER
1342 default n
1343 help
1344 This driver supports the QE serial ports on Freescale embedded
1345 PowerPC that contain a QUICC Engine.
1346
Thomas Bogendoerfereea63e02008-02-06 01:37:27 -08001347config SERIAL_SC26XX
1348 tristate "SC2681/SC2692 serial port support"
1349 depends on SNI_RM
1350 select SERIAL_CORE
1351 help
1352 This is a driver for the onboard serial ports of
1353 older RM400 machines.
1354
1355config SERIAL_SC26XX_CONSOLE
1356 bool "Console on SC2681/SC2692 serial port"
1357 depends on SERIAL_SC26XX
1358 select SERIAL_CORE_CONSOLE
1359 help
1360 Support for Console on SC2681/SC2692 serial ports.
1361
Bryan Wu2f351742008-04-30 00:52:12 -07001362config SERIAL_BFIN_SPORT
1363 tristate "Blackfin SPORT emulate UART (EXPERIMENTAL)"
Mike Frysinger460ed2e2008-05-17 18:22:26 +08001364 depends on BLACKFIN && EXPERIMENTAL
Bryan Wu2f351742008-04-30 00:52:12 -07001365 select SERIAL_CORE
1366 help
1367 Enble support SPORT emulate UART on Blackfin series.
1368
1369 To compile this driver as a module, choose M here: the
1370 module will be called bfin_sport_uart.
1371
1372choice
1373 prompt "Baud rate for Blackfin SPORT UART"
1374 depends on SERIAL_BFIN_SPORT
1375 default SERIAL_SPORT_BAUD_RATE_57600
1376 help
1377 Choose a baud rate for the SPORT UART, other uart settings are
1378 8 bit, 1 stop bit, no parity, no flow control.
1379
1380config SERIAL_SPORT_BAUD_RATE_115200
1381 bool "115200"
1382
1383config SERIAL_SPORT_BAUD_RATE_57600
1384 bool "57600"
1385
1386config SERIAL_SPORT_BAUD_RATE_38400
1387 bool "38400"
1388
1389config SERIAL_SPORT_BAUD_RATE_19200
1390 bool "19200"
1391
1392config SERIAL_SPORT_BAUD_RATE_9600
1393 bool "9600"
1394endchoice
1395
1396config SPORT_BAUD_RATE
1397 int
1398 depends on SERIAL_BFIN_SPORT
1399 default 115200 if (SERIAL_SPORT_BAUD_RATE_115200)
1400 default 57600 if (SERIAL_SPORT_BAUD_RATE_57600)
1401 default 38400 if (SERIAL_SPORT_BAUD_RATE_38400)
1402 default 19200 if (SERIAL_SPORT_BAUD_RATE_19200)
1403 default 9600 if (SERIAL_SPORT_BAUD_RATE_9600)
1404
Linus Torvalds1da177e2005-04-16 15:20:36 -07001405endmenu