ACPI: thinkpad-acpi: move to drivers/platform/x86
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / platform / x86 / Kconfig
blobb80fa8f84a7a06c1bedf787a76c4417022a81b89
2 # X86 Platform Specific Drivers
5 menuconfig X86_PLATFORM_DEVICES
6         bool "X86 Platform Specific Device Drivers"
7         default y
8         ---help---
9           Say Y here to get to see options for device drivers for various
10           x86 platforms, including vendor-specific laptop extension drivers.
11           This option alone does not add any kernel code.
13           If you say N, all options in this submenu will be skipped and disabled.
15 if X86_PLATFORM_DEVICES
17 config THINKPAD_ACPI
18         tristate "ThinkPad ACPI Laptop Extras"
19         depends on ACPI
20         select BACKLIGHT_LCD_SUPPORT
21         select BACKLIGHT_CLASS_DEVICE
22         select HWMON
23         select NVRAM
24         select INPUT
25         select NEW_LEDS
26         select LEDS_CLASS
27         select NET
28         select RFKILL
29         ---help---
30           This is a driver for the IBM and Lenovo ThinkPad laptops. It adds
31           support for Fn-Fx key combinations, Bluetooth control, video
32           output switching, ThinkLight control, UltraBay eject and more.
33           For more information about this driver see
34           <file:Documentation/laptops/thinkpad-acpi.txt> and
35           <http://ibm-acpi.sf.net/> .
37           This driver was formerly known as ibm-acpi.
39           If you have an IBM or Lenovo ThinkPad laptop, say Y or M here.
41 config THINKPAD_ACPI_DEBUG
42         bool "Verbose debug mode"
43         depends on THINKPAD_ACPI
44         default n
45         ---help---
46           Enables extra debugging information, at the expense of a slightly
47           increase in driver size.
49           If you are not sure, say N here.
51 config THINKPAD_ACPI_DOCK
52         bool "Legacy Docking Station Support"
53         depends on THINKPAD_ACPI
54         depends on ACPI_DOCK=n
55         default n
56         ---help---
57           Allows the thinkpad_acpi driver to handle docking station events.
58           This support was made obsolete by the generic ACPI docking station
59           support (CONFIG_ACPI_DOCK).  It will allow locking and removing the
60           laptop from the docking station, but will not properly connect PCI
61           devices.
63           If you are not sure, say N here.
65 config THINKPAD_ACPI_BAY
66         bool "Legacy Removable Bay Support"
67         depends on THINKPAD_ACPI
68         default y
69         ---help---
70           Allows the thinkpad_acpi driver to handle removable bays.  It will
71           electrically disable the device in the bay, and also generate
72           notifications when the bay lever is ejected or inserted.
74           If you are not sure, say Y here.
76 config THINKPAD_ACPI_VIDEO
77         bool "Video output control support"
78         depends on THINKPAD_ACPI
79         default y
80         ---help---
81           Allows the thinkpad_acpi driver to provide an interface to control
82           the various video output ports.
84           This feature often won't work well, depending on ThinkPad model,
85           display state, video output devices in use, whether there is a X
86           server running, phase of the moon, and the current mood of
87           Schroedinger's cat.  If you can use X.org's RandR to control
88           your ThinkPad's video output ports instead of this feature,
89           don't think twice: do it and say N here to save some memory.
91           If you are not sure, say Y here.
93 config THINKPAD_ACPI_HOTKEY_POLL
94         bool "Support NVRAM polling for hot keys"
95         depends on THINKPAD_ACPI
96         default y
97         ---help---
98           Some thinkpad models benefit from NVRAM polling to detect a few of
99           the hot key press events.  If you know your ThinkPad model does not
100           need to do NVRAM polling to support any of the hot keys you use,
101           unselecting this option will save about 1kB of memory.
103           ThinkPads T40 and newer, R52 and newer, and X31 and newer are
104           unlikely to need NVRAM polling in their latest BIOS versions.
106           NVRAM polling can detect at most the following keys: ThinkPad/Access
107           IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute,
108           Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12).
110           If you are not sure, say Y here.  The driver enables polling only if
111           it is strictly necessary to do so.
113 endif # X86_PLATFORM_DEVICES