netdev: convert bulk of drivers to netdev_tx_t
[linux-2.6-block.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
43532c8a 57 /proc/acpi/sleep (/sys/power/state)
1c48aa36 58 /proc/acpi/info (/sys/module/acpi/parameters/acpica_version)
fb804714
LB
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
64 This option has no effect on /proc/acpi/ files
65 and functions which do not yet exist in /sys.
66
67 Say N to delete /proc/acpi/ files that have moved to /sys/
1c48aa36 68
fdcedbba 69config ACPI_PROCFS_POWER
9e527971 70 bool "Deprecated power /proc/acpi directories"
fdcedbba
AS
71 depends on PROC_FS
72 default y
1c48aa36 73 help
fdcedbba 74 For backwards compatibility, this option allows
9e527971 75 deprecated power /proc/acpi/ directories to exist, even when
fdcedbba 76 they have been replaced by functions in /sys.
9e527971 77 The deprecated directories (and their replacements) include:
fdcedbba
AS
78 /proc/acpi/battery/* (/sys/class/power_supply/*)
79 /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
9e527971 80 This option has no effect on /proc/acpi/ directories
fdcedbba 81 and functions, which do not yet exist in /sys
b981c591 82
9e527971
AC
83 Say N to delete power /proc/acpi/ directories that have moved to /sys/
84
97749cd9
AS
85config ACPI_SYSFS_POWER
86 bool "Future power /sys interface"
87 select POWER_SUPPLY
88 default y
1c48aa36 89 help
97749cd9 90 Say N to disable power /sys interface
9e527971 91
14e04fb3
LB
92config ACPI_PROC_EVENT
93 bool "Deprecated /proc/acpi/event support"
94 depends on PROC_FS
721ebe00 95 default y
1c48aa36
BH
96 help
97 A user-space daemon, acpid, typically reads /proc/acpi/event
98 and handles all ACPI-generated events.
14e04fb3 99
1c48aa36
BH
100 These events are now delivered to user-space either
101 via the input layer or as netlink events.
14e04fb3 102
721ebe00 103 This build option enables the old code for legacy
14e04fb3
LB
104 user-space implementation. After some time, this will
105 be moved under CONFIG_ACPI_PROCFS, and then deleted.
106
721ebe00
HD
107 Say Y here to retain the old behaviour. Say N if your
108 user-space is newer than kernel 2.6.23 (September 2007).
109
1da177e4
LT
110config ACPI_AC
111 tristate "AC Adapter"
5527c8be 112 depends on X86
07fefe4c 113 default y
1da177e4 114 help
1c48aa36
BH
115 This driver supports the AC Adapter object, which indicates
116 whether a system is on AC or not. If you have a system that can
07fefe4c 117 switch between A/C and battery, say Y.
1da177e4 118
1c48aa36
BH
119 To compile this driver as a module, choose M here:
120 the module will be called ac.
121
1da177e4
LT
122config ACPI_BATTERY
123 tristate "Battery"
5527c8be 124 depends on X86
07fefe4c 125 default y
1da177e4
LT
126 help
127 This driver adds support for battery information through
128 /proc/acpi/battery. If you have a mobile system with a battery,
129 say Y.
130
1c48aa36
BH
131 To compile this driver as a module, choose M here:
132 the module will be called battery.
133
1da177e4
LT
134config ACPI_BUTTON
135 tristate "Button"
c0968f0e 136 depends on INPUT
07fefe4c 137 default y
1da177e4 138 help
1c48aa36 139 This driver handles events on the power, sleep, and lid buttons.
07fefe4c
LB
140 A daemon reads /proc/acpi/event and perform user-defined actions
141 such as shutting down the system. This is necessary for
1c48aa36
BH
142 software-controlled poweroff.
143
144 To compile this driver as a module, choose M here:
145 the module will be called button.
1da177e4
LT
146
147config ACPI_VIDEO
148 tristate "Video"
23b0f015 149 depends on X86 && BACKLIGHT_CLASS_DEVICE && VIDEO_OUTPUT_CONTROL
03e2bf26 150 depends on INPUT
63c4ec90 151 select THERMAL
1da177e4 152 help
1c48aa36 153 This driver implements the ACPI Extensions For Display Adapters
1da177e4 154 for integrated graphics devices on motherboard, as specified in
1c48aa36
BH
155 ACPI 2.0 Specification, Appendix B. This supports basic operations
156 such as defining the video POST device, retrieving EDID information,
157 and setting up a video output.
158
159 To compile this driver as a module, choose M here:
160 the module will be called video.
1da177e4
LT
161
162config ACPI_FAN
163 tristate "Fan"
63c4ec90 164 select THERMAL
07fefe4c 165 default y
1da177e4 166 help
1c48aa36 167 This driver supports ACPI fan devices, allowing user-mode
1da177e4
LT
168 applications to perform basic fan control (on, off, status).
169
1c48aa36
BH
170 To compile this driver as a module, choose M here:
171 the module will be called fan.
172
c8f7a62c 173config ACPI_DOCK
898b054f 174 bool "Dock"
8d7bff6c 175 depends on EXPERIMENTAL
c8f7a62c 176 help
1c48aa36
BH
177 This driver supports ACPI-controlled docking stations and removable
178 drive bays such as the IBM Ultrabay and the Dell Module Bay.
01b57e73 179
1da177e4
LT
180config ACPI_PROCESSOR
181 tristate "Processor"
63c4ec90 182 select THERMAL
07fefe4c 183 default y
1da177e4 184 help
1c48aa36
BH
185 This driver installs ACPI as the idle handler for Linux and uses
186 ACPI C2 and C3 processor states to save power on systems that
07fefe4c 187 support it. It is required by several flavors of cpufreq
1c48aa36
BH
188 performance-state drivers.
189
190 To compile this driver as a module, choose M here:
191 the module will be called processor.
1da177e4
LT
192
193config ACPI_HOTPLUG_CPU
cbfc1bae
AB
194 bool
195 depends on ACPI_PROCESSOR && HOTPLUG_CPU
1da177e4 196 select ACPI_CONTAINER
cbfc1bae 197 default y
1da177e4
LT
198
199config ACPI_THERMAL
200 tristate "Thermal Zone"
201 depends on ACPI_PROCESSOR
3f655ef8 202 select THERMAL
07fefe4c 203 default y
1da177e4 204 help
1c48aa36 205 This driver supports ACPI thermal zones. Most mobile and
1da177e4
LT
206 some desktop systems support ACPI thermal zones. It is HIGHLY
207 recommended that this option be enabled, as your processor(s)
208 may be damaged without it.
209
1c48aa36
BH
210 To compile this driver as a module, choose M here:
211 the module will be called thermal.
212
1da177e4
LT
213config ACPI_NUMA
214 bool "NUMA support"
215 depends on NUMA
762834e8 216 depends on (X86 || IA64)
1da177e4
LT
217 default y if IA64_GENERIC || IA64_SGI_SN2
218
7ce9573e
RD
219config ACPI_CUSTOM_DSDT_FILE
220 string "Custom DSDT Table file to include"
221 default ""
1da177e4 222 depends on !STANDALONE
1da177e4 223 help
d89e9d6b
LB
224 This option supports a custom DSDT by linking it into the kernel.
225 See Documentation/acpi/dsdt-override.txt
226
c30fe7f7
UZ
227 Enter the full path name to the file which includes the AmlCode
228 declaration.
1da177e4 229
7ce9573e
RD
230 If unsure, don't enter a file name.
231
232config ACPI_CUSTOM_DSDT
233 bool
234 default ACPI_CUSTOM_DSDT_FILE != ""
235
1da177e4 236config ACPI_BLACKLIST_YEAR
2eb1bdba 237 int "Disable ACPI for systems before Jan 1st this year" if X86_32
1da177e4
LT
238 default 0
239 help
1c48aa36 240 Enter a 4-digit year, e.g., 2001, to disable ACPI by default
1da177e4
LT
241 on platforms with DMI BIOS date before January 1st that year.
242 "acpi=force" can be used to override this mechanism.
243
244 Enter 0 to disable this mechanism and allow ACPI to
245 run by default no matter what the year. (default)
246
247config ACPI_DEBUG
248 bool "Debug Statements"
1da177e4
LT
249 default n
250 help
a0d84a92
BH
251 The ACPI subsystem can produce debug output. Saying Y enables this
252 output and increases the kernel size by around 50K.
253
254 Use the acpi.debug_layer and acpi.debug_level kernel command-line
255 parameters documented in Documentation/acpi/debug.txt and
256 Documentation/kernel-parameters.txt to control the type and
257 amount of debug output.
1da177e4 258
798d9103
TR
259config 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
8344b568
AC
267config ACPI_PCI_SLOT
268 tristate "PCI slot detection driver"
268a03a4 269 depends on SYSFS
8344b568
AC
270 default n
271 help
1c48aa36
BH
272 This driver creates entries in /sys/bus/pci/slots/ for all PCI
273 slots in the system. This can help correlate PCI bus addresses,
274 i.e., segment/bus/device/function tuples, with physical slots in
275 the system. If you are unsure, say N.
276
277 To compile this driver as a module, choose M here:
278 the module will be called pci_slot.
8344b568 279
1da177e4 280config X86_PM_TIMER
e78256b8 281 bool "Power Management Timer Support" if EMBEDDED
1da177e4 282 depends on X86
07fefe4c 283 default y
1da177e4
LT
284 help
285 The Power Management Timer is available on all ACPI-capable,
286 in most cases even if ACPI is unusable or blacklisted.
287
c73a668c 288 This timing source is not affected by power management features
1da177e4
LT
289 like aggressive processor idling, throttling, frequency and/or
290 voltage scaling, unlike the commonly used Time Stamp Counter
291 (TSC) timing source.
292
e78256b8
AK
293 You should nearly always say Y here because many modern
294 systems require this timer.
1da177e4
LT
295
296config ACPI_CONTAINER
1c48aa36 297 tristate "Container and Module Devices (EXPERIMENTAL)"
1da177e4
LT
298 depends on EXPERIMENTAL
299 default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
1c48aa36
BH
300 help
301 This driver supports ACPI Container and Module devices (IDs
302 ACPI0004, PNP0A05, and PNP0A06).
45b1b196 303
1c48aa36
BH
304 This helps support hotplug of nodes, CPUs, and memory.
305
306 To compile this driver as a module, choose M here:
307 the module will be called container.
1da177e4
LT
308
309config ACPI_HOTPLUG_MEMORY
310 tristate "Memory Hotplug"
bc02af93 311 depends on MEMORY_HOTPLUG
1da177e4
LT
312 default n
313 help
1c48aa36
BH
314 This driver supports ACPI memory hotplug. The driver
315 fields notifications on ACPI memory devices (PNP0C80),
316 which represent memory ranges that may be onlined or
317 offlined during runtime.
1da177e4 318
1c48aa36
BH
319 If your hardware and firmware do not support adding or
320 removing memory devices at runtime, you need not enable
321 this driver.
1da177e4 322
1c48aa36
BH
323 To compile this driver as a module, choose M here:
324 the module will be called acpi_memhotplug.
3f86b832
RT
325
326config ACPI_SBS
94f6c086 327 tristate "Smart Battery System"
b4150fc4 328 depends on X86
3f86b832 329 help
1c48aa36 330 This driver supports the Smart Battery System, another
94f6c086 331 type of access to battery information, found on some laptops.
3f86b832 332
1c48aa36
BH
333 To compile this driver as a module, choose M here:
334 the modules will be called sbs and sbshc.
335
1da177e4 336endif # ACPI