[SERIAL] kernel console should send CRLF not LFCR
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 20 Mar 2006 20:00:09 +0000 (20:00 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Mar 2006 20:00:09 +0000 (20:00 +0000)
commitd358788f3f30113e49882187d794832905e42592
tree8c796ee4bf719dad4d3947c03cef2f3fd6cb5940
parent7705a8792b0fc82fd7d4dd923724606bbfd9fb20
[SERIAL] kernel console should send CRLF not LFCR

Glen Turner reported that writing LFCR rather than the more
traditional CRLF causes issues with some terminals.

Since this aflicts many serial drivers, extract the common code
to a library function (uart_console_write) and arrange for each
driver to supply a "putchar" function.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
25 files changed:
drivers/serial/21285.c
drivers/serial/8250.c
drivers/serial/8250_early.c
drivers/serial/amba-pl010.c
drivers/serial/amba-pl011.c
drivers/serial/at91_serial.c
drivers/serial/au1x00_uart.c
drivers/serial/clps711x.c
drivers/serial/dz.c
drivers/serial/imx.c
drivers/serial/ip22zilog.c
drivers/serial/m32r_sio.c
drivers/serial/mpc52xx_uart.c
drivers/serial/pmac_zilog.c
drivers/serial/pxa.c
drivers/serial/s3c2410.c
drivers/serial/sa1100.c
drivers/serial/serial_core.c
drivers/serial/serial_lh7a40x.c
drivers/serial/serial_txx9.c
drivers/serial/sunsab.c
drivers/serial/sunsu.c
drivers/serial/sunzilog.c
drivers/serial/vr41xx_siu.c
include/linux/serial_core.h