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