blob: 3391ef0d761da7b031f6581a35f5659beea3e637 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Serial device configuration
3#
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5menu "Serial drivers"
Martin Schwidefskye25df122007-05-10 15:45:57 +02006 depends on HAS_IOMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
8#
9# The new 8250/16550 serial drivers
10config SERIAL_8250
11 tristate "8250/16550 and compatible serial support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 select SERIAL_CORE
13 ---help---
14 This selects whether you want to include the driver for the standard
15 serial ports. The standard answer is Y. People who might say N
16 here are those that are setting up dedicated Ethernet WWW/FTP
17 servers, or users that have one of the various bus mice instead of a
18 serial mouse and don't intend to use their machine's standard serial
19 port for anything. (Note that the Cyclades and Stallion multi
20 serial port drivers do not need this driver built in for them to
21 work.)
22
23 To compile this driver as a module, choose M here: the
Timothy Charles McGrathdf7559d2006-01-23 09:50:09 +000024 module will be called 8250.
Linus Torvalds1da177e2005-04-16 15:20:36 -070025 [WARNING: Do not compile this driver as a module if you are using
26 non-standard serial ports, since the configuration information will
27 be lost when the driver is unloaded. This limitation may be lifted
28 in the future.]
29
30 BTW1: If you have a mouseman serial mouse which is not recognized by
31 the X window system, try running gpm first.
32
33 BTW2: If you intend to use a software modem (also called Winmodem)
34 under Linux, forget it. These modems are crippled and require
35 proprietary drivers which are only available under Windows.
36
37 Most people will say Y or M here, so that they can use serial mice,
38 modems and similar devices connecting to the standard serial ports.
39
40config SERIAL_8250_CONSOLE
41 bool "Console on 8250/16550 and compatible serial port"
42 depends on SERIAL_8250=y
43 select SERIAL_CORE_CONSOLE
44 ---help---
45 If you say Y here, it will be possible to use a serial port as the
46 system console (the system console is the device which receives all
47 kernel messages and warnings and which allows logins in single user
48 mode). This could be useful if some terminal or printer is connected
49 to that serial port.
50
51 Even if you say Y here, the currently visible virtual console
52 (/dev/tty0) will still be used as the system console by default, but
53 you can alter that using a kernel command line option such as
54 "console=ttyS1". (Try "man bootparam" or see the documentation of
55 your boot loader (grub or lilo or loadlin) about how to pass options
56 to the kernel at boot time.)
57
58 If you don't have a VGA card installed and you say Y here, the
59 kernel will automatically use the first serial line, /dev/ttyS0, as
60 system console.
61
Matt LaPlante01dd2fb2007-10-20 01:34:40 +020062 You can set that using a kernel command line option such as
Yinghai Lu18a8bd92007-07-15 23:37:59 -070063 "console=uart8250,io,0x3f8,9600n8"
64 "console=uart8250,mmio,0xff5e0000,115200n8".
Matt LaPlante01dd2fb2007-10-20 01:34:40 +020065 and it will switch to normal serial console when the corresponding
66 port is ready.
Yinghai Lu18a8bd92007-07-15 23:37:59 -070067 "earlycon=uart8250,io,0x3f8,9600n8"
68 "earlycon=uart8250,mmio,0xff5e0000,115200n8".
69 it will not only setup early console.
70
Linus Torvalds1da177e2005-04-16 15:20:36 -070071 If unsure, say N.
72
Yinghai Lu18a8bd92007-07-15 23:37:59 -070073config FIX_EARLYCON_MEM
74 bool
75 depends on X86
76 default y
77
Russell King0cff2602006-03-29 22:03:38 +010078config SERIAL_8250_GSC
79 tristate
80 depends on SERIAL_8250 && GSC
81 default SERIAL_8250
82
83config SERIAL_8250_PCI
84 tristate "8250/16550 PCI device support" if EMBEDDED
85 depends on SERIAL_8250 && PCI
86 default SERIAL_8250
87 help
Andrew Morton57d48102007-07-31 00:38:02 -070088 This builds standard PCI serial support. You may be able to
89 disable this feature if you only need legacy serial support.
90 Saves about 9K.
Russell King0cff2602006-03-29 22:03:38 +010091
92config SERIAL_8250_PNP
93 tristate "8250/16550 PNP device support" if EMBEDDED
94 depends on SERIAL_8250 && PNP
95 default SERIAL_8250
96 help
Andrew Morton57d48102007-07-31 00:38:02 -070097 This builds standard PNP serial support. You may be able to
98 disable this feature if you only need legacy serial support.
Russell King0cff2602006-03-29 22:03:38 +010099
100config SERIAL_8250_HP300
101 tristate
102 depends on SERIAL_8250 && HP300
103 default SERIAL_8250
104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105config SERIAL_8250_CS
106 tristate "8250/16550 PCMCIA device support"
107 depends on PCMCIA && SERIAL_8250
108 ---help---
109 Say Y here to enable support for 16-bit PCMCIA serial devices,
110 including serial port cards, modems, and the modem functions of
111 multi-function Ethernet/modem cards. (PCMCIA- or PC-cards are
112 credit-card size devices often used with laptops.)
113
114 To compile this driver as a module, choose M here: the
115 module will be called serial_cs.
116
117 If unsure, say N.
118
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119config SERIAL_8250_NR_UARTS
Russell King026d02a2005-06-29 18:45:19 +0100120 int "Maximum number of 8250/16550 serial ports"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121 depends on SERIAL_8250
122 default "4"
Russell Kingec9f47c2005-06-27 11:12:54 +0100123 help
124 Set this to the number of serial ports you want the driver
125 to support. This includes any ports discovered via ACPI or
126 PCI enumeration and any ports that may be added at run-time
127 via hot-plug, or any ISA multi-port serial cards.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128
Dave Jonesa61c2d72006-01-07 23:18:19 +0000129config SERIAL_8250_RUNTIME_UARTS
130 int "Number of 8250/16550 serial ports to register at runtime"
131 depends on SERIAL_8250
Russell King9a8ffcc2006-02-03 22:05:42 +0000132 range 0 SERIAL_8250_NR_UARTS
Dave Jonesa61c2d72006-01-07 23:18:19 +0000133 default "4"
134 help
135 Set this to the maximum number of serial ports you want
Matt LaPlante09509602006-10-03 22:31:37 +0200136 the kernel to register at boot time. This can be overridden
Dave Jonesa61c2d72006-01-07 23:18:19 +0000137 with the module parameter "nr_uarts", or boot-time parameter
138 8250.nr_uarts
139
Linus Torvalds1da177e2005-04-16 15:20:36 -0700140config SERIAL_8250_EXTENDED
141 bool "Extended 8250/16550 serial driver options"
142 depends on SERIAL_8250
143 help
144 If you wish to use any non-standard features of the standard "dumb"
145 driver, say Y here. This includes HUB6 support, shared serial
146 interrupts, special multiport support, support for more than the
147 four COM 1/2/3/4 boards, etc.
148
149 Note that the answer to this question won't directly affect the
150 kernel: saying N will just cause the configurator to skip all
151 the questions about serial driver options. If unsure, say N.
152
153config SERIAL_8250_MANY_PORTS
154 bool "Support more than 4 legacy serial ports"
155 depends on SERIAL_8250_EXTENDED && !IA64
156 help
157 Say Y here if you have dumb serial boards other than the four
158 standard COM 1/2/3/4 ports. This may happen if you have an AST
159 FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available
160 from <http://www.tldp.org/docs.html#howto>), or other custom
161 serial port hardware which acts similar to standard serial port
162 hardware. If you only use the standard COM 1/2/3/4 ports, you can
163 say N here to save some memory. You can also say Y if you have an
164 "intelligent" multiport card such as Cyclades, Digiboards, etc.
165
Russell Kingec9f47c2005-06-27 11:12:54 +0100166#
167# Multi-port serial cards
168#
169
170config SERIAL_8250_FOURPORT
171 tristate "Support Fourport cards"
172 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
173 help
174 Say Y here if you have an AST FourPort serial board.
175
176 To compile this driver as a module, choose M here: the module
177 will be called 8250_fourport.
178
179config SERIAL_8250_ACCENT
180 tristate "Support Accent cards"
181 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
182 help
183 Say Y here if you have an Accent Async serial board.
184
185 To compile this driver as a module, choose M here: the module
186 will be called 8250_accent.
187
Russell Kingec9f47c2005-06-27 11:12:54 +0100188config SERIAL_8250_BOCA
189 tristate "Support Boca cards"
190 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
191 help
192 Say Y here if you have a Boca serial board. Please read the Boca
Matt LaPlante09509602006-10-03 22:31:37 +0200193 mini-HOWTO, available from <http://www.tldp.org/docs.html#howto>
Russell Kingec9f47c2005-06-27 11:12:54 +0100194
195 To compile this driver as a module, choose M here: the module
196 will be called 8250_boca.
197
Paul B Schroedere0980da2006-12-06 20:37:03 -0800198config SERIAL_8250_EXAR_ST16C554
199 tristate "Support Exar ST16C554/554D Quad UART"
200 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
201 help
202 The Uplogix Envoy TU301 uses this Exar Quad UART. If you are
203 tinkering with your Envoy TU301, or have a machine with this UART,
204 say Y here.
205
206 To compile this driver as a module, choose M here: the module
207 will be called 8250_exar_st16c554.
208
Russell Kingec9f47c2005-06-27 11:12:54 +0100209config SERIAL_8250_HUB6
210 tristate "Support Hub6 cards"
211 depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
212 help
213 Say Y here if you have a HUB6 serial board.
214
215 To compile this driver as a module, choose M here: the module
216 will be called 8250_hub6.
217
Don Mullisbf4735a2006-12-10 02:18:37 -0800218config SERIAL_8250_SHARE_IRQ
219 bool "Support for sharing serial interrupts"
220 depends on SERIAL_8250_EXTENDED
221 help
222 Some serial boards have hardware support which allows multiple dumb
223 serial ports on the same board to share a single IRQ. To enable
224 support for this in the serial driver, say Y here.
225
226config SERIAL_8250_DETECT_IRQ
227 bool "Autodetect IRQ on standard ports (unsafe)"
228 depends on SERIAL_8250_EXTENDED
229 help
230 Say Y here if you want the kernel to try to guess which IRQ
231 to use for your serial port.
232
233 This is considered unsafe; it is far better to configure the IRQ in
234 a boot script using the setserial command.
235
236 If unsure, say N.
237
238config SERIAL_8250_RSA
239 bool "Support RSA serial ports"
240 depends on SERIAL_8250_EXTENDED
241 help
242 ::: To be written :::
243
Russell Kingec9f47c2005-06-27 11:12:54 +0100244config SERIAL_8250_MCA
245 tristate "Support 8250-type ports on MCA buses"
246 depends on SERIAL_8250 != n && MCA
247 help
248 Say Y here if you have a MCA serial ports.
249
250 To compile this driver as a module, choose M here: the module
251 will be called 8250_mca.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700252
253config SERIAL_8250_ACORN
254 tristate "Acorn expansion card serial port support"
Russell Kingec9f47c2005-06-27 11:12:54 +0100255 depends on ARCH_ACORN && SERIAL_8250
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256 help
257 If you have an Atomwide Serial card or Serial Port card for an Acorn
258 system, say Y to this option. The driver can handle 1, 2, or 3 port
259 cards. If unsure, say N.
260
Pantelis Antoniou21c614a2005-11-06 09:07:03 +0000261config SERIAL_8250_AU1X00
Sergei Shtylyov6e766452008-04-04 00:02:53 +0400262 bool "Au1x00 serial port support"
Pantelis Antoniou21c614a2005-11-06 09:07:03 +0000263 depends on SERIAL_8250 != n && SOC_AU1X00
264 help
Sergei Shtylyov6e766452008-04-04 00:02:53 +0400265 If you have an Au1x00 SOC based board and want to use the serial port,
266 say Y to this option. The driver can handle up to 4 serial ports,
267 depending on the SOC. If unsure, say N.
Pantelis Antoniou21c614a2005-11-06 09:07:03 +0000268
Thomas Koellerbd71c182007-05-06 14:48:47 -0700269config SERIAL_8250_RM9K
270 bool "Support for MIPS RM9xxx integrated serial port"
271 depends on SERIAL_8250 != n && SERIAL_RM9000
272 select SERIAL_8250_SHARE_IRQ
273 help
274 Selecting this option will add support for the integrated serial
275 port hardware found on MIPS RM9122 and similar processors.
276 If unsure, say N.
277
Russell Kingec9f47c2005-06-27 11:12:54 +0100278comment "Non-8250 serial port support"
279
Linus Torvalds1da177e2005-04-16 15:20:36 -0700280config SERIAL_AMBA_PL010
281 tristate "ARM AMBA PL010 serial port support"
Al Viro84b6a232005-08-23 22:46:16 +0100282 depends on ARM_AMBA && (BROKEN || !ARCH_VERSATILE)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700283 select SERIAL_CORE
284 help
285 This selects the ARM(R) AMBA(R) PrimeCell PL010 UART. If you have
Lennert Buytenhek00584712007-02-05 16:10:22 -0800286 an Integrator/AP or Integrator/PP2 platform, or if you have a
287 Cirrus Logic EP93xx CPU, say Y or M here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288
289 If unsure, say N.
290
291config SERIAL_AMBA_PL010_CONSOLE
292 bool "Support for console on AMBA serial port"
293 depends on SERIAL_AMBA_PL010=y
294 select SERIAL_CORE_CONSOLE
295 ---help---
296 Say Y here if you wish to use an AMBA PrimeCell UART as the system
297 console (the system console is the device which receives all kernel
298 messages and warnings and which allows logins in single user mode).
299
300 Even if you say Y here, the currently visible framebuffer console
301 (/dev/tty0) will still be used as the system console by default, but
302 you can alter that using a kernel command line option such as
303 "console=ttyAM0". (Try "man bootparam" or see the documentation of
304 your boot loader (lilo or loadlin) about how to pass options to the
305 kernel at boot time.)
306
307config SERIAL_AMBA_PL011
308 tristate "ARM AMBA PL011 serial port support"
309 depends on ARM_AMBA
310 select SERIAL_CORE
311 help
312 This selects the ARM(R) AMBA(R) PrimeCell PL011 UART. If you have
313 an Integrator/PP2, Integrator/CP or Versatile platform, say Y or M
314 here.
315
316 If unsure, say N.
317
318config SERIAL_AMBA_PL011_CONSOLE
319 bool "Support for console on AMBA serial port"
320 depends on SERIAL_AMBA_PL011=y
321 select SERIAL_CORE_CONSOLE
322 ---help---
323 Say Y here if you wish to use an AMBA PrimeCell UART as the system
324 console (the system console is the device which receives all kernel
325 messages and warnings and which allows logins in single user mode).
326
327 Even if you say Y here, the currently visible framebuffer console
328 (/dev/tty0) will still be used as the system console by default, but
329 you can alter that using a kernel command line option such as
Peter Korsgaardb22b4cd2006-09-29 02:00:23 -0700330 "console=ttyAMA0". (Try "man bootparam" or see the documentation of
Linus Torvalds1da177e2005-04-16 15:20:36 -0700331 your boot loader (lilo or loadlin) about how to pass options to the
332 kernel at boot time.)
333
Maciej W. Rozyckib45d5272007-07-17 04:03:50 -0700334config SERIAL_SB1250_DUART
335 tristate "BCM1xxx on-chip DUART serial support"
336 depends on SIBYTE_SB1xxx_SOC=y
337 select SERIAL_CORE
338 default y
339 ---help---
340 Support for the asynchronous serial interface (DUART) included in
341 the BCM1250 and derived System-On-a-Chip (SOC) devices. Note that
342 the letter D in DUART stands for "dual", which is how the device
343 is implemented. Depending on the SOC configuration there may be
344 one or more DUARTs available of which all are handled.
345
346 If unsure, say Y. To compile this driver as a module, choose M here:
347 the module will be called sb1250-duart.
348
349config SERIAL_SB1250_DUART_CONSOLE
350 bool "Support for console on a BCM1xxx DUART serial port"
351 depends on SERIAL_SB1250_DUART=y
352 select SERIAL_CORE_CONSOLE
353 default y
354 ---help---
355 If you say Y here, it will be possible to use a serial port as the
356 system console (the system console is the device which receives all
357 kernel messages and warnings and which allows logins in single user
358 mode).
359
360 If unsure, say Y.
361
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200362config SERIAL_ATMEL
363 bool "AT91 / AT32 on-chip serial port support"
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200364 depends on (ARM && ARCH_AT91) || AVR32
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000365 select SERIAL_CORE
366 help
Andrew Victorafefc412006-06-19 19:53:19 +0100367 This enables the driver for the on-chip UARTs of the Atmel
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200368 AT91 and AT32 processors.
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000369
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200370config SERIAL_ATMEL_CONSOLE
371 bool "Support for console on AT91 / AT32 serial port"
372 depends on SERIAL_ATMEL=y
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000373 select SERIAL_CORE_CONSOLE
374 help
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200375 Say Y here if you wish to use an on-chip UART on a Atmel
376 AT91 or AT32 processor as the system console (the system
377 console is the device which receives all kernel messages and
378 warnings and which allows logins in single user mode).
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000379
Chip Coldwella6670612008-02-08 04:21:06 -0800380config SERIAL_ATMEL_PDC
381 bool "Support DMA transfers on AT91 / AT32 serial port"
382 depends on SERIAL_ATMEL
383 default y
384 help
385 Say Y here if you wish to use the PDC to do DMA transfers to
386 and from the Atmel AT91 / AT32 serial port. In order to
387 actually use DMA transfers, make sure that the use_dma_tx
388 and use_dma_rx members in the atmel_uart_data struct is set
389 appropriately for each port.
390
391 Note that break and error handling currently doesn't work
392 properly when DMA is enabled. Make sure that ports where
393 this matters don't use DMA.
394
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200395config SERIAL_ATMEL_TTYAT
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200396 bool "Install as device ttyATn instead of ttySn"
Haavard Skinnemoen749c4e62006-10-04 16:02:02 +0200397 depends on SERIAL_ATMEL=y
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000398 help
Haavard Skinnemoenacca9b82006-10-04 16:02:09 +0200399 Say Y here if you wish to have the internal AT91 / AT32 UARTs
400 appear as /dev/ttyATn (major 204, minor starting at 154)
401 instead of the normal /dev/ttySn (major 4, minor starting at
402 64). This is necessary if you also want other UARTs, such as
403 external 8250/16C550 compatible UARTs.
Andrew Victor1e6c9c22006-01-10 16:59:27 +0000404 The ttySn nodes are legally reserved for the 8250 serial driver
405 but are often misused by other serial drivers.
406
407 To use this, you should create suitable ttyATn device nodes in
408 /dev/, and pass "console=ttyATn" to the kernel.
409
410 Say Y if you have an external 8250/16C550 UART. If unsure, say N.
411
Andrew Victor2c7ee6a2007-05-11 21:37:25 +0100412config SERIAL_KS8695
413 bool "Micrel KS8695 (Centaur) serial port support"
414 depends on ARCH_KS8695
415 select SERIAL_CORE
416 help
417 This selects the Micrel Centaur KS8695 UART. Say Y here.
418
419config SERIAL_KS8695_CONSOLE
420 bool "Support for console on KS8695 (Centaur) serial port"
421 depends on SERIAL_KS8695=y
422 select SERIAL_CORE_CONSOLE
423 help
424 Say Y here if you wish to use a KS8695 (Centaur) UART as the
425 system console (the system console is the device which
426 receives all kernel messages and warnings and which allows
427 logins in single user mode).
428
Linus Torvalds1da177e2005-04-16 15:20:36 -0700429config SERIAL_CLPS711X
430 tristate "CLPS711X serial port support"
431 depends on ARM && ARCH_CLPS711X
432 select SERIAL_CORE
433 help
434 ::: To be written :::
435
436config SERIAL_CLPS711X_CONSOLE
437 bool "Support for console on CLPS711X serial port"
438 depends on SERIAL_CLPS711X=y
439 select SERIAL_CORE_CONSOLE
440 help
441 Even if you say Y here, the currently visible virtual console
442 (/dev/tty0) will still be used as the system console by default, but
443 you can alter that using a kernel command line option such as
444 "console=ttyCL1". (Try "man bootparam" or see the documentation of
445 your boot loader (lilo or loadlin) about how to pass options to the
446 kernel at boot time.)
447
Ben Dooksb4975492008-07-03 12:32:51 +0100448config SERIAL_SAMSUNG
449 tristate "Samsung SoC serial support"
Ben Dooksb690ace2008-10-21 14:07:03 +0100450 depends on ARM && PLAT_S3C
Arnaud Patard (Rtp19c1d6a2008-07-08 01:03:46 +0200451 select SERIAL_CORE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700452 help
Ben Dooks73e55cb2006-06-24 21:21:32 +0100453 Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700454 providing /dev/ttySAC0, 1 and 2 (note, some machines may not
455 provide all of these ports, depending on how the serial port
456 pins are configured.
457
Ben Dooks03d5e772008-11-03 09:21:23 +0000458config SERIAL_SAMSUNG_UARTS
459 int
Ben Dooks2fafae32009-01-08 13:21:17 +0000460 depends on ARM && PLAT_S3C
Ben Dooks03d5e772008-11-03 09:21:23 +0000461 default 2 if ARCH_S3C2400
462 default 4 if ARCH_S3C64XX || CPU_S3C2443
463 default 3
464 help
465 Select the number of available UART ports for the Samsung S3C
466 serial driver
467
Ben Dooksb4975492008-07-03 12:32:51 +0100468config SERIAL_SAMSUNG_DEBUG
469 bool "Samsung SoC serial debug"
Ben Dooks5fed4a32008-10-16 16:46:08 +0100470 depends on SERIAL_SAMSUNG && DEBUG_LL
Ben Dooksb4975492008-07-03 12:32:51 +0100471 help
472 Add support for debugging the serial driver. Since this is
473 generally being used as a console, we use our own output
474 routines that go via the low-level debug printascii()
475 function.
Ben Dooks73e55cb2006-06-24 21:21:32 +0100476
Ben Dooksb4975492008-07-03 12:32:51 +0100477config SERIAL_SAMSUNG_CONSOLE
478 bool "Support for console on Samsung SoC serial port"
479 depends on SERIAL_SAMSUNG=y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700480 select SERIAL_CORE_CONSOLE
481 help
Ben Dooks73e55cb2006-06-24 21:21:32 +0100482 Allow selection of the S3C24XX on-board serial ports for use as
Linus Torvalds1da177e2005-04-16 15:20:36 -0700483 an virtual console.
484
485 Even if you say Y here, the currently visible virtual console
486 (/dev/tty0) will still be used as the system console by default, but
487 you can alter that using a kernel command line option such as
488 "console=ttySACx". (Try "man bootparam" or see the documentation of
489 your boot loader about how to pass options to the kernel at
490 boot time.)
491
Ben Dooksb4975492008-07-03 12:32:51 +0100492config SERIAL_S3C2400
493 tristate "Samsung S3C2410 Serial port support"
494 depends on ARM && SERIAL_SAMSUNG && CPU_S3C2400
495 default y if CPU_S3C2400
496 help
497 Serial port support for the Samsung S3C2400 SoC
498
499config SERIAL_S3C2410
500 tristate "Samsung S3C2410 Serial port support"
501 depends on SERIAL_SAMSUNG && CPU_S3C2410
502 default y if CPU_S3C2410
503 help
504 Serial port support for the Samsung S3C2410 SoC
505
506config SERIAL_S3C2412
507 tristate "Samsung S3C2412/S3C2413 Serial port support"
508 depends on SERIAL_SAMSUNG && CPU_S3C2412
509 default y if CPU_S3C2412
510 help
511 Serial port support for the Samsung S3C2412 and S3C2413 SoC
512
513config SERIAL_S3C2440
514 tristate "Samsung S3C2440/S3C2442 Serial port support"
515 depends on SERIAL_SAMSUNG && (CPU_S3C2440 || CPU_S3C2442)
516 default y if CPU_S3C2440
517 default y if CPU_S3C2442
518 help
519 Serial port support for the Samsung S3C2440 and S3C2442 SoC
520
Sandeep Patil1d4bab02008-10-21 14:06:30 +0100521config SERIAL_S3C24A0
522 tristate "Samsung S3C24A0 Serial port support"
523 depends on SERIAL_SAMSUNG && CPU_S3C24A0
524 default y if CPU_S3C24A0
525 help
526 Serial port support for the Samsung S3C24A0 SoC
Ben Dooksb4975492008-07-03 12:32:51 +0100527
Ben Dooksb690ace2008-10-21 14:07:03 +0100528config SERIAL_S3C6400
529 tristate "Samsung S3C6400/S3C6410 Serial port support"
530 depends on SERIAL_SAMSUNG && (CPU_S3C600 || CPU_S3C6410)
531 default y
532 help
533 Serial port support for the Samsung S3C6400 and S3C6410
534 SoCs
535
Christian Pellegrin1dcb8842009-04-07 16:48:51 +0100536config SERIAL_MAX3100
537 tristate "MAX3100 support"
538 depends on SPI
539 select SERIAL_CORE
540 help
541 MAX3100 chip support
542
Linus Torvalds1da177e2005-04-16 15:20:36 -0700543config SERIAL_DZ
544 bool "DECstation DZ serial driver"
Ralf Baechle875d43e2005-09-03 15:56:16 -0700545 depends on MACH_DECSTATION && 32BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700546 select SERIAL_CORE
Maciej W. Rozycki7287d762008-02-07 00:15:09 -0800547 default y
548 ---help---
549 DZ11-family serial controllers for DECstations and VAXstations,
550 including the DC7085, M7814, and M7819.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700551
552config SERIAL_DZ_CONSOLE
553 bool "Support console on DECstation DZ serial driver"
554 depends on SERIAL_DZ=y
555 select SERIAL_CORE_CONSOLE
Maciej W. Rozycki7287d762008-02-07 00:15:09 -0800556 default y
557 ---help---
Linus Torvalds1da177e2005-04-16 15:20:36 -0700558 If you say Y here, it will be possible to use a serial port as the
559 system console (the system console is the device which receives all
560 kernel messages and warnings and which allows logins in single user
Maciej W. Rozycki7287d762008-02-07 00:15:09 -0800561 mode).
562
563 Note that the firmware uses ttyS3 as the serial console on
564 DECstations that use this driver.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700565
566 If unsure, say Y.
567
Maciej W. Rozycki8b4a4082007-07-18 00:49:11 -0700568config SERIAL_ZS
569 tristate "DECstation Z85C30 serial support"
570 depends on MACH_DECSTATION
571 select SERIAL_CORE
572 default y
573 ---help---
574 Support for the Zilog 85C350 serial communications controller used
575 for serial ports in newer DECstation systems. These include the
576 DECsystem 5900 and all models of the DECstation and DECsystem 5000
577 systems except from model 200.
578
579 If unsure, say Y. To compile this driver as a module, choose M here:
580 the module will be called zs.
581
582config SERIAL_ZS_CONSOLE
583 bool "Support for console on a DECstation Z85C30 serial port"
584 depends on SERIAL_ZS=y
585 select SERIAL_CORE_CONSOLE
586 default y
587 ---help---
588 If you say Y here, it will be possible to use a serial port as the
589 system console (the system console is the device which receives all
590 kernel messages and warnings and which allows logins in single user
591 mode).
592
593 Note that the firmware uses ttyS1 as the serial console on the
594 Maxine and ttyS3 on the others using this driver.
595
596 If unsure, say Y.
597
Linus Torvalds1da177e2005-04-16 15:20:36 -0700598config SERIAL_21285
599 tristate "DC21285 serial port support"
600 depends on ARM && FOOTBRIDGE
601 select SERIAL_CORE
602 help
603 If you have a machine based on a 21285 (Footbridge) StrongARM(R)/
604 PCI bridge you can enable its onboard serial port by enabling this
605 option.
606
607config SERIAL_21285_CONSOLE
608 bool "Console on DC21285 serial port"
609 depends on SERIAL_21285=y
610 select SERIAL_CORE_CONSOLE
611 help
612 If you have enabled the serial port on the 21285 footbridge you can
613 make it the console by answering Y to this option.
614
615 Even if you say Y here, the currently visible virtual console
616 (/dev/tty0) will still be used as the system console by default, but
617 you can alter that using a kernel command line option such as
618 "console=ttyFB". (Try "man bootparam" or see the documentation of
619 your boot loader (lilo or loadlin) about how to pass options to the
620 kernel at boot time.)
621
Linus Torvalds1da177e2005-04-16 15:20:36 -0700622config SERIAL_MPSC
623 bool "Marvell MPSC serial port support"
624 depends on PPC32 && MV64X60
625 select SERIAL_CORE
626 help
627 Say Y here if you want to use the Marvell MPSC serial controller.
628
629config SERIAL_MPSC_CONSOLE
630 bool "Support for console on Marvell MPSC serial port"
631 depends on SERIAL_MPSC
632 select SERIAL_CORE_CONSOLE
633 help
634 Say Y here if you want to support a serial console on a Marvell MPSC.
635
636config SERIAL_PXA
637 bool "PXA serial port support"
Eric Miao56422552009-02-05 13:42:47 +0800638 depends on ARCH_PXA || ARCH_MMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700639 select SERIAL_CORE
640 help
641 If you have a machine based on an Intel XScale PXA2xx CPU you
642 can enable its onboard serial ports by enabling this option.
643
644config SERIAL_PXA_CONSOLE
645 bool "Console on PXA serial port"
646 depends on SERIAL_PXA
647 select SERIAL_CORE_CONSOLE
648 help
649 If you have enabled the serial port on the Intel XScale PXA
650 CPU you can make it the console by answering Y to this option.
651
652 Even if you say Y here, the currently visible virtual console
653 (/dev/tty0) will still be used as the system console by default, but
654 you can alter that using a kernel command line option such as
655 "console=ttySA0". (Try "man bootparam" or see the documentation of
656 your boot loader (lilo or loadlin) about how to pass options to the
657 kernel at boot time.)
658
659config SERIAL_SA1100
660 bool "SA1100 serial port support"
661 depends on ARM && ARCH_SA1100
662 select SERIAL_CORE
663 help
664 If you have a machine based on a SA1100/SA1110 StrongARM(R) CPU you
665 can enable its onboard serial port by enabling this option.
666 Please read <file:Documentation/arm/SA1100/serial_UART> for further
667 info.
668
669config SERIAL_SA1100_CONSOLE
670 bool "Console on SA1100 serial port"
671 depends on SERIAL_SA1100
672 select SERIAL_CORE_CONSOLE
673 help
674 If you have enabled the serial port on the SA1100/SA1110 StrongARM
675 CPU you can make it the console by answering Y to this option.
676
677 Even if you say Y here, the currently visible virtual console
678 (/dev/tty0) will still be used as the system console by default, but
679 you can alter that using a kernel command line option such as
680 "console=ttySA0". (Try "man bootparam" or see the documentation of
681 your boot loader (lilo or loadlin) about how to pass options to the
682 kernel at boot time.)
683
Bryan Wu194de562007-05-06 14:50:30 -0700684config SERIAL_BFIN
685 tristate "Blackfin serial port support"
Mike Frysinger529a73f2007-11-23 14:28:44 +0800686 depends on BLACKFIN
Bryan Wu194de562007-05-06 14:50:30 -0700687 select SERIAL_CORE
688 select SERIAL_BFIN_UART0 if (BF531 || BF532 || BF533 || BF561)
689 help
690 Add support for the built-in UARTs on the Blackfin.
691
692 To compile this driver as a module, choose M here: the
693 module will be called bfin_5xx.
694
695config SERIAL_BFIN_CONSOLE
696 bool "Console on Blackfin serial port"
Adrian Bunk7111de72007-09-11 15:24:13 -0700697 depends on SERIAL_BFIN=y
Bryan Wu194de562007-05-06 14:50:30 -0700698 select SERIAL_CORE_CONSOLE
699
700choice
701 prompt "UART Mode"
702 depends on SERIAL_BFIN
703 default SERIAL_BFIN_DMA
704 help
705 This driver supports the built-in serial ports of the Blackfin family
706 of CPUs
707
708config SERIAL_BFIN_DMA
709 bool "DMA mode"
Mike Frysinger51a23012009-04-07 16:52:49 +0100710 depends on !DMA_UNCACHED_NONE && KGDB_SERIAL_CONSOLE=n
Bryan Wu194de562007-05-06 14:50:30 -0700711 help
712 This driver works under DMA mode. If this option is selected, the
713 blackfin simple dma driver is also enabled.
714
715config SERIAL_BFIN_PIO
716 bool "PIO mode"
717 help
718 This driver works under PIO mode.
719
720endchoice
721
722config SERIAL_BFIN_UART0
723 bool "Enable UART0"
724 depends on SERIAL_BFIN
725 help
726 Enable UART0
727
728config BFIN_UART0_CTSRTS
729 bool "Enable UART0 hardware flow control"
730 depends on SERIAL_BFIN_UART0
731 help
732 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
733 signal.
734
735config UART0_CTS_PIN
736 int "UART0 CTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100737 depends on BFIN_UART0_CTSRTS && !BF548
Bryan Wu194de562007-05-06 14:50:30 -0700738 default 23
739 help
740 The default pin is GPIO_GP7.
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100741 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Bryan Wu194de562007-05-06 14:50:30 -0700742
743config UART0_RTS_PIN
744 int "UART0 RTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100745 depends on BFIN_UART0_CTSRTS && !BF548
Bryan Wu194de562007-05-06 14:50:30 -0700746 default 22
747 help
748 The default pin is GPIO_GP6.
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100749 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Bryan Wu194de562007-05-06 14:50:30 -0700750
751config SERIAL_BFIN_UART1
752 bool "Enable UART1"
Michael Hennerich09545562008-02-02 15:58:30 +0800753 depends on SERIAL_BFIN && (!BF531 && !BF532 && !BF533 && !BF561)
Bryan Wu194de562007-05-06 14:50:30 -0700754 help
755 Enable UART1
756
757config BFIN_UART1_CTSRTS
758 bool "Enable UART1 hardware flow control"
759 depends on SERIAL_BFIN_UART1
760 help
761 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
762 signal.
763
764config UART1_CTS_PIN
765 int "UART1 CTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100766 depends on BFIN_UART1_CTSRTS && !BF548
Bryan Wu194de562007-05-06 14:50:30 -0700767 default -1
768 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100769 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Bryan Wu194de562007-05-06 14:50:30 -0700770
771config UART1_RTS_PIN
772 int "UART1 RTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100773 depends on BFIN_UART1_CTSRTS && !BF548
Bryan Wu194de562007-05-06 14:50:30 -0700774 default -1
775 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100776 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Bryan Wu194de562007-05-06 14:50:30 -0700777
Roy Huangf4d640c92007-07-12 16:43:46 +0800778config SERIAL_BFIN_UART2
779 bool "Enable UART2"
Michael Hennerichf933d3c2009-04-06 17:32:21 +0100780 depends on SERIAL_BFIN && (BF54x || BF538 || BF539)
Roy Huangf4d640c92007-07-12 16:43:46 +0800781 help
782 Enable UART2
783
784config BFIN_UART2_CTSRTS
785 bool "Enable UART2 hardware flow control"
786 depends on SERIAL_BFIN_UART2
787 help
788 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
789 signal.
790
791config UART2_CTS_PIN
792 int "UART2 CTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100793 depends on BFIN_UART2_CTSRTS && !BF548
Roy Huangf4d640c92007-07-12 16:43:46 +0800794 default -1
795 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100796 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Roy Huangf4d640c92007-07-12 16:43:46 +0800797
798config UART2_RTS_PIN
799 int "UART2 RTS pin"
Sonic Zhangd307d362009-04-07 16:52:26 +0100800 depends on BFIN_UART2_CTSRTS && !BF548
Roy Huangf4d640c92007-07-12 16:43:46 +0800801 default -1
802 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100803 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Roy Huangf4d640c92007-07-12 16:43:46 +0800804
805config SERIAL_BFIN_UART3
806 bool "Enable UART3"
807 depends on SERIAL_BFIN && (BF54x)
808 help
809 Enable UART3
810
811config BFIN_UART3_CTSRTS
812 bool "Enable UART3 hardware flow control"
813 depends on SERIAL_BFIN_UART3
814 help
815 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
816 signal.
817
Sonic Zhangd307d362009-04-07 16:52:26 +0100818config UART3_CTS_PIN
819 int "UART3 CTS pin"
820 depends on BFIN_UART3_CTSRTS && !BF548
821 default -1
822 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100823 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Sonic Zhangd307d362009-04-07 16:52:26 +0100824
825config UART3_RTS_PIN
826 int "UART3 RTS pin"
827 depends on BFIN_UART3_CTSRTS && !BF548
828 default -1
829 help
Mike Frysinger78d67b4042009-04-07 16:53:11 +0100830 Refer to arch/blackfin/mach-*/include/mach/gpio.h to see the GPIO map.
Sonic Zhangd307d362009-04-07 16:52:26 +0100831
Linus Torvalds1da177e2005-04-16 15:20:36 -0700832config SERIAL_IMX
833 bool "IMX serial port support"
Sascha Hauere3d13ff2008-07-05 10:02:48 +0200834 depends on ARM && (ARCH_IMX || ARCH_MXC)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700835 select SERIAL_CORE
836 help
837 If you have a machine based on a Motorola IMX CPU you
838 can enable its onboard serial port by enabling this option.
839
840config SERIAL_IMX_CONSOLE
841 bool "Console on IMX serial port"
842 depends on SERIAL_IMX
843 select SERIAL_CORE_CONSOLE
844 help
845 If you have enabled the serial port on the Motorola IMX
846 CPU you can make it the console by answering Y to this option.
847
848 Even if you say Y here, the currently visible virtual console
849 (/dev/tty0) will still be used as the system console by default, but
850 you can alter that using a kernel command line option such as
851 "console=ttySA0". (Try "man bootparam" or see the documentation of
852 your boot loader (lilo or loadlin) about how to pass options to the
853 kernel at boot time.)
854
Peter Korsgaard238b8722006-12-06 20:35:17 -0800855config SERIAL_UARTLITE
856 tristate "Xilinx uartlite serial port support"
Michal Simek4286c2b2009-03-27 14:25:51 +0100857 depends on PPC32 || MICROBLAZE
Peter Korsgaard238b8722006-12-06 20:35:17 -0800858 select SERIAL_CORE
859 help
860 Say Y here if you want to use the Xilinx uartlite serial controller.
861
862 To compile this driver as a module, choose M here: the
863 module will be called uartlite.ko.
864
865config SERIAL_UARTLITE_CONSOLE
866 bool "Support for console on Xilinx uartlite serial port"
867 depends on SERIAL_UARTLITE=y
868 select SERIAL_CORE_CONSOLE
869 help
870 Say Y here if you wish to use a Xilinx uartlite as the system
871 console (the system console is the device which receives all kernel
872 messages and warnings and which allows logins in single user mode).
873
Linus Torvalds1da177e2005-04-16 15:20:36 -0700874config SERIAL_SUNCORE
875 bool
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800876 depends on SPARC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700877 select SERIAL_CORE
878 select SERIAL_CORE_CONSOLE
879 default y
880
881config SERIAL_SUNZILOG
882 tristate "Sun Zilog8530 serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800883 depends on SPARC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700884 help
885 This driver supports the Zilog8530 serial ports found on many Sparc
886 systems. Say Y or M if you want to be able to these serial ports.
887
888config SERIAL_SUNZILOG_CONSOLE
889 bool "Console on Sun Zilog8530 serial port"
890 depends on SERIAL_SUNZILOG=y
891 help
892 If you would like to be able to use the Zilog8530 serial port
893 on your Sparc system as the console, you can do so by answering
894 Y to this option.
895
896config SERIAL_SUNSU
897 tristate "Sun SU serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800898 depends on SPARC && PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700899 help
900 This driver supports the 8250 serial ports that run the keyboard and
901 mouse on (PCI) UltraSPARC systems. Say Y or M if you want to be able
902 to these serial ports.
903
904config SERIAL_SUNSU_CONSOLE
905 bool "Console on Sun SU serial port"
906 depends on SERIAL_SUNSU=y
907 help
908 If you would like to be able to use the SU serial port
909 on your Sparc system as the console, you can do so by answering
910 Y to this option.
911
912config SERIAL_MUX
913 tristate "Serial MUX support"
Matthew Wilcox305f5162005-11-18 16:17:50 -0500914 depends on GSC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700915 select SERIAL_CORE
916 default y
917 ---help---
918 Saying Y here will enable the hardware MUX serial driver for
Carlos O'Donelle45da352006-09-16 14:35:51 -0400919 the Nova, K class systems and D class with a 'remote control card'.
920 The hardware MUX is not 8250/16550 compatible therefore the
921 /dev/ttyB0 device is shared between the Serial MUX and the PDC
922 software console. The following steps need to be completed to use
923 the Serial MUX:
Linus Torvalds1da177e2005-04-16 15:20:36 -0700924
925 1. create the device entry (mknod /dev/ttyB0 c 11 0)
926 2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
927 3. Add device ttyB0 to /etc/securetty (if you want to log on as
928 root on this console.)
929 4. Change the kernel command console parameter to: console=ttyB0
930
931config SERIAL_MUX_CONSOLE
Adrian Bunk7111de72007-09-11 15:24:13 -0700932 bool "Support for console on serial MUX"
933 depends on SERIAL_MUX=y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700934 select SERIAL_CORE_CONSOLE
Adrian Bunk7111de72007-09-11 15:24:13 -0700935 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700936
937config PDC_CONSOLE
938 bool "PDC software console support"
939 depends on PARISC && !SERIAL_MUX && VT
940 default n
941 help
942 Saying Y here will enable the software based PDC console to be
943 used as the system console. This is useful for machines in
944 which the hardware based console has not been written yet. The
945 following steps must be competed to use the PDC console:
946
947 1. create the device entry (mknod /dev/ttyB0 c 11 0)
948 2. Edit the /etc/inittab to start a getty listening on /dev/ttyB0
949 3. Add device ttyB0 to /etc/securetty (if you want to log on as
950 root on this console.)
951 4. Change the kernel command console parameter to: console=ttyB0
952
953config SERIAL_SUNSAB
954 tristate "Sun Siemens SAB82532 serial support"
Adrian Bunk0b57ee92005-12-22 21:03:47 -0800955 depends on SPARC && PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700956 help
957 This driver supports the Siemens SAB82532 DUSCC serial ports on newer
958 (PCI) UltraSPARC systems. Say Y or M if you want to be able to these
959 serial ports.
960
961config SERIAL_SUNSAB_CONSOLE
962 bool "Console on Sun Siemens SAB82532 serial port"
963 depends on SERIAL_SUNSAB=y
964 help
965 If you would like to be able to use the SAB82532 serial port
966 on your Sparc system as the console, you can do so by answering
967 Y to this option.
968
David S. Miller02fd4732006-02-11 02:25:21 -0800969config SERIAL_SUNHV
970 bool "Sun4v Hypervisor Console support"
971 depends on SPARC64
972 help
973 This driver supports the console device found on SUN4V Sparc
974 systems. Say Y if you want to be able to use this device.
975
Linus Torvalds1da177e2005-04-16 15:20:36 -0700976config SERIAL_IP22_ZILOG
Thomas Bogendoerfer5057c982008-02-06 01:37:26 -0800977 tristate "SGI Zilog8530 serial support"
978 depends on SGI_HAS_ZILOG
Linus Torvalds1da177e2005-04-16 15:20:36 -0700979 select SERIAL_CORE
980 help
Thomas Bogendoerfer5057c982008-02-06 01:37:26 -0800981 This driver supports the Zilog8530 serial ports found on SGI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700982 systems. Say Y or M if you want to be able to these serial ports.
983
984config SERIAL_IP22_ZILOG_CONSOLE
Thomas Bogendoerfer5057c982008-02-06 01:37:26 -0800985 bool "Console on SGI Zilog8530 serial port"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700986 depends on SERIAL_IP22_ZILOG=y
987 select SERIAL_CORE_CONSOLE
988
Linus Torvalds1da177e2005-04-16 15:20:36 -0700989config SERIAL_SH_SCI
Paul Mundtecd95612006-09-27 17:32:30 +0900990 tristate "SuperH SCI(F) serial port support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700991 depends on SUPERH || H8300
992 select SERIAL_CORE
993
Paul Mundtecd95612006-09-27 17:32:30 +0900994config SERIAL_SH_SCI_NR_UARTS
995 int "Maximum number of SCI(F) serial ports"
996 depends on SERIAL_SH_SCI
997 default "2"
998
Linus Torvalds1da177e2005-04-16 15:20:36 -0700999config SERIAL_SH_SCI_CONSOLE
Paul Mundtecd95612006-09-27 17:32:30 +09001000 bool "Support for console on SuperH SCI(F)"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001001 depends on SERIAL_SH_SCI=y
1002 select SERIAL_CORE_CONSOLE
1003
Vitaly Woolde8211b2007-02-14 00:33:09 -08001004config SERIAL_PNX8XXX
1005 bool "Enable PNX8XXX SoCs' UART Support"
Ihar Hrachyshka11455be2009-01-27 11:50:46 +00001006 depends on MIPS && (SOC_PNX8550 || SOC_PNX833X)
Vitaly Woolde8211b2007-02-14 00:33:09 -08001007 select SERIAL_CORE
1008 help
1009 If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
1010 and you want to use serial ports, say Y. Otherwise, say N.
1011
1012config SERIAL_PNX8XXX_CONSOLE
1013 bool "Enable PNX8XX0 serial console"
1014 depends on SERIAL_PNX8XXX
1015 select SERIAL_CORE_CONSOLE
1016 help
1017 If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330
1018 and you want to use serial console, say Y. Otherwise, say N.
1019
Linus Torvalds1da177e2005-04-16 15:20:36 -07001020config SERIAL_CORE
1021 tristate
1022
1023config SERIAL_CORE_CONSOLE
1024 bool
1025
Jason Wesself2d937f2008-04-17 20:05:37 +02001026config CONSOLE_POLL
1027 bool
1028
Linus Torvalds1da177e2005-04-16 15:20:36 -07001029config SERIAL_68328
1030 bool "68328 serial support"
1031 depends on M68328 || M68EZ328 || M68VZ328
1032 help
1033 This driver supports the built-in serial port of the Motorola 68328
Matt LaPlante09509602006-10-03 22:31:37 +02001034 (standard, EZ and VZ varieties).
Linus Torvalds1da177e2005-04-16 15:20:36 -07001035
1036config SERIAL_68328_RTS_CTS
1037 bool "Support RTS/CTS on 68328 serial port"
1038 depends on SERIAL_68328
1039
Greg Ungererae1b5f02008-02-01 17:32:00 +10001040config SERIAL_MCF
Adrian Bunk02f11f32008-10-13 10:31:59 +01001041 bool "Coldfire serial support"
Greg Ungererae1b5f02008-02-01 17:32:00 +10001042 depends on COLDFIRE
1043 select SERIAL_CORE
1044 help
Adrian Bunk02f11f32008-10-13 10:31:59 +01001045 This serial driver supports the Freescale Coldfire serial ports.
Greg Ungererae1b5f02008-02-01 17:32:00 +10001046
1047config SERIAL_MCF_BAUDRATE
1048 int "Default baudrate for Coldfire serial ports"
1049 depends on SERIAL_MCF
1050 default 19200
1051 help
1052 This setting lets you define what the default baudrate is for the
1053 ColdFire serial ports. The usual default varies from board to board,
1054 and this setting is a way of catering for that.
1055
1056config SERIAL_MCF_CONSOLE
1057 bool "Coldfire serial console support"
1058 depends on SERIAL_MCF
1059 select SERIAL_CORE_CONSOLE
1060 help
1061 Enable a ColdFire internal serial port to be the system console.
1062
Linus Torvalds1da177e2005-04-16 15:20:36 -07001063config SERIAL_68360_SMC
1064 bool "68360 SMC uart support"
1065 depends on M68360
1066 help
1067 This driver supports the SMC serial ports of the Motorola 68360 CPU.
1068
1069config SERIAL_68360_SCC
1070 bool "68360 SCC uart support"
1071 depends on M68360
1072 help
1073 This driver supports the SCC serial ports of the Motorola 68360 CPU.
1074
1075config SERIAL_68360
1076 bool
1077 depends on SERIAL_68360_SMC || SERIAL_68360_SCC
1078 default y
1079
1080config SERIAL_PMACZILOG
1081 tristate "PowerMac z85c30 ESCC support"
1082 depends on PPC_OF && PPC_PMAC
1083 select SERIAL_CORE
1084 help
1085 This driver supports the Zilog z85C30 serial ports found on
1086 PowerMac machines.
1087 Say Y or M if you want to be able to these serial ports.
1088
David Woodhousee4533b22007-04-05 00:19:43 +10001089config SERIAL_PMACZILOG_TTYS
1090 bool "Use ttySn device nodes for Zilog z85c30"
1091 depends on SERIAL_PMACZILOG
1092 help
1093 The pmac_zilog driver for the z85C30 chip on many powermacs
1094 historically used the device numbers for /dev/ttySn. The
1095 8250 serial port driver also uses these numbers, which means
1096 the two drivers being unable to coexist; you could not use
1097 both z85C30 and 8250 type ports at the same time.
1098
1099 If this option is not selected, the pmac_zilog driver will
1100 use the device numbers allocated for /dev/ttyPZn. This allows
1101 the pmac_zilog and 8250 drivers to co-exist, but may cause
1102 existing userspace setups to break. Programs that need to
1103 access the built-in serial ports on powermacs will need to
1104 be reconfigured to use /dev/ttyPZn instead of /dev/ttySn.
1105
1106 If you enable this option, any z85c30 ports in the system will
1107 be registered as ttyS0 onwards as in the past, and you will be
1108 unable to use the 8250 module for PCMCIA or other 16C550-style
1109 UARTs.
1110
1111 Say N unless you need the z85c30 ports on your powermac
1112 to appear as /dev/ttySn.
1113
Linus Torvalds1da177e2005-04-16 15:20:36 -07001114config SERIAL_PMACZILOG_CONSOLE
1115 bool "Console on PowerMac z85c30 serial port"
1116 depends on SERIAL_PMACZILOG=y
1117 select SERIAL_CORE_CONSOLE
1118 help
1119 If you would like to be able to use the z85c30 serial port
1120 on your PowerMac as the console, you can do so by answering
1121 Y to this option.
1122
1123config SERIAL_LH7A40X
1124 tristate "Sharp LH7A40X embedded UART support"
1125 depends on ARM && ARCH_LH7A40X
1126 select SERIAL_CORE
1127 help
1128 This enables support for the three on-board UARTs of the
1129 Sharp LH7A40X series CPUs. Choose Y or M.
1130
1131config SERIAL_LH7A40X_CONSOLE
1132 bool "Support for console on Sharp LH7A40X serial port"
1133 depends on SERIAL_LH7A40X=y
1134 select SERIAL_CORE_CONSOLE
1135 help
1136 Say Y here if you wish to use one of the serial ports as the
1137 system console--the system console is the device which
1138 receives all kernel messages and warnings and which allows
1139 logins in single user mode.
1140
1141 Even if you say Y here, the currently visible framebuffer console
1142 (/dev/tty0) will still be used as the default system console, but
1143 you can alter that using a kernel command line, for example
1144 "console=ttyAM1".
1145
1146config SERIAL_CPM
1147 tristate "CPM SCC/SMC serial port support"
1148 depends on CPM2 || 8xx
1149 select SERIAL_CORE
1150 help
1151 This driver supports the SCC and SMC serial ports on Motorola
1152 embedded PowerPC that contain a CPM1 (8xx) or CPM2 (8xxx)
1153
1154config SERIAL_CPM_CONSOLE
1155 bool "Support for console on CPM SCC/SMC serial port"
1156 depends on SERIAL_CPM=y
1157 select SERIAL_CORE_CONSOLE
1158 help
1159 Say Y here if you wish to use a SCC or SMC CPM UART as the system
1160 console (the system console is the device which receives all kernel
1161 messages and warnings and which allows logins in single user mode).
1162
1163 Even if you say Y here, the currently visible framebuffer console
1164 (/dev/tty0) will still be used as the system console by default, but
1165 you can alter that using a kernel command line option such as
1166 "console=ttyCPM0". (Try "man bootparam" or see the documentation of
1167 your boot loader (lilo or loadlin) about how to pass options to the
1168 kernel at boot time.)
1169
Linus Torvalds1da177e2005-04-16 15:20:36 -07001170config SERIAL_SGI_L1_CONSOLE
1171 bool "SGI Altix L1 serial console support"
1172 depends on IA64_GENERIC || IA64_SGI_SN2
1173 select SERIAL_CORE
1174 select SERIAL_CORE_CONSOLE
1175 help
1176 If you have an SGI Altix and you would like to use the system
1177 controller serial port as your console (you want this!),
1178 say Y. Otherwise, say N.
1179
1180config SERIAL_MPC52xx
John Rigby25ae3a02008-01-29 04:28:56 +11001181 tristate "Freescale MPC52xx/MPC512x family PSC serial support"
1182 depends on PPC_MPC52xx || PPC_MPC512x
Linus Torvalds1da177e2005-04-16 15:20:36 -07001183 select SERIAL_CORE
1184 help
John Rigby25ae3a02008-01-29 04:28:56 +11001185 This driver supports MPC52xx and MPC512x PSC serial ports. If you would
1186 like to use them, you must answer Y or M to this option. Note that
Linus Torvalds1da177e2005-04-16 15:20:36 -07001187 for use as console, it must be included in kernel and not as a
1188 module.
1189
1190config SERIAL_MPC52xx_CONSOLE
John Rigby25ae3a02008-01-29 04:28:56 +11001191 bool "Console on a Freescale MPC52xx/MPC512x family PSC serial port"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001192 depends on SERIAL_MPC52xx=y
1193 select SERIAL_CORE_CONSOLE
1194 help
1195 Select this options if you'd like to use one of the PSC serial port
1196 of the Freescale MPC52xx family as a console.
1197
1198config SERIAL_MPC52xx_CONSOLE_BAUD
John Rigby25ae3a02008-01-29 04:28:56 +11001199 int "Freescale MPC52xx/MPC512x family PSC serial port baud"
Linus Torvalds1da177e2005-04-16 15:20:36 -07001200 depends on SERIAL_MPC52xx_CONSOLE=y
1201 default "9600"
1202 help
1203 Select the MPC52xx console baud rate.
1204 This value is only used if the bootloader doesn't pass in the
1205 console baudrate
1206
1207config SERIAL_ICOM
1208 tristate "IBM Multiport Serial Adapter"
Stephen Rothwell145d01e2005-06-21 17:15:52 -07001209 depends on PCI && (PPC_ISERIES || PPC_PSERIES)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001210 select SERIAL_CORE
maximilian attemscb2fc532006-03-25 17:44:20 +00001211 select FW_LOADER
Linus Torvalds1da177e2005-04-16 15:20:36 -07001212 help
1213 This driver is for a family of multiport serial adapters
1214 including 2 port RVX, 2 port internal modem, 4 port internal
1215 modem and a split 1 port RVX and 1 port internal modem.
1216
1217 This driver can also be built as a module. If so, the module
1218 will be called icom.
1219
1220config SERIAL_M32R_SIO
1221 bool "M32R SIO I/F"
1222 depends on M32R
1223 default y
1224 select SERIAL_CORE
1225 help
1226 Say Y here if you want to use the M32R serial controller.
1227
1228config SERIAL_M32R_SIO_CONSOLE
1229 bool "use SIO console"
1230 depends on SERIAL_M32R_SIO=y
1231 select SERIAL_CORE_CONSOLE
1232 help
1233 Say Y here if you want to support a serial console.
1234
1235 If you use an M3T-M32700UT or an OPSPUT platform,
1236 please say also y for SERIAL_M32R_PLDSIO.
1237
1238config SERIAL_M32R_PLDSIO
1239 bool "M32R SIO I/F on a PLD"
Adrian Bunkd600b972006-01-13 21:57:22 +00001240 depends on SERIAL_M32R_SIO=y && (PLAT_OPSPUT || PLAT_USRV || PLAT_M32700UT)
Linus Torvalds1da177e2005-04-16 15:20:36 -07001241 default n
1242 help
1243 Say Y here if you want to use the M32R serial controller
1244 on a PLD (Programmable Logic Device).
1245
1246 If you use an M3T-M32700UT or an OPSPUT platform,
1247 please say Y.
1248
1249config SERIAL_TXX9
1250 bool "TMPTX39XX/49XX SIO support"
Robert P. J. Daybef1f402006-12-12 20:04:19 +01001251 depends on HAS_TXX9_SERIAL
Linus Torvalds1da177e2005-04-16 15:20:36 -07001252 select SERIAL_CORE
1253 default y
1254
1255config HAS_TXX9_SERIAL
1256 bool
1257
Atsushi Nemoto138c5d22007-02-10 01:45:05 -08001258config SERIAL_TXX9_NR_UARTS
1259 int "Maximum number of TMPTX39XX/49XX SIO ports"
1260 depends on SERIAL_TXX9
1261 default "6"
1262
Linus Torvalds1da177e2005-04-16 15:20:36 -07001263config SERIAL_TXX9_CONSOLE
1264 bool "TMPTX39XX/49XX SIO Console support"
1265 depends on SERIAL_TXX9=y
1266 select SERIAL_CORE_CONSOLE
1267
1268config SERIAL_TXX9_STDSERIAL
1269 bool "TX39XX/49XX SIO act as standard serial"
1270 depends on !SERIAL_8250 && SERIAL_TXX9
1271
1272config SERIAL_VR41XX
1273 tristate "NEC VR4100 series Serial Interface Unit support"
1274 depends on CPU_VR41XX
1275 select SERIAL_CORE
1276 help
1277 If you have a NEC VR4100 series processor and you want to use
1278 Serial Interface Unit(SIU) or Debug Serial Interface Unit(DSIU)
1279 (not include VR4111/VR4121 DSIU), say Y. Otherwise, say N.
1280
1281config SERIAL_VR41XX_CONSOLE
1282 bool "Enable NEC VR4100 series Serial Interface Unit console"
Yoichi Yuasa21740412007-07-31 00:38:56 -07001283 depends on SERIAL_VR41XX=y
Linus Torvalds1da177e2005-04-16 15:20:36 -07001284 select SERIAL_CORE_CONSOLE
1285 help
1286 If you have a NEC VR4100 series processor and you want to use
1287 a console on a serial port, say Y. Otherwise, say N.
1288
1289config SERIAL_JSM
V. Ananda Krishnan0a577ce2006-02-03 03:04:30 -08001290 tristate "Digi International NEO PCI Support"
1291 depends on PCI
1292 select SERIAL_CORE
1293 help
1294 This is a driver for Digi International's Neo series
1295 of cards which provide multiple serial ports. You would need
1296 something like this to connect more than two modems to your Linux
1297 box, for instance in order to become a dial-in server. This driver
1298 supports PCI boards only.
Arthur Othienoa5f1e4e2006-02-15 09:52:46 +00001299
1300 If you have a card like this, say Y here, otherwise say N.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001301
V. Ananda Krishnan0a577ce2006-02-03 03:04:30 -08001302 To compile this driver as a module, choose M here: the
1303 module will be called jsm.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001304
Brent Casavante5d310b2005-06-21 17:16:01 -07001305config SERIAL_SGI_IOC4
1306 tristate "SGI IOC4 controller serial support"
1307 depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC4
1308 select SERIAL_CORE
1309 help
1310 If you have an SGI Altix with an IOC4 based Base IO card
1311 and wish to use the serial ports on this card, say Y.
1312 Otherwise, say N.
1313
Patrick Gefre2d0cfb52006-01-14 13:20:40 -08001314config SERIAL_SGI_IOC3
1315 tristate "SGI Altix IOC3 serial support"
1316 depends on (IA64_GENERIC || IA64_SGI_SN2) && SGI_IOC3
1317 select SERIAL_CORE
1318 help
1319 If you have an SGI Altix with an IOC3 serial card,
1320 say Y or M. Otherwise, say N.
1321
Sascha Hauerf8441e12006-06-19 13:29:07 +01001322config SERIAL_NETX
Paul Bollefb881f72008-10-14 18:13:45 +02001323 tristate "NetX serial port support"
Sascha Hauerf8441e12006-06-19 13:29:07 +01001324 depends on ARM && ARCH_NETX
1325 select SERIAL_CORE
1326 help
1327 If you have a machine based on a Hilscher NetX SoC you
1328 can enable its onboard serial port by enabling this option.
1329
1330 To compile this driver as a module, choose M here: the
1331 module will be called netx-serial.
1332
1333config SERIAL_NETX_CONSOLE
1334 bool "Console on NetX serial port"
Paul Bollefb881f72008-10-14 18:13:45 +02001335 depends on SERIAL_NETX=y
Sascha Hauerf8441e12006-06-19 13:29:07 +01001336 select SERIAL_CORE_CONSOLE
1337 help
Uwe Kleine-Königb885b272008-02-03 14:55:57 +02001338 If you have enabled the serial port on the Hilscher NetX SoC
1339 you can make it the console by answering Y to this option.
Sascha Hauerf8441e12006-06-19 13:29:07 +01001340
Arnd Bergmann8d38a5b2007-02-13 21:35:38 +01001341config SERIAL_OF_PLATFORM
1342 tristate "Serial port on Open Firmware platform bus"
Michal Simek4286c2b2009-03-27 14:25:51 +01001343 depends on PPC_OF || MICROBLAZE
Benjamin Krill5886188d2009-01-07 10:32:38 +01001344 depends on SERIAL_8250 || SERIAL_OF_PLATFORM_NWPSERIAL
Arnd Bergmann8d38a5b2007-02-13 21:35:38 +01001345 help
1346 If you have a PowerPC based system that has serial ports
1347 on a platform specific bus, you should enable this option.
1348 Currently, only 8250 compatible ports are supported, but
1349 others can easily be added.
1350
Benjamin Krill5886188d2009-01-07 10:32:38 +01001351config SERIAL_OF_PLATFORM_NWPSERIAL
1352 tristate "NWP serial port driver"
1353 depends on PPC_OF && PPC_DCR
1354 select SERIAL_OF_PLATFORM
1355 select SERIAL_CORE_CONSOLE
1356 select SERIAL_CORE
1357 help
1358 This driver supports the cell network processor nwp serial
1359 device.
1360
1361config SERIAL_OF_PLATFORM_NWPSERIAL_CONSOLE
1362 bool "Console on NWP serial port"
1363 depends on SERIAL_OF_PLATFORM_NWPSERIAL=y
1364 select SERIAL_CORE_CONSOLE
1365 help
1366 Support for Console on the NWP serial ports.
1367
Timur Tabid7584ed2008-01-15 09:56:13 -06001368config SERIAL_QE
1369 tristate "Freescale QUICC Engine serial port support"
1370 depends on QUICC_ENGINE
1371 select SERIAL_CORE
1372 select FW_LOADER
1373 default n
1374 help
1375 This driver supports the QE serial ports on Freescale embedded
1376 PowerPC that contain a QUICC Engine.
1377
Thomas Bogendoerfereea63e02008-02-06 01:37:27 -08001378config SERIAL_SC26XX
1379 tristate "SC2681/SC2692 serial port support"
1380 depends on SNI_RM
1381 select SERIAL_CORE
1382 help
1383 This is a driver for the onboard serial ports of
1384 older RM400 machines.
1385
1386config SERIAL_SC26XX_CONSOLE
1387 bool "Console on SC2681/SC2692 serial port"
1388 depends on SERIAL_SC26XX
1389 select SERIAL_CORE_CONSOLE
1390 help
1391 Support for Console on SC2681/SC2692 serial ports.
1392
Bryan Wu2f351742008-04-30 00:52:12 -07001393config SERIAL_BFIN_SPORT
1394 tristate "Blackfin SPORT emulate UART (EXPERIMENTAL)"
Mike Frysinger460ed2e2008-05-17 18:22:26 +08001395 depends on BLACKFIN && EXPERIMENTAL
Bryan Wu2f351742008-04-30 00:52:12 -07001396 select SERIAL_CORE
1397 help
Matt LaPlante692105b2009-01-26 11:12:25 +01001398 Enable SPORT emulate UART on Blackfin series.
Bryan Wu2f351742008-04-30 00:52:12 -07001399
1400 To compile this driver as a module, choose M here: the
1401 module will be called bfin_sport_uart.
1402
1403choice
1404 prompt "Baud rate for Blackfin SPORT UART"
1405 depends on SERIAL_BFIN_SPORT
1406 default SERIAL_SPORT_BAUD_RATE_57600
1407 help
1408 Choose a baud rate for the SPORT UART, other uart settings are
1409 8 bit, 1 stop bit, no parity, no flow control.
1410
1411config SERIAL_SPORT_BAUD_RATE_115200
1412 bool "115200"
1413
1414config SERIAL_SPORT_BAUD_RATE_57600
1415 bool "57600"
1416
1417config SERIAL_SPORT_BAUD_RATE_38400
1418 bool "38400"
1419
1420config SERIAL_SPORT_BAUD_RATE_19200
1421 bool "19200"
1422
1423config SERIAL_SPORT_BAUD_RATE_9600
1424 bool "9600"
1425endchoice
1426
1427config SPORT_BAUD_RATE
1428 int
1429 depends on SERIAL_BFIN_SPORT
1430 default 115200 if (SERIAL_SPORT_BAUD_RATE_115200)
1431 default 57600 if (SERIAL_SPORT_BAUD_RATE_57600)
1432 default 38400 if (SERIAL_SPORT_BAUD_RATE_38400)
1433 default 19200 if (SERIAL_SPORT_BAUD_RATE_19200)
1434 default 9600 if (SERIAL_SPORT_BAUD_RATE_9600)
1435
Richard Röjfors34aec592009-06-11 14:05:39 +01001436config SERIAL_TIMBERDALE
1437 tristate "Support for timberdale UART"
1438 depends on MFD_TIMBERDALE
1439 select SERIAL_CORE
1440 ---help---
1441 Add support for UART controller on timberdale.
1442
Linus Torvalds1da177e2005-04-16 15:20:36 -07001443endmenu