Commit 1863e2db authored by Patrick Mochel's avatar Patrick Mochel

ACPI: make CONFIG_ACPI_SLEEP _not_ dependent on CONFIG_SOFTWARE_SUSPEND

and add help text.
parent 49fe196a
...@@ -86,6 +86,23 @@ CONFIG_ACPI_SYSTEM ...@@ -86,6 +86,23 @@ CONFIG_ACPI_SYSTEM
This driver will enable your system to shut down using ACPI, and This driver will enable your system to shut down using ACPI, and
dump your ACPI DSDT table using /proc/acpi/dsdt. dump your ACPI DSDT table using /proc/acpi/dsdt.
CONFIG_ACPI_SLEEP
This option adds support for ACPI suspend states.
With this option, you will be able to put the system "to sleep".
Sleep states are low power states for the system and devices. All
of the system operating state is saved to either memory or disk
(depending on the state), to allow the system to resume operation
quickly at your request.
Although this option sounds really nifty, barely any of the device
drivers have been converted to the new driver model and hence few
have proper power management support.
This option is not recommended for anyone except those doing driver
power management development.
CONFIG_ACPI_DEBUG CONFIG_ACPI_DEBUG
The ACPI driver can optionally report errors with a great deal The ACPI driver can optionally report errors with a great deal
of verbosity. Saying Y enables these statements. This will increase of verbosity. Saying Y enables these statements. This will increase
......
...@@ -13,8 +13,10 @@ if [ "$CONFIG_X86" = "y" ]; then ...@@ -13,8 +13,10 @@ if [ "$CONFIG_X86" = "y" ]; then
fi fi
define_bool CONFIG_ACPI_BOOT y define_bool CONFIG_ACPI_BOOT y
define_bool CONFIG_ACPI_SLEEP n
if [ "$CONFIG_ACPI_HT_ONLY" != "y" ]; then if [ "$CONFIG_ACPI_HT_ONLY" != "y" ]; then
bool ' Sleep States' CONFIG_ACPI_SLEEP
tristate ' AC Adapter' CONFIG_ACPI_AC tristate ' AC Adapter' CONFIG_ACPI_AC
tristate ' Battery' CONFIG_ACPI_BATTERY tristate ' Battery' CONFIG_ACPI_BATTERY
tristate ' Button' CONFIG_ACPI_BUTTON tristate ' Button' CONFIG_ACPI_BUTTON
...@@ -33,7 +35,6 @@ if [ "$CONFIG_X86" = "y" ]; then ...@@ -33,7 +35,6 @@ if [ "$CONFIG_X86" = "y" ]; then
define_bool CONFIG_ACPI_EC y define_bool CONFIG_ACPI_EC y
define_bool CONFIG_ACPI_POWER y define_bool CONFIG_ACPI_POWER y
define_bool CONFIG_ACPI_PCI $CONFIG_PCI define_bool CONFIG_ACPI_PCI $CONFIG_PCI
define_bool CONFIG_ACPI_SLEEP $CONFIG_SOFTWARE_SUSPEND
define_bool CONFIG_ACPI_SYSTEM y define_bool CONFIG_ACPI_SYSTEM y
fi fi
fi fi
...@@ -49,6 +50,7 @@ if [ "$CONFIG_IA64" = "y" ]; then ...@@ -49,6 +50,7 @@ if [ "$CONFIG_IA64" = "y" ]; then
define_bool CONFIG_ACPI_PCI n define_bool CONFIG_ACPI_PCI n
define_bool CONFIG_ACPI_POWER n define_bool CONFIG_ACPI_POWER n
define_bool CONFIG_ACPI_SYSTEM n define_bool CONFIG_ACPI_SYSTEM n
define_bool CONFIG_ACPI_SLEEP n
define_bool CONFIG_ACPI_BUTTON n define_bool CONFIG_ACPI_BUTTON n
define_bool CONFIG_ACPI_FAN n define_bool CONFIG_ACPI_FAN n
define_bool CONFIG_ACPI_PROCESSOR n define_bool CONFIG_ACPI_PROCESSOR n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment