aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r--drivers/acpi/Kconfig61
1 files changed, 18 insertions, 43 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 408b45168aba..22b401b2e088 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -42,51 +42,26 @@ menuconfig ACPI
42 42
43if ACPI 43if ACPI
44 44
45config ACPI_SLEEP
46 bool "Sleep States"
47 depends on X86 && (!SMP || SUSPEND_SMP)
48 default y
49 ---help---
50 This option adds support for ACPI suspend states.
51
52 With this option, you will be able to put the system "to sleep".
53 Sleep states are low power states for the system and devices. All
54 of the system operating state is saved to either memory or disk
55 (depending on the state), to allow the system to resume operation
56 quickly at your request.
57
58 Although this option sounds really nifty, barely any of the device
59 drivers have been converted to the new driver model and hence few
60 have proper power management support.
61
62 This option is not recommended for anyone except those doing driver
63 power management development.
64
65config ACPI_SLEEP_PROC_FS
66 bool
67 depends on ACPI_SLEEP && PROC_FS
68 default y
69
70config ACPI_SLEEP_PROC_SLEEP
71 bool "/proc/acpi/sleep (deprecated)"
72 depends on ACPI_SLEEP_PROC_FS
73 default n
74 ---help---
75 Create /proc/acpi/sleep
76 Deprecated by /sys/power/state
77
78config ACPI_PROCFS 45config ACPI_PROCFS
79 bool "Procfs interface (deprecated)" 46 bool "Deprecated /proc/acpi files"
80 default y 47 depends on PROC_FS
81 ---help--- 48 ---help---
82 The Procfs interface for ACPI is made optional for backward compatibility. 49 For backwards compatibility, this option allows
83 As the same functions are duplicated in the sysfs interface 50 depricated /proc/acpi/ files to exist, even when
84 and this proc interface will be removed some time later, 51 they have been replaced by functions in /sys.
85 it's marked as deprecated. 52 The deprecated files (and their replacements) include:
86 ( /proc/acpi/debug_layer && debug_level are deprecated by 53
87 /sys/module/acpi/parameters/debug_layer && debug_level. 54 /proc/acpi/sleep (/sys/power/state)
88 /proc/acpi/info is deprecated by 55 /proc/acpi/info (/sys/modules/acpi/parameters/acpica_version)
89 /sys/module/acpi/parameters/acpica_version ) 56 /proc/acpi/dsdt (/sys/firmware/acpi/tables/DSDT)
57 /proc/acpi/fadt (/sys/firmware/acpi/tables/FACP)
58 /proc/acpi/debug_layer (/sys/module/acpi/parameters/debug_layer)
59 /proc/acpi/debug_level (/sys/module/acpi/parameters/debug_level)
60
61 This option has no effect on /proc/acpi/ files
62 and functions which do not yet exist in /sys.
63
64 Say N to delete /proc/acpi/ files that have moved to /sys/
90 65
91config ACPI_AC 66config ACPI_AC
92 tristate "AC Adapter" 67 tristate "AC Adapter"