linux/drivers/serial
Deepak Saxena ba15ab0e8d Set proper console speed on resume if console suspend is disabled
Commit b5b82df6, from May 2007, breaks no_console_suspend on the OLPC
XO laptop. Basically what happens is that upon returning from resume,
serial8250_resume_port() will reconfigure the port for high speed
mode and all console output will be garbled, making debug of the
resume path painful. This patch modifies uart_resume_port() to
reset the port to the state it was in before we suspended.

Original patch by Marcelo Tosatti

Second patch by Deepak then reworked by Alan to fit with the tty changes
before it got submitted. Also fixed the console path to set c_i/ospeed as
some drivers require the termios fields are valid

Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-19 13:13:33 -07:00
..
cpm_uart serial: kill off uart_info 2009-09-19 13:13:28 -07:00
jsm serial: kill off uart_info 2009-09-19 13:13:28 -07:00
8250.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
8250.h serial: 8250: add IRQ trigger support 2009-09-19 13:13:19 -07:00
8250_accent.c
8250_acorn.c
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: fix printk format error 2009-05-29 08:40:02 -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 Remove multiple KERN_ prefixes from printk formats 2009-07-08 10:30:03 -07:00
8250_pnp.c serial: Update PNP IDs 2009-04-06 14:36:26 -07:00
21285.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
68328serial.c serial, 8250: remove NR_IRQ usage 2008-10-16 16:52:02 +02:00
68328serial.h
68360serial.c Fix compile errors in SGI console drivers (linux-next tree) 2008-07-20 17:12:36 -07:00
Kconfig Merge branch 'master' into devel 2009-09-12 12:04:37 +01:00
Makefile ARM: S5PC100: UART and Serial 2009-08-16 23:24:37 +01:00
amba-pl010.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
amba-pl011.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
atmel_serial.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
bfin_5xx.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
bfin_sport_uart.c serial: kill off uart_info 2009-09-19 13:13:28 -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 serial: kill off uart_info 2009-09-19 13:13:28 -07:00
crisv10.c CRISv10: fix serial driver proc-usage 2009-05-02 15:36:09 -07:00
crisv10.h tty: Use the generic RS485 ioctl on CRIS 2009-04-07 08:44:05 -07:00
dz.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
dz.h dz: clean up and improve the setup of termios settings 2008-02-07 08:42:24 -08:00
icom.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
icom.h Coding style fix drivers/serial/icom.h 2008-02-03 14:47:38 +02:00
imx.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
ioc3_serial.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
ioc4_serial.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
ip22zilog.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
ip22zilog.h
kgdboc.c tty: The big operations rework 2008-04-30 08:29:47 -07:00
m32r_sio.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
m32r_sio.h
m32r_sio_reg.h
max3100.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
mcf.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
mpc52xx_uart.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
mpsc.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
msm_serial.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
msm_serial.h msm_serial: serial driver for MSM7K onboard serial peripheral. 2009-06-22 11:32:25 -07:00
mux.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
netx-serial.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
nwpserial.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
of_serial.c Merge commit 'origin/master' into next 2009-06-18 11:16:55 +10:00
pmac_zilog.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
pmac_zilog.h
pnx8xxx_uart.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
pxa.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
s3c24a0.c ARM: S3C24XX: serial: Fix section mismatch warnings 2009-07-30 23:56:41 +01:00
s3c2400.c ARM: S3C24XX: serial: Fix section mismatch warnings 2009-07-30 23:56:41 +01:00
s3c2410.c ARM: S3C24XX: serial: Fix section mismatch warnings 2009-07-30 23:56:41 +01:00
s3c2412.c ARM: S3C24XX: serial: Fix section mismatch warnings 2009-07-30 23:56:41 +01:00
s3c2440.c ARM: S3C24XX: serial: Fix section mismatch warnings 2009-07-30 23:56:41 +01:00
s3c6400.c ARM: S3C64XX: serial: Fix section mismatch warning 2009-07-30 23:56:41 +01:00
sa1100.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
samsung.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
samsung.h serial: samsung.c: mark s3c24xx_serial_remove as __devexit 2009-06-22 11:32:24 -07:00
sb1250-duart.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
sc26xx.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
serial_core.c Set proper console speed on resume if console suspend is disabled 2009-09-19 13:13:33 -07:00
serial_cs.c tty: serial/pcmcia: add ID for Advantech card 2009-09-19 13:13:10 -07:00
serial_ks8695.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
serial_lh7a40x.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
serial_txx9.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
sh-sci.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
sh-sci.h sh: Add initial support for SH7757 CPU subtype 2009-08-21 17:25:47 +09:00
sn_console.c serial: kill off uart_info 2009-09-19 13:13:28 -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 serial: kill off uart_info 2009-09-19 13:13:28 -07:00
sunsab.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
sunsab.h
sunsu.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
sunzilog.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
sunzilog.h
timbuart.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
timbuart.h serial: Added Timberdale UART driver 2009-06-11 08:51:06 -07:00
uartlite.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
ucc_uart.c serial: kill off uart_info 2009-09-19 13:13:28 -07:00
vr41xx_siu.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
zs.c serial: move delta_msr_wait into the tty_port 2009-09-19 13:13:31 -07:00
zs.h