]> git.karo-electronics.de Git - mv-sheeva.git/blob - drivers/acpi/Kconfig
ACPI: Make ACPI processor proc I/F depend on the ACPI_PROCFS
[mv-sheeva.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/sleep (/sys/power/state)
58           /proc/acpi/info (/sys/module/acpi/parameters/acpica_version)
59           /proc/acpi/dsdt (/sys/firmware/acpi/tables/DSDT)
60           /proc/acpi/fadt (/sys/firmware/acpi/tables/FACP)
61           /proc/acpi/debug_layer (/sys/module/acpi/parameters/debug_layer)
62           /proc/acpi/debug_level (/sys/module/acpi/parameters/debug_level)
63           /proc/acpi/processor/*/power (/sys/devices/system/cpu/*/cpuidle/*)
64           /proc/acpi/processor/*/performance (/sys/devices/system/cpu/*/
65                 cpufreq/*)
66           /proc/acpi/processor/*/throttling (/sys/class/thermal/
67                 cooling_device*/*)
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_PROCFS_POWER
74         bool "Deprecated power /proc/acpi directories"
75         depends on PROC_FS
76         default y
77         help
78           For backwards compatibility, this option allows
79           deprecated power /proc/acpi/ directories to exist, even when
80           they have been replaced by functions in /sys.
81           The deprecated directories (and their replacements) include:
82           /proc/acpi/battery/* (/sys/class/power_supply/*)
83           /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
84           This option has no effect on /proc/acpi/ directories
85           and functions, which do not yet exist in /sys
86
87           Say N to delete power /proc/acpi/ directories that have moved to /sys/
88
89 config ACPI_SYSFS_POWER
90         bool "Future power /sys interface"
91         select POWER_SUPPLY
92         default y
93         help
94           Say N to disable power /sys interface
95
96 config ACPI_PROC_EVENT
97         bool "Deprecated /proc/acpi/event support"
98         depends on PROC_FS
99         default y
100         help
101           A user-space daemon, acpid, typically reads /proc/acpi/event
102           and handles all ACPI-generated events.
103
104           These events are now delivered to user-space either
105           via the input layer or as netlink events.
106
107           This build option enables the old code for legacy
108           user-space implementation.  After some time, this will
109           be moved under CONFIG_ACPI_PROCFS, and then deleted.
110
111           Say Y here to retain the old behaviour.  Say N if your
112           user-space is newer than kernel 2.6.23 (September 2007).
113
114 config ACPI_AC
115         tristate "AC Adapter"
116         depends on X86
117         default y
118         help
119           This driver supports the AC Adapter object, which indicates
120           whether a system is on AC or not.  If you have a system that can
121           switch between A/C and battery, say Y.
122
123           To compile this driver as a module, choose M here:
124           the module will be called ac.
125
126 config ACPI_BATTERY
127         tristate "Battery"
128         depends on X86
129         default y
130         help
131           This driver adds support for battery information through
132           /proc/acpi/battery. If you have a mobile system with a battery, 
133           say Y.
134
135           To compile this driver as a module, choose M here:
136           the module will be called battery.
137
138 config ACPI_BUTTON
139         tristate "Button"
140         depends on INPUT
141         default y
142         help
143           This driver handles events on the power, sleep, and lid buttons.
144           A daemon reads /proc/acpi/event and perform user-defined actions
145           such as shutting down the system.  This is necessary for
146           software-controlled poweroff.
147
148           To compile this driver as a module, choose M here:
149           the module will be called button.
150
151 config ACPI_VIDEO
152         tristate "Video"
153         depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
154         depends on INPUT
155         select THERMAL
156         help
157           This driver implements the ACPI Extensions For Display Adapters
158           for integrated graphics devices on motherboard, as specified in
159           ACPI 2.0 Specification, Appendix B.  This supports basic operations
160           such as defining the video POST device, retrieving EDID information,
161           and setting up a video output.
162
163           To compile this driver as a module, choose M here:
164           the module will be called video.
165
166 config ACPI_FAN
167         tristate "Fan"
168         select THERMAL
169         default y
170         help
171           This driver supports ACPI fan devices, allowing user-mode
172           applications to perform basic fan control (on, off, status).
173
174           To compile this driver as a module, choose M here:
175           the module will be called fan.
176
177 config ACPI_DOCK
178         bool "Dock"
179         depends on EXPERIMENTAL
180         help
181           This driver supports ACPI-controlled docking stations and removable
182           drive bays such as the IBM Ultrabay and the Dell Module Bay.
183
184 config ACPI_PROCESSOR
185         tristate "Processor"
186         select THERMAL
187         default y
188         help
189           This driver installs ACPI as the idle handler for Linux and uses
190           ACPI C2 and C3 processor states to save power on systems that
191           support it.  It is required by several flavors of cpufreq
192           performance-state drivers.
193
194           To compile this driver as a module, choose M here:
195           the module will be called processor.
196
197 config ACPI_HOTPLUG_CPU
198         bool
199         depends on ACPI_PROCESSOR && HOTPLUG_CPU
200         select ACPI_CONTAINER
201         default y
202
203 config ACPI_THERMAL
204         tristate "Thermal Zone"
205         depends on ACPI_PROCESSOR
206         select THERMAL
207         default y
208         help
209           This driver supports ACPI thermal zones.  Most mobile and
210           some desktop systems support ACPI thermal zones.  It is HIGHLY
211           recommended that this option be enabled, as your processor(s)
212           may be damaged without it.
213
214           To compile this driver as a module, choose M here:
215           the module will be called thermal.
216
217 config ACPI_NUMA
218         bool "NUMA support"
219         depends on NUMA
220         depends on (X86 || IA64)
221         default y if IA64_GENERIC || IA64_SGI_SN2
222
223 config ACPI_CUSTOM_DSDT_FILE
224         string "Custom DSDT Table file to include"
225         default ""
226         depends on !STANDALONE
227         help
228           This option supports a custom DSDT by linking it into the kernel.
229           See Documentation/acpi/dsdt-override.txt
230
231           Enter the full path name to the file which includes the AmlCode
232           declaration.
233
234           If unsure, don't enter a file name.
235
236 config ACPI_CUSTOM_DSDT
237         bool
238         default ACPI_CUSTOM_DSDT_FILE != ""
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, e.g., 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 subsystem can produce debug output.  Saying Y enables this
256           output and increases the kernel size by around 50K.
257
258           Use the acpi.debug_layer and acpi.debug_level kernel command-line
259           parameters documented in Documentation/acpi/debug.txt and
260           Documentation/kernel-parameters.txt to control the type and
261           amount of debug output.
262
263 config ACPI_DEBUG_FUNC_TRACE
264         bool "Additionally enable ACPI function tracing"
265         default n
266         depends on ACPI_DEBUG
267         help
268           ACPI Debug Statements slow down ACPI processing. Function trace
269           is about half of the penalty and is rarely useful.
270
271 config ACPI_PCI_SLOT
272         tristate "PCI slot detection driver"
273         default n
274         help
275           This driver creates entries in /sys/bus/pci/slots/ for all PCI
276           slots in the system.  This can help correlate PCI bus addresses,
277           i.e., segment/bus/device/function tuples, with physical slots in
278           the system.  If you are unsure, say N.
279
280           To compile this driver as a module, choose M here:
281           the module will be called pci_slot.
282
283 config X86_PM_TIMER
284         bool "Power Management Timer Support" if EMBEDDED
285         depends on X86
286         default y
287         help
288           The Power Management Timer is available on all ACPI-capable,
289           in most cases even if ACPI is unusable or blacklisted.
290
291           This timing source is not affected by power management features
292           like aggressive processor idling, throttling, frequency and/or
293           voltage scaling, unlike the commonly used Time Stamp Counter
294           (TSC) timing source.
295
296           You should nearly always say Y here because many modern
297           systems require this timer. 
298
299 config ACPI_CONTAINER
300         tristate "Container and Module Devices (EXPERIMENTAL)"
301         depends on EXPERIMENTAL
302         default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
303         help
304           This driver supports ACPI Container and Module devices (IDs
305           ACPI0004, PNP0A05, and PNP0A06).
306
307           This helps support hotplug of nodes, CPUs, and memory.
308
309           To compile this driver as a module, choose M here:
310           the module will be called container.
311
312 config ACPI_HOTPLUG_MEMORY
313         tristate "Memory Hotplug"
314         depends on MEMORY_HOTPLUG
315         default n
316         help
317           This driver supports ACPI memory hotplug.  The driver
318           fields notifications on ACPI memory devices (PNP0C80),
319           which represent memory ranges that may be onlined or
320           offlined during runtime.
321
322           If your hardware and firmware do not support adding or
323           removing memory devices at runtime, you need not enable
324           this driver.
325
326           To compile this driver as a module, choose M here:
327           the module will be called acpi_memhotplug.
328
329 config ACPI_SBS
330         tristate "Smart Battery System"
331         depends on X86
332         help
333           This driver supports the Smart Battery System, another
334           type of access to battery information, found on some laptops.
335
336           To compile this driver as a module, choose M here:
337           the modules will be called sbs and sbshc.
338
339 endif   # ACPI