diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-01-21 17:59:12 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-21 17:59:12 +0300 |
commit | f91a3715db2bb44fcf08cec642e68f919b70f7f4 (patch) | |
tree | 119d0917c2b9df55bf548e38ace5fcae8334f38e /drivers/serial/21285.c | |
parent | 3ee68c4af3fd7228c1be63254b9f884614f9ebb2 (diff) | |
download | linux-f91a3715db2bb44fcf08cec642e68f919b70f7f4.tar.xz |
[SERIAL] 8250 serial console fixes
This patch resolves most of the problems with an SMP serial console race
with output via the tty path. At the end of the serial console print we
force enable the tx int in case we clobbered the tx interrupt status
racing between the console and tty output. That way the extra tx
interrupt causes the transmit path to restart not hang.
It also makes the serial console printk use the FIFO. This is neccessary
because some remote management devices fake serial console with FIFO and
are confused into sending one packet per character over ethernet when we
stall rather than filling the FIFO.
In order to preserve existing reliability semantics the function waits
for the serial queue to completely empty before returning.
Both of these problems were identified by a Red Hat partner.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial/21285.c')
0 files changed, 0 insertions, 0 deletions