linux-stable-rt/drivers/serial
Andres Salomon 8f4ce8c32f serial: turn serial console suspend a boot rather than compile time option
Currently, there's a CONFIG_DISABLE_CONSOLE_SUSPEND that allows one to stop
the serial console from being suspended when the rest of the machine goes
to sleep.  This is incredibly useful for debugging power management-related
things; however, having it as a compile-time option has proved to be
incredibly inconvenient for us (OLPC).  There are plenty of times that we
want serial console to not suspend, but for the most part we'd like serial
console to be suspended.

This drops CONFIG_DISABLE_CONSOLE_SUSPEND, and replaces it with a kernel
boot parameter (no_console_suspend).  By default, the serial console will
be suspended along with the rest of the system; by passing
'no_console_suspend' to the kernel during boot, serial console will remain
alive during suspend.

For now, this is pretty serial console specific; further fixes could be
applied to make this work for things like netconsole.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Nigel Cunningham <nigel@suspend2.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-18 14:37:19 -07:00
..
cpm_uart [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
jsm jsm: Remove further unneeded crud 2007-10-17 08:42:52 -07:00
8250.c
8250.h
8250_accent.c
8250_acorn.c
8250_au1x00.c
8250_boca.c
8250_early.c
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mca.c
8250_pci.c 8250_pci: Autodetect mainpine cards 2007-10-16 09:42:50 -07:00
8250_pnp.c Add support for Wacom WACF007 and WACF008 to serial pnp driver 2007-10-16 09:42:50 -07:00
21285.c
68328serial.c
68328serial.h
68360serial.c
Kconfig
Makefile
amba-pl010.c
amba-pl011.c
atmel_serial.c
atmel_serial.h
bfin_5xx.c
clps711x.c
crisv10.c tty: bring the old cris driver back somewhere into the realm of new tty buffering 2007-10-16 09:43:04 -07:00
dz.c
dz.h
icom.c
icom.h
imx.c
ioc3_serial.c
ioc4_serial.c
ip22zilog.c
ip22zilog.h
m32r_sio.c m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
m32r_sio.h m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
m32r_sio_reg.h
mcfserial.c
mcfserial.h
mpc52xx_uart.c mpc52xx-uart: fix compile warning (format type mismatch) 2007-10-14 08:57:30 -07:00
mpsc.c
mux.c
netx-serial.c
of_serial.c
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c [ARM] pxa: update pxa serial driver to use clk support 2007-10-12 21:15:07 +01:00
s3c2410.c
sa1100.c
sb1250-duart.c
serial_core.c serial: turn serial console suspend a boot rather than compile time option 2007-10-18 14:37:19 -07:00
serial_cs.c Add support for PCMCIA card Sierra WIreless AC850 2007-10-16 09:42:50 -07:00
serial_ks8695.c
serial_lh7a40x.c
serial_txx9.c serial_txx9: Use UPF_FIXED_PORT 2007-10-16 09:42:50 -07:00
sh-sci.c
sh-sci.h
sn_console.c
suncore.c
suncore.h
sunhv.c
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
uartlite.c
v850e_uart.c
vr41xx_siu.c
zs.c
zs.h