linux/drivers/serial
Maciej W. Rozycki 3771359128 serial: Z85C30: avoid a hang at console switch-over
Changes to the generic console support code that happened a while ago
introduced a scenario where the initial console is used in parallel with
the final console during a brief period when switching between the two is
in progress.  During that time a message about the switch-over is printed.

With some combinations of chips, firmware and drivers, such as the Zilog
Z85C30 SCC used with the DECstation, a hang may happen because the
firmware used for the initial console may not expect the state of the chip
after it has been initialised by the driver.  This is not a bug in the
firmware, as some registers it would have to examine are write-only.

This is a workaround for the Z85C30 which reuses the power-management
callback to keep the transmitter of the line associated with the console
enabled.  It reflects the consensus reached in a discussion a while ago.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:29 -07:00
..
cpm_uart kgdb: kgdboc console poll hooks for cpm uart 2008-07-23 11:30:16 -05:00
jsm serial: use tty_port 2008-07-20 17:12:35 -07:00
8250_accent.c
8250_acorn.c [ARM] ecard: add ecardm_iomap() / ecardm_iounmap() 2007-05-11 17:19:02 +01:00
8250_boca.c
8250_early.c 8250: switch 8250 drivers to use _nocache ioremaps 2008-05-01 08:04:00 -07:00
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c serial/8250_gsc.c: add MODULE_LICENSE 2008-07-24 10:47:29 -07:00
8250_hp300.c 8250_hp300: coding style 2008-02-08 09:22:25 -08:00
8250_hub6.c 8250_hub6: codding style 2008-02-08 09:22:25 -08:00
8250_mca.c
8250_pci.c serial: add support for a no-name 4 ports multiserial card 2008-07-24 10:47:29 -07:00
8250_pnp.c drivers/serial/: remove CVS keywords 2008-07-20 17:12:35 -07:00
8250.c 8250: fix break handling for Intel 82571 2008-07-24 10:47:29 -07:00
8250.h drivers/serial/: remove CVS keywords 2008-07-20 17:12:35 -07:00
21285.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
68328serial.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
68328serial.h
68360serial.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
amba-pl010.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
amba-pl011.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
atmel_serial.c atmel_serial: Fix tty_port breakage 2008-07-20 17:12:37 -07:00
bfin_5xx.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
bfin_sport_uart.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
bfin_sport_uart.h Blackfin serial driver: this driver enable SPORTs on Blackfin emulate UART 2008-04-30 08:29:30 -07:00
clps711x.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
crisv10.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
crisv10.h CRISv10 serial driver rewrite 2007-11-14 18:45:46 -08:00
dz.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
dz.h dz: clean up and improve the setup of termios settings 2008-02-07 08:42:24 -08:00
icom.c ttydev: Fix up compile failures in the PPC build 2008-07-22 13:03:22 -07:00
icom.h Coding style fix drivers/serial/icom.h 2008-02-03 14:47:38 +02:00
imx.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
ioc3_serial.c - Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
ioc4_serial.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
ip22zilog.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
ip22zilog.h
Kconfig remove the v850 port 2008-07-24 10:47:24 -07:00
kgdboc.c tty: The big operations rework 2008-04-30 08:29:47 -07:00
m32r_sio_reg.h
m32r_sio.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
m32r_sio.h m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
Makefile drivers/serial/: remove CVS keywords 2008-07-20 17:12:35 -07:00
mcf.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
mcfserial.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
mcfserial.h
mpc52xx_uart.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
mpsc.c kgdb: kgdboc console poll hooks for mpsc uart 2008-07-23 11:30:16 -05:00
mux.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
netx-serial.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
of_serial.c of_serial: Use linux/of_platform.h instead of asm 2008-06-09 13:46:37 +10:00
pmac_zilog.c ttydev: fix pamc_zilog for tty pointer move 2008-07-20 17:12:36 -07:00
pmac_zilog.h
pnx8xxx_uart.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
pxa.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
s3c2400.c [ARM] S3C24XX: Split serial driver into core and per-cpu drivers 2008-07-03 16:51:31 +01:00
s3c2410.c [ARM] S3C24XX: Split serial driver into core and per-cpu drivers 2008-07-03 16:51:31 +01:00
s3c2412.c [ARM] S3C24XX: Split serial driver into core and per-cpu drivers 2008-07-03 16:51:31 +01:00
s3c2440.c [ARM] S3C24XX: Split serial driver into core and per-cpu drivers 2008-07-03 16:51:31 +01:00
sa1100.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
samsung.c port_fixups: Fix ups for tty port changes 2008-07-22 13:03:29 -07:00
samsung.h [ARM] S3C24XX: Split serial driver into core and per-cpu drivers 2008-07-03 16:51:31 +01:00
sb1250-duart.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
sc26xx.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
serial_core.c tty: rework break handling 2008-07-22 13:03:28 -07:00
serial_cs.c pcmcia: replace kio_addr_t with unsigned int everywhere 2008-02-05 09:44:08 -08:00
serial_ks8695.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
serial_lh7a40x.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
serial_txx9.c ttydev: Fix up compile failures in the PPC build 2008-07-22 13:03:22 -07:00
sh-sci.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
sh-sci.h sh-sci: avoid writing to nonexistent registers 2008-05-08 19:51:59 +09:00
sn_console.c - Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
suncore.c [SERIAL]: Fix section mismatches in Sun serial console drivers. 2007-12-29 01:19:49 -08:00
suncore.h [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunhv.c ttydev: fix pamc_zilog for tty pointer move 2008-07-20 17:12:35 -07:00
sunsab.c ttydev: fix pamc_zilog for tty pointer move 2008-07-20 17:12:35 -07:00
sunsab.h
sunsu.c ttydev: fix pamc_zilog for tty pointer move 2008-07-20 17:12:35 -07:00
sunzilog.c ttydev: fix pamc_zilog for tty pointer move 2008-07-20 17:12:35 -07:00
sunzilog.h [SERIAL] sunzilog: Interrupt enable before ISR handler installed 2007-05-09 13:49:04 -07:00
uartlite.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
ucc_uart.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
v850e_uart.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
vr41xx_siu.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
zs.c serial: Z85C30: avoid a hang at console switch-over 2008-07-24 10:47:29 -07:00
zs.h zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00