]> bbs.cooldavid.org Git - net-next-2.6.git/blob - drivers/acpi/Kconfig
6f66a937ba208c63a752a1a21ede738ea85f8919
[net-next-2.6.git] / drivers / acpi / Kconfig
1 #
2 # ACPI Configuration
3 #
4
5 menuconfig ACPI
6         bool "ACPI (Advanced Configuration and Power Interface) Support"
7         depends on !IA64_HP_SIM
8         depends on IA64 || X86
9         depends on PCI
10         depends on PM
11         select PNP
12         select CPU_IDLE
13         default y
14         help
15           Advanced Configuration and Power Interface (ACPI) support for 
16           Linux requires an ACPI-compliant platform (hardware/firmware),
17           and assumes the presence of OS-directed configuration and power
18           management (OSPM) software.  This option will enlarge your 
19           kernel by about 70K.
20
21           Linux ACPI provides a robust functional replacement for several 
22           legacy configuration and power management interfaces, including
23           the Plug-and-Play BIOS specification (PnP BIOS), the 
24           MultiProcessor Specification (MPS), and the Advanced Power 
25           Management (APM) specification.  If both ACPI and APM support 
26           are configured, ACPI is used.
27
28           The project home page for the Linux ACPI subsystem is here:
29           <http://www.lesswatts.org/projects/acpi/>
30
31           Linux support for ACPI is based on Intel Corporation's ACPI
32           Component Architecture (ACPI CA).  For more information on the
33           ACPI CA, see:
34           <http://acpica.org/>
35
36           ACPI is an open industry specification co-developed by
37           Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba.
38           The specification is available at:
39           <http://www.acpi.info>
40
41 if ACPI
42
43 config ACPI_SLEEP
44         bool
45         depends on SUSPEND || HIBERNATION
46         default y
47
48 config ACPI_PROCFS
49         bool "Deprecated /proc/acpi files"
50         depends on PROC_FS
51         help
52           For backwards compatibility, this option allows
53           deprecated /proc/acpi/ files to exist, even when
54           they have been replaced by functions in /sys.
55           The deprecated files (and their replacements) include:
56
57           /proc/acpi/processor/*/throttling (/sys/class/thermal/
58                 cooling_device*/*)
59           This option has no effect on /proc/acpi/ files
60           and functions which do not yet exist in /sys.
61
62           Say N to delete /proc/acpi/ files that have moved to /sys/
63
64 config ACPI_PROCFS_POWER
65         bool "Deprecated power /proc/acpi directories"
66         depends on PROC_FS
67         default y
68         help
69           For backwards compatibility, this option allows
70           deprecated power /proc/acpi/ directories to exist, even when
71           they have been replaced by functions in /sys.
72           The deprecated directories (and their replacements) include:
73           /proc/acpi/battery/* (/sys/class/power_supply/*)
74           /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
75           This option has no effect on /proc/acpi/ directories
76           and functions, which do not yet exist in /sys
77
78           Say N to delete power /proc/acpi/ directories that have moved to /sys/
79
80 config ACPI_POWER_METER
81         tristate "ACPI 4.0 power meter"
82         depends on HWMON
83         help
84           This driver exposes ACPI 4.0 power meters as hardware monitoring
85           devices.  Say Y (or M) if you have a computer with ACPI 4.0 firmware
86           and a power meter.
87
88           To compile this driver as a module, choose M here:
89           the module will be called power-meter.
90
91 config ACPI_SYSFS_POWER
92         bool "Future power /sys interface"
93         select POWER_SUPPLY
94         default y
95         help
96           Say N to disable power /sys interface
97
98 config ACPI_PROC_EVENT
99         bool "Deprecated /proc/acpi/event support"
100         depends on PROC_FS
101         default y
102         help
103           A user-space daemon, acpid, typically reads /proc/acpi/event
104           and handles all ACPI-generated events.
105
106           These events are now delivered to user-space either
107           via the input layer or as netlink events.
108
109           This build option enables the old code for legacy
110           user-space implementation.  After some time, this will
111           be moved under CONFIG_ACPI_PROCFS, and then deleted.
112
113           Say Y here to retain the old behaviour.  Say N if your
114           user-space is newer than kernel 2.6.23 (September 2007).
115
116 config ACPI_AC
117         tristate "AC Adapter"
118         depends on X86
119         default y
120         help
121           This driver supports the AC Adapter object, which indicates
122           whether a system is on AC or not.  If you have a system that can
123           switch between A/C and battery, say Y.
124
125           To compile this driver as a module, choose M here:
126           the module will be called ac.
127
128 config ACPI_BATTERY
129         tristate "Battery"
130         depends on X86
131         default y
132         help
133           This driver adds support for battery information through
134           /proc/acpi/battery. If you have a mobile system with a battery, 
135           say Y.
136
137           To compile this driver as a module, choose M here:
138           the module will be called battery.
139
140 config ACPI_BUTTON
141         tristate "Button"
142         depends on INPUT
143         default y
144         help
145           This driver handles events on the power, sleep, and lid buttons.
146           A daemon reads /proc/acpi/event and perform user-defined actions
147           such as shutting down the system.  This is necessary for
148           software-controlled poweroff.
149
150           To compile this driver as a module, choose M here:
151           the module will be called button.
152
153 config ACPI_VIDEO
154         tristate "Video"
155         depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
156         depends on INPUT
157         select THERMAL
158         help
159           This driver implements the ACPI Extensions For Display Adapters
160           for integrated graphics devices on motherboard, as specified in
161           ACPI 2.0 Specification, Appendix B.  This supports basic operations
162           such as defining the video POST device, retrieving EDID information,
163           and setting up a video output.
164
165           To compile this driver as a module, choose M here:
166           the module will be called video.
167
168 config ACPI_FAN
169         tristate "Fan"
170         select THERMAL
171         default y
172         help
173           This driver supports ACPI fan devices, allowing user-mode
174           applications to perform basic fan control (on, off, status).
175
176           To compile this driver as a module, choose M here:
177           the module will be called fan.
178
179 config ACPI_DOCK
180         bool "Dock"
181         depends on EXPERIMENTAL
182         help
183           This driver supports ACPI-controlled docking stations and removable
184           drive bays such as the IBM Ultrabay and the Dell Module Bay.
185
186 config ACPI_PROCESSOR
187         tristate "Processor"
188         select THERMAL
189         default y
190         help
191           This driver installs ACPI as the idle handler for Linux and uses
192           ACPI C2 and C3 processor states to save power on systems that
193           support it.  It is required by several flavors of cpufreq
194           performance-state drivers.
195
196           To compile this driver as a module, choose M here:
197           the module will be called processor.
198
199 config ACPI_HOTPLUG_CPU
200         bool
201         depends on ACPI_PROCESSOR && HOTPLUG_CPU
202         select ACPI_CONTAINER
203         default y
204
205 config ACPI_PROCESSOR_AGGREGATOR
206         tristate "Processor Aggregator"
207         depends on ACPI_PROCESSOR
208         depends on EXPERIMENTAL
209         depends on X86
210         help
211           ACPI 4.0 defines processor Aggregator, which enables OS to perform
212           specific processor configuration and control that applies to all
213           processors in the platform. Currently only logical processor idling
214           is defined, which is to reduce power consumption. This driver
215           supports the new device.
216
217 config ACPI_THERMAL
218         tristate "Thermal Zone"
219         depends on ACPI_PROCESSOR
220         select THERMAL
221         default y
222         help
223           This driver supports ACPI thermal zones.  Most mobile and
224           some desktop systems support ACPI thermal zones.  It is HIGHLY
225           recommended that this option be enabled, as your processor(s)
226           may be damaged without it.
227
228           To compile this driver as a module, choose M here:
229           the module will be called thermal.
230
231 config ACPI_NUMA
232         bool "NUMA support"
233         depends on NUMA
234         depends on (X86 || IA64)
235         default y if IA64_GENERIC || IA64_SGI_SN2
236
237 config ACPI_CUSTOM_DSDT_FILE
238         string "Custom DSDT Table file to include"
239         default ""
240         depends on !STANDALONE
241         help
242           This option supports a custom DSDT by linking it into the kernel.
243           See Documentation/acpi/dsdt-override.txt
244
245           Enter the full path name to the file which includes the AmlCode
246           declaration.
247
248           If unsure, don't enter a file name.
249
250 config ACPI_CUSTOM_DSDT
251         bool
252         default ACPI_CUSTOM_DSDT_FILE != ""
253
254 config ACPI_BLACKLIST_YEAR
255         int "Disable ACPI for systems before Jan 1st this year" if X86_32
256         default 0
257         help
258           Enter a 4-digit year, e.g., 2001, to disable ACPI by default
259           on platforms with DMI BIOS date before January 1st that year.
260           "acpi=force" can be used to override this mechanism.
261
262           Enter 0 to disable this mechanism and allow ACPI to
263           run by default no matter what the year.  (default)
264
265 config ACPI_DEBUG
266         bool "Debug Statements"
267         default n
268         help
269           The ACPI subsystem can produce debug output.  Saying Y enables this
270           output and increases the kernel size by around 50K.
271
272           Use the acpi.debug_layer and acpi.debug_level kernel command-line
273           parameters documented in Documentation/acpi/debug.txt and
274           Documentation/kernel-parameters.txt to control the type and
275           amount of debug output.
276
277 config ACPI_DEBUG_FUNC_TRACE
278         bool "Additionally enable ACPI function tracing"
279         default n
280         depends on ACPI_DEBUG
281         help
282           ACPI Debug Statements slow down ACPI processing. Function trace
283           is about half of the penalty and is rarely useful.
284
285 config ACPI_PCI_SLOT
286         tristate "PCI slot detection driver"
287         depends on SYSFS
288         default n
289         help
290           This driver creates entries in /sys/bus/pci/slots/ for all PCI
291           slots in the system.  This can help correlate PCI bus addresses,
292           i.e., segment/bus/device/function tuples, with physical slots in
293           the system.  If you are unsure, say N.
294
295           To compile this driver as a module, choose M here:
296           the module will be called pci_slot.
297
298 config X86_PM_TIMER
299         bool "Power Management Timer Support" if EMBEDDED
300         depends on X86
301         default y
302         help
303           The Power Management Timer is available on all ACPI-capable,
304           in most cases even if ACPI is unusable or blacklisted.
305
306           This timing source is not affected by power management features
307           like aggressive processor idling, throttling, frequency and/or
308           voltage scaling, unlike the commonly used Time Stamp Counter
309           (TSC) timing source.
310
311           You should nearly always say Y here because many modern
312           systems require this timer. 
313
314 config ACPI_CONTAINER
315         tristate "Container and Module Devices (EXPERIMENTAL)"
316         depends on EXPERIMENTAL
317         default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
318         help
319           This driver supports ACPI Container and Module devices (IDs
320           ACPI0004, PNP0A05, and PNP0A06).
321
322           This helps support hotplug of nodes, CPUs, and memory.
323
324           To compile this driver as a module, choose M here:
325           the module will be called container.
326
327 config ACPI_HOTPLUG_MEMORY
328         tristate "Memory Hotplug"
329         depends on MEMORY_HOTPLUG
330         default n
331         help
332           This driver supports ACPI memory hotplug.  The driver
333           fields notifications on ACPI memory devices (PNP0C80),
334           which represent memory ranges that may be onlined or
335           offlined during runtime.
336
337           If your hardware and firmware do not support adding or
338           removing memory devices at runtime, you need not enable
339           this driver.
340
341           To compile this driver as a module, choose M here:
342           the module will be called acpi_memhotplug.
343
344 config ACPI_SBS
345         tristate "Smart Battery System"
346         depends on X86
347         help
348           This driver supports the Smart Battery System, another
349           type of access to battery information, found on some laptops.
350
351           To compile this driver as a module, choose M here:
352           the modules will be called sbs and sbshc.
353
354 config ACPI_HED
355         tristate "Hardware Error Device"
356         help
357           This driver supports the Hardware Error Device (PNP0C33),
358           which is used to report some hardware errors notified via
359           SCI, mainly the corrected errors.
360
361 source "drivers/acpi/apei/Kconfig"
362
363 endif   # ACPI