diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2007-07-18 03:49:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-18 11:38:22 -0400 |
commit | 8b4a40809e5330c9da5d20107d693d92d73b31dc (patch) | |
tree | 14de7320d32a7e72dc2cddf4833405db0f49a7ba /drivers/char/Kconfig | |
parent | b187f180cc942e50007aa039f8e3a620ee5f3171 (diff) |
zs: move to the serial subsystem
This is a reimplementation of the zs driver for the serial subsystem. Any
resemblance to the old driver is purely coincidential. ;-) I do hope I got
the handling of modem lines right -- better do not tackle me about the
issue unless you feel too good...
Any users of the old driver: please note the numbers of the serial lines
have now been swapped, i.e. ttyS0 <-> ttyS1 and ttyS2 <-> ttyS3. It has
to do with the modem lines mentioned above; basically the port A in a given
chip has to be initialised before the port B if you want to use the latter
as the serial console (which is usually the case), as operations on modem
lines of the serial line associated with the port B access both ports (see
the comment at the top of the driver for the details of wiring used).
Please update your scripts.
This is also the reason each SCC now requests an IRQ once only (as seen in
"/proc/interrupts") -- the handler takes care of both ports at once as the
line associated with the port B has to take status update interrupts from
both ports (and yet the line of the port A takes its own for itself too).
The old driver never got it right...
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r-- | drivers/char/Kconfig | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index d8d7125529c4..97bd71bc3aea 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -372,39 +372,6 @@ config ISTALLION | |||
372 | To compile this driver as a module, choose M here: the | 372 | To compile this driver as a module, choose M here: the |
373 | module will be called istallion. | 373 | module will be called istallion. |
374 | 374 | ||
375 | config SERIAL_DEC | ||
376 | bool "DECstation serial support" | ||
377 | depends on MACH_DECSTATION | ||
378 | default y | ||
379 | help | ||
380 | This selects whether you want to be asked about drivers for | ||
381 | DECstation serial ports. | ||
382 | |||
383 | Note that the answer to this question won't directly affect the | ||
384 | kernel: saying N will just cause the configurator to skip all | ||
385 | the questions about DECstation serial ports. | ||
386 | |||
387 | config SERIAL_DEC_CONSOLE | ||
388 | bool "Support for console on a DECstation serial port" | ||
389 | depends on SERIAL_DEC | ||
390 | default y | ||
391 | help | ||
392 | If you say Y here, it will be possible to use a serial port as the | ||
393 | system console (the system console is the device which receives all | ||
394 | kernel messages and warnings and which allows logins in single user | ||
395 | mode). Note that the firmware uses ttyS0 as the serial console on | ||
396 | the Maxine and ttyS2 on the others. | ||
397 | |||
398 | If unsure, say Y. | ||
399 | |||
400 | config ZS | ||
401 | bool "Z85C30 Serial Support" | ||
402 | depends on SERIAL_DEC | ||
403 | default y | ||
404 | help | ||
405 | Documentation on the Zilog 85C350 serial communications controller | ||
406 | is downloadable at <http://www.zilog.com/pdfs/serial/z85c30.pdf> | ||
407 | |||
408 | config A2232 | 375 | config A2232 |
409 | tristate "Commodore A2232 serial support (EXPERIMENTAL)" | 376 | tristate "Commodore A2232 serial support (EXPERIMENTAL)" |
410 | depends on EXPERIMENTAL && ZORRO && BROKEN_ON_SMP | 377 | depends on EXPERIMENTAL && ZORRO && BROKEN_ON_SMP |