Merge ../to-linus
[pandora-kernel.git] / drivers / acpi / Kconfig
1 #
2 # ACPI Configuration
3 #
4
5 menu "ACPI (Advanced Configuration and Power Interface) Support"
6         depends on PM
7         depends on !X86_VISWS
8         depends on !IA64_HP_SIM
9         depends on IA64 || X86
10
11 config ACPI
12         bool "ACPI Support"
13         depends on IA64 || X86
14
15         default y
16         ---help---
17           Advanced Configuration and Power Interface (ACPI) support for 
18           Linux requires an ACPI compliant platform (hardware/firmware),
19           and assumes the presence of OS-directed configuration and power
20           management (OSPM) software.  This option will enlarge your 
21           kernel by about 70K.
22
23           Linux ACPI provides a robust functional replacement for several 
24           legacy configuration and power management interfaces, including
25           the Plug-and-Play BIOS specification (PnP BIOS), the 
26           MultiProcessor Specification (MPS), and the Advanced Power 
27           Management (APM) specification.  If both ACPI and APM support 
28           are configured, whichever is loaded first shall be used.
29
30           The ACPI SourceForge project contains the latest source code, 
31           documentation, tools, mailing list subscription, and other 
32           information.  This project is available at:
33           <http://sourceforge.net/projects/acpi>
34
35           Linux support for ACPI is based on Intel Corporation's ACPI
36           Component Architecture (ACPI CA).  For more information see:
37           <http://developer.intel.com/technology/iapc/acpi>
38
39           ACPI is an open industry specification co-developed by Compaq, 
40           Intel, Microsoft, Phoenix, and Toshiba.  The specification is 
41           available at:
42           <http://www.acpi.info>
43
44 if ACPI
45
46 config ACPI_BOOT
47         bool
48         default y
49
50 config ACPI_INTERPRETER
51         bool
52         default y
53
54 if ACPI_INTERPRETER
55
56 config ACPI_SLEEP
57         bool "Sleep States (EXPERIMENTAL)"
58         depends on X86 && (!SMP || SUSPEND_SMP)
59         depends on EXPERIMENTAL && PM
60         default y
61         ---help---
62           This option adds support for ACPI suspend states. 
63
64           With this option, you will be able to put the system "to sleep". 
65           Sleep states are low power states for the system and devices. All
66           of the system operating state is saved to either memory or disk
67           (depending on the state), to allow the system to resume operation
68           quickly at your request.
69
70           Although this option sounds really nifty, barely any of the device
71           drivers have been converted to the new driver model and hence few
72           have proper power management support. 
73
74           This option is not recommended for anyone except those doing driver
75           power management development.
76
77 config ACPI_SLEEP_PROC_FS
78         bool
79         depends on ACPI_SLEEP && PROC_FS
80         default y
81
82 config ACPI_SLEEP_PROC_SLEEP
83         bool "/proc/acpi/sleep (deprecated)"
84         depends on ACPI_SLEEP_PROC_FS
85         default n
86         ---help---
87           Create /proc/acpi/sleep
88           Deprecated by /sys/power/state
89
90 config ACPI_AC
91         tristate "AC Adapter"
92         depends on X86
93         default m
94         help
95           This driver adds support for the AC Adapter object, which indicates
96           whether a system is on AC, or not.  Typically, only mobile systems 
97           have this object, since desktops are always on AC.
98
99 config ACPI_BATTERY
100         tristate "Battery"
101         depends on X86
102         default m
103         help
104           This driver adds support for battery information through
105           /proc/acpi/battery. If you have a mobile system with a battery, 
106           say Y.
107
108 config ACPI_BUTTON
109         tristate "Button"
110         default m
111         help
112           This driver registers for events based on buttons, such as the
113           power, sleep, and lid switch.  In the future, a daemon will read
114           /proc/acpi/event and perform user-defined actions such as shutting
115           down the system.  Until then, you can cat it, and see output when
116           a button is pressed.
117
118 config ACPI_VIDEO
119         tristate "Video"
120         depends on EXPERIMENTAL
121         default m
122         help
123           This driver implement the ACPI Extensions For Display Adapters
124           for integrated graphics devices on motherboard, as specified in
125           ACPI 2.0 Specification, Appendix B, allowing to perform some basic
126           control like defining the video POST device, retrieving EDID information
127           or to setup a video output, etc.
128           Note that this is an ref. implementation only.  It may or may not work
129           for your integrated video device.
130
131 config ACPI_HOTKEY
132         tristate "Generic Hotkey"
133         depends on ACPI_INTERPRETER
134         depends on EXPERIMENTAL
135         depends on !IA64_SGI_SN
136         default n
137         help
138           Experimental consolidated hotkey driver.
139           If you are unsure, say N.
140
141 config ACPI_FAN
142         tristate "Fan"
143         default m
144         help
145           This driver adds support for ACPI fan devices, allowing user-mode 
146           applications to perform basic fan control (on, off, status).
147
148 config ACPI_PROCESSOR
149         tristate "Processor"
150         default m
151         help
152           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
154           support it.
155
156 config ACPI_HOTPLUG_CPU
157         bool
158         depends on ACPI_PROCESSOR && HOTPLUG_CPU
159         select ACPI_CONTAINER
160         default y
161
162 config ACPI_THERMAL
163         tristate "Thermal Zone"
164         depends on ACPI_PROCESSOR
165         default m
166         help
167           This driver adds support for ACPI thermal zones.  Most mobile and
168           some desktop systems support ACPI thermal zones.  It is HIGHLY
169           recommended that this option be enabled, as your processor(s)
170           may be damaged without it.
171
172 config ACPI_NUMA
173         bool "NUMA support"
174         depends on NUMA
175         depends on (IA64 || X86_64)
176         default y if IA64_GENERIC || IA64_SGI_SN2
177
178 config ACPI_ASUS
179         tristate "ASUS/Medion Laptop Extras"
180         depends on X86
181         default m
182         ---help---
183           This driver provides support for extra features of ACPI-compatible
184           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
185           support some Medion laptops (such as 9675 for example).  It makes all
186           the extra buttons generate standard ACPI events that go through
187           /proc/acpi/events, and (on some models) adds support for changing the
188           display brightness and output, switching the LCD backlight on and off,
189           and most importantly, allows you to blink those fancy LEDs intended
190           for reporting mail and wireless status.
191
192           Note: display switching code is currently considered EXPERIMENTAL,
193           toying with these values may even lock your machine.
194           
195           All settings are changed via /proc/acpi/asus directory entries. Owner
196           and group for these entries can be set with asus_uid and asus_gid
197           parameters.
198           
199           More information and a userspace daemon for handling the extra buttons
200           at <http://sourceforge.net/projects/acpi4asus/>.
201           
202           If you have an ACPI-compatible ASUS laptop, say Y or M here. This
203           driver is still under development, so if your laptop is unsupported or
204           something works not quite as expected, please use the mailing list
205           available on the above page (acpi4asus-user@lists.sourceforge.net)
206           
207 config ACPI_IBM
208         tristate "IBM ThinkPad Laptop Extras"
209         depends on X86
210         default m
211         ---help---
212           This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
213           support for Fn-Fx key combinations, Bluetooth control, video
214           output switching, ThinkLight control, UltraBay eject and more.
215           For more information about this driver see <file:Documentation/ibm-acpi.txt>
216           and <http://ibm-acpi.sf.net/> .
217
218           If you have an IBM ThinkPad laptop, say Y or M here.
219
220 config ACPI_TOSHIBA
221         tristate "Toshiba Laptop Extras"
222         depends on X86
223         default m
224         ---help---
225           This driver adds support for access to certain system settings
226           on "legacy free" Toshiba laptops.  These laptops can be recognized by
227           their lack of a BIOS setup menu and APM support.
228
229           On these machines, all system configuration is handled through the
230           ACPI.  This driver is required for access to controls not covered
231           by the general ACPI drivers, such as LCD brightness, video output,
232           etc.
233
234           This driver differs from the non-ACPI Toshiba laptop driver (located
235           under "Processor type and features") in several aspects.
236           Configuration is accessed by reading and writing text files in the
237           /proc tree instead of by program interface to /dev.  Furthermore, no
238           power management functions are exposed, as those are handled by the
239           general ACPI drivers.
240
241           More information about this driver is available at
242           <http://memebeam.org/toys/ToshibaAcpiDriver>.
243
244           If you have a legacy free Toshiba laptop (such as the Libretto L1
245           series), say Y.
246
247 config ACPI_CUSTOM_DSDT
248         bool "Include Custom DSDT"
249         depends on !STANDALONE
250         default n 
251         help
252           Thist option is to load a custom ACPI DSDT
253           If you don't know what that is, say N.
254
255 config ACPI_CUSTOM_DSDT_FILE
256         string "Custom DSDT Table file to include"
257         depends on ACPI_CUSTOM_DSDT
258         default ""
259         help
260           Enter the full path name to the file wich includes the AmlCode declaration.
261
262 config ACPI_BLACKLIST_YEAR
263         int "Disable ACPI for systems before Jan 1st this year"
264         depends on ACPI_INTERPRETER
265         default 0
266         help
267           enter a 4-digit year, eg. 2001 to disable ACPI by default
268           on platforms with DMI BIOS date before January 1st that year.
269           "acpi=force" can be used to override this mechanism.
270
271           Enter 0 to disable this mechanism and allow ACPI to
272           run by default no matter what the year.  (default)
273
274 config ACPI_DEBUG
275         bool "Debug Statements"
276         default n
277         help
278           The ACPI driver can optionally report errors with a great deal
279           of verbosity. Saying Y enables these statements. This will increase
280           your kernel size by around 50K.
281
282 config ACPI_BUS
283         bool
284         default y
285
286 config ACPI_EC
287         bool
288         depends on X86
289         default y
290         help
291           This driver is required on some systems for the proper operation of
292           the battery and thermal drivers.  If you are compiling for a 
293           mobile system, say Y.
294
295 config ACPI_POWER
296         bool
297         default y
298
299 config ACPI_PCI
300         bool
301         default PCI
302
303 config ACPI_SYSTEM
304         bool
305         default y
306         help
307           This driver will enable your system to shut down using ACPI, and
308           dump your ACPI DSDT table using /proc/acpi/dsdt.
309
310 endif   # ACPI_INTERPRETER
311
312 config X86_PM_TIMER
313         bool "Power Management Timer Support"
314         depends on X86
315         depends on ACPI_BOOT && EXPERIMENTAL
316         depends on !X86_64
317         default n
318         help
319           The Power Management Timer is available on all ACPI-capable,
320           in most cases even if ACPI is unusable or blacklisted.
321
322           This timing source is not affected by powermanagement features
323           like aggressive processor idling, throttling, frequency and/or
324           voltage scaling, unlike the commonly used Time Stamp Counter
325           (TSC) timing source.
326
327           So, if you see messages like 'Losing too many ticks!' in the
328           kernel logs, and/or you are using this on a notebook which
329           does not yet have an HPET, you should say "Y" here.
330
331 config ACPI_CONTAINER
332         tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
333         depends on EXPERIMENTAL
334         default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
335          ---help---
336           This allows _physical_ insertion and removal of CPUs and memory.
337           This can be useful, for example, on NUMA machines that support
338           ACPI based physical hotplug of nodes, or non-NUMA machines that
339           support physical cpu/memory hot-plug.
340
341           If one selects "m", this driver can be loaded with
342           "modprobe acpi_container".
343
344 config ACPI_HOTPLUG_MEMORY
345         tristate "Memory Hotplug"
346         depends on ACPI
347         depends on MEMORY_HOTPLUG
348         default n
349         help
350           This driver adds supports for ACPI Memory Hotplug.  This driver
351           provides support for fielding notifications on ACPI memory
352           devices (PNP0C80) which represent memory ranges that may be
353           onlined or offlined during runtime.  
354
355           Enabling this driver assumes that your platform hardware
356           and firmware have support for hot-plugging physical memory. If
357           your system does not support physically adding or ripping out 
358           memory DIMMs at some platfrom defined granularity (individually 
359           or as a bank) at runtime, then you need not enable this driver.
360
361           If one selects "m," this driver can be loaded using the following
362           command: 
363                 $>modprobe acpi_memhotplug 
364 endif   # ACPI
365
366 endmenu