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