aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r--drivers/acpi/Kconfig83
1 files changed, 30 insertions, 53 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index ba13896cae40..3998c9d35fe1 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -3,7 +3,6 @@
3# 3#
4 4
5menu "ACPI (Advanced Configuration and Power Interface) Support" 5menu "ACPI (Advanced Configuration and Power Interface) Support"
6 depends on PM
7 depends on !X86_VISWS 6 depends on !X86_VISWS
8 depends on !IA64_HP_SIM 7 depends on !IA64_HP_SIM
9 depends on IA64 || X86 8 depends on IA64 || X86
@@ -11,6 +10,8 @@ menu "ACPI (Advanced Configuration and Power Interface) Support"
11config ACPI 10config ACPI
12 bool "ACPI Support" 11 bool "ACPI Support"
13 depends on IA64 || X86 12 depends on IA64 || X86
13 select PM
14 select PCI
14 15
15 default y 16 default y
16 ---help--- 17 ---help---
@@ -43,20 +44,10 @@ config ACPI
43 44
44if ACPI 45if ACPI
45 46
46config ACPI_BOOT
47 bool
48 default y
49
50config ACPI_INTERPRETER
51 bool
52 default y
53
54if ACPI_INTERPRETER
55
56config ACPI_SLEEP 47config ACPI_SLEEP
57 bool "Sleep States (EXPERIMENTAL)" 48 bool "Sleep States"
58 depends on X86 && (!SMP || SUSPEND_SMP) 49 depends on X86 && (!SMP || SUSPEND_SMP)
59 depends on EXPERIMENTAL && PM 50 depends on PM
60 default y 51 default y
61 ---help--- 52 ---help---
62 This option adds support for ACPI suspend states. 53 This option adds support for ACPI suspend states.
@@ -90,16 +81,16 @@ config ACPI_SLEEP_PROC_SLEEP
90config ACPI_AC 81config ACPI_AC
91 tristate "AC Adapter" 82 tristate "AC Adapter"
92 depends on X86 83 depends on X86
93 default m 84 default y
94 help 85 help
95 This driver adds support for the AC Adapter object, which indicates 86 This driver adds support for the AC Adapter object, which indicates
96 whether a system is on AC, or not. Typically, only mobile systems 87 whether a system is on AC, or not. If you have a system that can
97 have this object, since desktops are always on AC. 88 switch between A/C and battery, say Y.
98 89
99config ACPI_BATTERY 90config ACPI_BATTERY
100 tristate "Battery" 91 tristate "Battery"
101 depends on X86 92 depends on X86
102 default m 93 default y
103 help 94 help
104 This driver adds support for battery information through 95 This driver adds support for battery information through
105 /proc/acpi/battery. If you have a mobile system with a battery, 96 /proc/acpi/battery. If you have a mobile system with a battery,
@@ -107,18 +98,17 @@ config ACPI_BATTERY
107 98
108config ACPI_BUTTON 99config ACPI_BUTTON
109 tristate "Button" 100 tristate "Button"
110 default m 101 default y
111 help 102 help
112 This driver registers for events based on buttons, such as the 103 This driver handles events on the power, sleep and lid buttons.
113 power, sleep, and lid switch. In the future, a daemon will read 104 A daemon reads /proc/acpi/event and perform user-defined actions
114 /proc/acpi/event and perform user-defined actions such as shutting 105 such as shutting down the system. This is necessary for
115 down the system. Until then, you can cat it, and see output when 106 software controlled poweroff.
116 a button is pressed.
117 107
118config ACPI_VIDEO 108config ACPI_VIDEO
119 tristate "Video" 109 tristate "Video"
120 depends on EXPERIMENTAL 110 depends on X86
121 default m 111 default y
122 help 112 help
123 This driver implement the ACPI Extensions For Display Adapters 113 This driver implement the ACPI Extensions For Display Adapters
124 for integrated graphics devices on motherboard, as specified in 114 for integrated graphics devices on motherboard, as specified in
@@ -129,10 +119,9 @@ config ACPI_VIDEO
129 for your integrated video device. 119 for your integrated video device.
130 120
131config ACPI_HOTKEY 121config ACPI_HOTKEY
132 tristate "Generic Hotkey" 122 tristate "Generic Hotkey (EXPERIMENTAL)"
133 depends on ACPI_INTERPRETER
134 depends on EXPERIMENTAL 123 depends on EXPERIMENTAL
135 depends on !IA64_SGI_SN 124 depends on X86
136 default n 125 default n
137 help 126 help
138 Experimental consolidated hotkey driver. 127 Experimental consolidated hotkey driver.
@@ -140,31 +129,30 @@ config ACPI_HOTKEY
140 129
141config ACPI_FAN 130config ACPI_FAN
142 tristate "Fan" 131 tristate "Fan"
143 default m 132 default y
144 help 133 help
145 This driver adds support for ACPI fan devices, allowing user-mode 134 This driver adds support for ACPI fan devices, allowing user-mode
146 applications to perform basic fan control (on, off, status). 135 applications to perform basic fan control (on, off, status).
147 136
148config ACPI_PROCESSOR 137config ACPI_PROCESSOR
149 tristate "Processor" 138 tristate "Processor"
150 default m 139 default y
151 help 140 help
152 This driver installs ACPI as the idle handler for Linux, and uses 141 This driver installs ACPI as the idle handler for Linux, and uses
153 ACPI C2 and C3 processor states to save power, on systems that 142 ACPI C2 and C3 processor states to save power, on systems that
154 support it. 143 support it. It is required by several flavors of cpufreq
144 Performance-state drivers.
155 145
156config ACPI_HOTPLUG_CPU 146config ACPI_HOTPLUG_CPU
157 bool "Processor Hotplug (EXPERIMENTAL)" 147 bool
158 depends on ACPI_PROCESSOR && HOTPLUG_CPU && EXPERIMENTAL 148 depends on ACPI_PROCESSOR && HOTPLUG_CPU
159 select ACPI_CONTAINER 149 select ACPI_CONTAINER
160 default n 150 default y
161 ---help---
162 Select this option if your platform support physical CPU hotplug.
163 151
164config ACPI_THERMAL 152config ACPI_THERMAL
165 tristate "Thermal Zone" 153 tristate "Thermal Zone"
166 depends on ACPI_PROCESSOR 154 depends on ACPI_PROCESSOR
167 default m 155 default y
168 help 156 help
169 This driver adds support for ACPI thermal zones. Most mobile and 157 This driver adds support for ACPI thermal zones. Most mobile and
170 some desktop systems support ACPI thermal zones. It is HIGHLY 158 some desktop systems support ACPI thermal zones. It is HIGHLY
@@ -180,7 +168,7 @@ config ACPI_NUMA
180config ACPI_ASUS 168config ACPI_ASUS
181 tristate "ASUS/Medion Laptop Extras" 169 tristate "ASUS/Medion Laptop Extras"
182 depends on X86 170 depends on X86
183 default m 171 default y
184 ---help--- 172 ---help---
185 This driver provides support for extra features of ACPI-compatible 173 This driver provides support for extra features of ACPI-compatible
186 ASUS laptops. As some of Medion laptops are made by ASUS, it may also 174 ASUS laptops. As some of Medion laptops are made by ASUS, it may also
@@ -209,7 +197,7 @@ config ACPI_ASUS
209config ACPI_IBM 197config ACPI_IBM
210 tristate "IBM ThinkPad Laptop Extras" 198 tristate "IBM ThinkPad Laptop Extras"
211 depends on X86 199 depends on X86
212 default m 200 default y
213 ---help--- 201 ---help---
214 This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds 202 This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
215 support for Fn-Fx key combinations, Bluetooth control, video 203 support for Fn-Fx key combinations, Bluetooth control, video
@@ -222,7 +210,7 @@ config ACPI_IBM
222config ACPI_TOSHIBA 210config ACPI_TOSHIBA
223 tristate "Toshiba Laptop Extras" 211 tristate "Toshiba Laptop Extras"
224 depends on X86 212 depends on X86
225 default m 213 default y
226 ---help--- 214 ---help---
227 This driver adds support for access to certain system settings 215 This driver adds support for access to certain system settings
228 on "legacy free" Toshiba laptops. These laptops can be recognized by 216 on "legacy free" Toshiba laptops. These laptops can be recognized by
@@ -263,7 +251,7 @@ config ACPI_CUSTOM_DSDT_FILE
263 251
264config ACPI_BLACKLIST_YEAR 252config ACPI_BLACKLIST_YEAR
265 int "Disable ACPI for systems before Jan 1st this year" 253 int "Disable ACPI for systems before Jan 1st this year"
266 depends on ACPI_INTERPRETER 254 depends on X86
267 default 0 255 default 0
268 help 256 help
269 enter a 4-digit year, eg. 2001 to disable ACPI by default 257 enter a 4-digit year, eg. 2001 to disable ACPI by default
@@ -281,10 +269,6 @@ config ACPI_DEBUG
281 of verbosity. Saying Y enables these statements. This will increase 269 of verbosity. Saying Y enables these statements. This will increase
282 your kernel size by around 50K. 270 your kernel size by around 50K.
283 271
284config ACPI_BUS
285 bool
286 default y
287
288config ACPI_EC 272config ACPI_EC
289 bool 273 bool
290 depends on X86 274 depends on X86
@@ -298,10 +282,6 @@ config ACPI_POWER
298 bool 282 bool
299 default y 283 default y
300 284
301config ACPI_PCI
302 bool
303 default PCI
304
305config ACPI_SYSTEM 285config ACPI_SYSTEM
306 bool 286 bool
307 default y 287 default y
@@ -309,14 +289,11 @@ config ACPI_SYSTEM
309 This driver will enable your system to shut down using ACPI, and 289 This driver will enable your system to shut down using ACPI, and
310 dump your ACPI DSDT table using /proc/acpi/dsdt. 290 dump your ACPI DSDT table using /proc/acpi/dsdt.
311 291
312endif # ACPI_INTERPRETER
313
314config X86_PM_TIMER 292config X86_PM_TIMER
315 bool "Power Management Timer Support" 293 bool "Power Management Timer Support"
316 depends on X86 294 depends on X86
317 depends on ACPI_BOOT && EXPERIMENTAL
318 depends on !X86_64 295 depends on !X86_64
319 default n 296 default y
320 help 297 help
321 The Power Management Timer is available on all ACPI-capable, 298 The Power Management Timer is available on all ACPI-capable,
322 in most cases even if ACPI is unusable or blacklisted. 299 in most cases even if ACPI is unusable or blacklisted.