alistair23-linux/drivers
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
..
acorn/char unicode diacritics support 2007-10-17 08:42:52 -07:00
acpi PM: Rename hibernation_ops to platform_hibernation_ops 2007-10-18 14:37:18 -07:00
amba
ata
atm
auxdisplay
base pm_trace displays the wrong time from the RTC 2007-10-18 14:37:19 -07:00
block Merge branch 'for-linus' of git://git.kernel.dk/data/git/linux-2.6-block 2007-10-17 09:08:13 -07:00
bluetooth
cdrom
char PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
clocksource
connector
cpufreq
crypto
dca
dio
dma Remove "unsafe" from module struct 2007-10-17 08:42:49 -07:00
edac
eisa
fc4
firewire firewire: fw-cdev: reorder wakeup vs. spinlock 2007-10-17 00:00:10 +02:00
firmware
hid
hwmon
i2c Make the pr_*() family of macros in kernel.h complete 2007-10-17 08:42:57 -07:00
ide amd74xx: remove /proc/ide/amd74xx 2007-10-16 22:29:58 +02:00
ieee1394 ieee1394: ieee1394_core.c: use DEFINE_SPINLOCK for spinlock definition 2007-10-16 23:59:59 +02:00
infiniband [POWERPC] ibmebus: Move to of_device and of_platform_driver, match eHCA and eHEA drivers 2007-10-17 22:30:08 +10:00
input freezer: introduce freezer-friendly waiting macros 2007-10-18 14:37:19 -07:00
isdn i4l: Fix random hard freeze with AVM c4 card 2007-10-18 14:37:17 -07:00
kvm
leds
lguest Merge branch 'xen-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen 2007-10-17 11:10:11 -07:00
macintosh fix adbhid mismerge 2007-10-16 19:04:49 -07:00
mca
md md: make sure read errors are auto-corrected during a 'check' resync in raid1 2007-10-17 08:43:03 -07:00
media freezer: introduce freezer-friendly waiting macros 2007-10-18 14:37:19 -07:00
message I2O: Fix "defined but not used" build warnings 2007-10-17 08:42:56 -07:00
mfd
misc Driver for the Atmel on-chip SSC on AT32AP and AT91 2007-10-17 08:42:47 -07:00
mmc mmc: at91_mci: cleanup: use MCI_ERRORS 2007-10-17 21:35:10 +02:00
mtd Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
net net: libertas sdio driver 2007-10-17 22:51:13 +02:00
nubus
of
oprofile
parisc
parport
pci
pcmcia pcmcia: CompactFlash driver for PA Semi Electra boards 2007-10-17 08:42:48 -07:00
pnp PNP: add debug message for adding new device 2007-10-17 08:43:04 -07:00
power
ps3
rapidio
rtc
s390 unicode diacritics support 2007-10-17 08:42:52 -07:00
sbus
scsi Revert "[SCSI] Remove full sg table memset()" 2007-10-17 19:33:05 +02:00
serial serial: turn serial console suspend a boot rather than compile time option 2007-10-18 14:37:19 -07:00
sh
sn
spi
ssb
tc lk201: remove obsolete driver 2007-10-17 08:42:57 -07:00
telephony
uio
usb freezer: introduce freezer-friendly waiting macros 2007-10-18 14:37:19 -07:00
video logo.c: get rid of mips_machgroup 2007-10-18 14:37:17 -07:00
w1 Clean up duplicate includes in drivers/w1/ 2007-10-17 08:42:48 -07:00
xen
zorro
Kconfig
Makefile