diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/Kconfig | 2 | ||||
-rw-r--r-- | drivers/Makefile | 1 | ||||
-rw-r--r-- | drivers/acpi/Kconfig | 84 | ||||
-rw-r--r-- | drivers/acpi/Makefile | 3 | ||||
-rw-r--r-- | drivers/misc/Kconfig | 284 | ||||
-rw-r--r-- | drivers/misc/Makefile | 13 | ||||
-rw-r--r-- | drivers/platform/Kconfig | 5 | ||||
-rw-r--r-- | drivers/platform/Makefile | 5 | ||||
-rw-r--r-- | drivers/platform/x86/Kconfig | 375 | ||||
-rw-r--r-- | drivers/platform/x86/Makefile | 19 | ||||
-rw-r--r-- | drivers/platform/x86/acer-wmi.c (renamed from drivers/misc/acer-wmi.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/asus-laptop.c (renamed from drivers/misc/asus-laptop.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/asus_acpi.c (renamed from drivers/acpi/asus_acpi.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/compal-laptop.c (renamed from drivers/misc/compal-laptop.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/eeepc-laptop.c (renamed from drivers/misc/eeepc-laptop.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/fujitsu-laptop.c (renamed from drivers/misc/fujitsu-laptop.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/hp-wmi.c (renamed from drivers/misc/hp-wmi.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/intel_menlow.c (renamed from drivers/misc/intel_menlow.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/msi-laptop.c (renamed from drivers/misc/msi-laptop.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/panasonic-laptop.c (renamed from drivers/misc/panasonic-laptop.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/sony-laptop.c (renamed from drivers/misc/sony-laptop.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/tc1100-wmi.c (renamed from drivers/misc/tc1100-wmi.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c (renamed from drivers/misc/thinkpad_acpi.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/toshiba_acpi.c (renamed from drivers/acpi/toshiba_acpi.c) | 0 | ||||
-rw-r--r-- | drivers/platform/x86/wmi.c (renamed from drivers/acpi/wmi.c) | 0 |
25 files changed, 409 insertions, 382 deletions
diff --git a/drivers/Kconfig b/drivers/Kconfig index 2f557f570ade..00cf9553f740 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig | |||
@@ -107,4 +107,6 @@ source "drivers/uio/Kconfig" | |||
107 | source "drivers/xen/Kconfig" | 107 | source "drivers/xen/Kconfig" |
108 | 108 | ||
109 | source "drivers/staging/Kconfig" | 109 | source "drivers/staging/Kconfig" |
110 | |||
111 | source "drivers/platform/Kconfig" | ||
110 | endmenu | 112 | endmenu |
diff --git a/drivers/Makefile b/drivers/Makefile index 6326f4dbbdab..c1bf41737936 100644 --- a/drivers/Makefile +++ b/drivers/Makefile | |||
@@ -105,3 +105,4 @@ obj-$(CONFIG_OF) += of/ | |||
105 | obj-$(CONFIG_SSB) += ssb/ | 105 | obj-$(CONFIG_SSB) += ssb/ |
106 | obj-$(CONFIG_VIRTIO) += virtio/ | 106 | obj-$(CONFIG_VIRTIO) += virtio/ |
107 | obj-$(CONFIG_STAGING) += staging/ | 107 | obj-$(CONFIG_STAGING) += staging/ |
108 | obj-y += platform/ | ||
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index b0243fd55ac0..d7f9839ba264 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig | |||
@@ -196,90 +196,6 @@ config ACPI_NUMA | |||
196 | depends on (X86 || IA64) | 196 | depends on (X86 || IA64) |
197 | default y if IA64_GENERIC || IA64_SGI_SN2 | 197 | default y if IA64_GENERIC || IA64_SGI_SN2 |
198 | 198 | ||
199 | config ACPI_WMI | ||
200 | tristate "WMI (EXPERIMENTAL)" | ||
201 | depends on X86 | ||
202 | depends on EXPERIMENTAL | ||
203 | help | ||
204 | This driver adds support for the ACPI-WMI (Windows Management | ||
205 | Instrumentation) mapper device (PNP0C14) found on some systems. | ||
206 | |||
207 | ACPI-WMI is a proprietary extension to ACPI to expose parts of the | ||
208 | ACPI firmware to userspace - this is done through various vendor | ||
209 | defined methods and data blocks in a PNP0C14 device, which are then | ||
210 | made available for userspace to call. | ||
211 | |||
212 | The implementation of this in Linux currently only exposes this to | ||
213 | other kernel space drivers. | ||
214 | |||
215 | This driver is a required dependency to build the firmware specific | ||
216 | drivers needed on many machines, including Acer and HP laptops. | ||
217 | |||
218 | It is safe to enable this driver even if your DSDT doesn't define | ||
219 | any ACPI-WMI devices. | ||
220 | |||
221 | config ACPI_ASUS | ||
222 | tristate "ASUS/Medion Laptop Extras" | ||
223 | depends on X86 | ||
224 | select BACKLIGHT_CLASS_DEVICE | ||
225 | ---help--- | ||
226 | This driver provides support for extra features of ACPI-compatible | ||
227 | ASUS laptops. As some of Medion laptops are made by ASUS, it may also | ||
228 | support some Medion laptops (such as 9675 for example). It makes all | ||
229 | the extra buttons generate standard ACPI events that go through | ||
230 | /proc/acpi/events, and (on some models) adds support for changing the | ||
231 | display brightness and output, switching the LCD backlight on and off, | ||
232 | and most importantly, allows you to blink those fancy LEDs intended | ||
233 | for reporting mail and wireless status. | ||
234 | |||
235 | Note: display switching code is currently considered EXPERIMENTAL, | ||
236 | toying with these values may even lock your machine. | ||
237 | |||
238 | All settings are changed via /proc/acpi/asus directory entries. Owner | ||
239 | and group for these entries can be set with asus_uid and asus_gid | ||
240 | parameters. | ||
241 | |||
242 | More information and a userspace daemon for handling the extra buttons | ||
243 | at <http://sourceforge.net/projects/acpi4asus/>. | ||
244 | |||
245 | If you have an ACPI-compatible ASUS laptop, say Y or M here. This | ||
246 | driver is still under development, so if your laptop is unsupported or | ||
247 | something works not quite as expected, please use the mailing list | ||
248 | available on the above page (acpi4asus-user@lists.sourceforge.net). | ||
249 | |||
250 | NOTE: This driver is deprecated and will probably be removed soon, | ||
251 | use asus-laptop instead. | ||
252 | |||
253 | config ACPI_TOSHIBA | ||
254 | tristate "Toshiba Laptop Extras" | ||
255 | depends on X86 && INPUT | ||
256 | select INPUT_POLLDEV | ||
257 | select NET | ||
258 | select RFKILL | ||
259 | select BACKLIGHT_CLASS_DEVICE | ||
260 | ---help--- | ||
261 | This driver adds support for access to certain system settings | ||
262 | on "legacy free" Toshiba laptops. These laptops can be recognized by | ||
263 | their lack of a BIOS setup menu and APM support. | ||
264 | |||
265 | On these machines, all system configuration is handled through the | ||
266 | ACPI. This driver is required for access to controls not covered | ||
267 | by the general ACPI drivers, such as LCD brightness, video output, | ||
268 | etc. | ||
269 | |||
270 | This driver differs from the non-ACPI Toshiba laptop driver (located | ||
271 | under "Processor type and features") in several aspects. | ||
272 | Configuration is accessed by reading and writing text files in the | ||
273 | /proc tree instead of by program interface to /dev. Furthermore, no | ||
274 | power management functions are exposed, as those are handled by the | ||
275 | general ACPI drivers. | ||
276 | |||
277 | More information about this driver is available at | ||
278 | <http://memebeam.org/toys/ToshibaAcpiDriver>. | ||
279 | |||
280 | If you have a legacy free Toshiba laptop (such as the Libretto L1 | ||
281 | series), say Y. | ||
282 | |||
283 | config ACPI_CUSTOM_DSDT_FILE | 199 | config ACPI_CUSTOM_DSDT_FILE |
284 | string "Custom DSDT Table file to include" | 200 | string "Custom DSDT Table file to include" |
285 | default "" | 201 | default "" |
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index 5d23c13ac7d4..d80f4cc2e0da 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile | |||
@@ -55,9 +55,6 @@ obj-y += power.o | |||
55 | obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o | 55 | obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o |
56 | obj-$(CONFIG_ACPI_DEBUG) += debug.o | 56 | obj-$(CONFIG_ACPI_DEBUG) += debug.o |
57 | obj-$(CONFIG_ACPI_NUMA) += numa.o | 57 | obj-$(CONFIG_ACPI_NUMA) += numa.o |
58 | obj-$(CONFIG_ACPI_WMI) += wmi.o | ||
59 | obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o | ||
60 | obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o | ||
61 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o | 58 | obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o |
62 | obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o | 59 | obj-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o |
63 | obj-$(CONFIG_ACPI_SBS) += sbshc.o | 60 | obj-$(CONFIG_ACPI_SBS) += sbshc.o |
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 2da1781e85c3..419c378bd24b 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -120,7 +120,7 @@ config TIFM_CORE | |||
120 | cards are supported via 'MMC/SD Card support: TI Flash Media MMC/SD | 120 | cards are supported via 'MMC/SD Card support: TI Flash Media MMC/SD |
121 | Interface support (MMC_TIFM_SD)'. | 121 | Interface support (MMC_TIFM_SD)'. |
122 | 122 | ||
123 | To compile this driver as a module, choose M here: the module will | 123 | To compile this driver as a module, choose M here: the module will |
124 | be called tifm_core. | 124 | be called tifm_core. |
125 | 125 | ||
126 | config TIFM_7XX1 | 126 | config TIFM_7XX1 |
@@ -133,100 +133,9 @@ config TIFM_7XX1 | |||
133 | To make actual use of the device, you will have to select some | 133 | To make actual use of the device, you will have to select some |
134 | flash card format drivers, as outlined in the TIFM_CORE Help. | 134 | flash card format drivers, as outlined in the TIFM_CORE Help. |
135 | 135 | ||
136 | To compile this driver as a module, choose M here: the module will | 136 | To compile this driver as a module, choose M here: the module will |
137 | be called tifm_7xx1. | 137 | be called tifm_7xx1. |
138 | 138 | ||
139 | config ACER_WMI | ||
140 | tristate "Acer WMI Laptop Extras (EXPERIMENTAL)" | ||
141 | depends on X86 | ||
142 | depends on EXPERIMENTAL | ||
143 | depends on ACPI | ||
144 | depends on LEDS_CLASS | ||
145 | depends on NEW_LEDS | ||
146 | depends on BACKLIGHT_CLASS_DEVICE | ||
147 | depends on SERIO_I8042 | ||
148 | depends on RFKILL | ||
149 | select ACPI_WMI | ||
150 | ---help--- | ||
151 | This is a driver for newer Acer (and Wistron) laptops. It adds | ||
152 | wireless radio and bluetooth control, and on some laptops, | ||
153 | exposes the mail LED and LCD backlight. | ||
154 | |||
155 | For more information about this driver see | ||
156 | <file:Documentation/laptops/acer-wmi.txt> | ||
157 | |||
158 | If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M | ||
159 | here. | ||
160 | |||
161 | config ASUS_LAPTOP | ||
162 | tristate "Asus Laptop Extras (EXPERIMENTAL)" | ||
163 | depends on X86 | ||
164 | depends on ACPI | ||
165 | depends on EXPERIMENTAL && !ACPI_ASUS | ||
166 | depends on LEDS_CLASS | ||
167 | depends on NEW_LEDS | ||
168 | depends on BACKLIGHT_CLASS_DEVICE | ||
169 | ---help--- | ||
170 | This is the new Linux driver for Asus laptops. It may also support some | ||
171 | MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate | ||
172 | standard ACPI events that go through /proc/acpi/events. It also adds | ||
173 | support for video output switching, LCD backlight control, Bluetooth and | ||
174 | Wlan control, and most importantly, allows you to blink those fancy LEDs. | ||
175 | |||
176 | For more information and a userspace daemon for handling the extra | ||
177 | buttons see <http://acpi4asus.sf.net/>. | ||
178 | |||
179 | If you have an ACPI-compatible ASUS laptop, say Y or M here. | ||
180 | |||
181 | config FUJITSU_LAPTOP | ||
182 | tristate "Fujitsu Laptop Extras" | ||
183 | depends on X86 | ||
184 | depends on ACPI | ||
185 | depends on INPUT | ||
186 | depends on BACKLIGHT_CLASS_DEVICE | ||
187 | ---help--- | ||
188 | This is a driver for laptops built by Fujitsu: | ||
189 | |||
190 | * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks | ||
191 | * Possibly other Fujitsu laptop models | ||
192 | * Tested with S6410 and S7020 | ||
193 | |||
194 | It adds support for LCD brightness control and some hotkeys. | ||
195 | |||
196 | If you have a Fujitsu laptop, say Y or M here. | ||
197 | |||
198 | config FUJITSU_LAPTOP_DEBUG | ||
199 | bool "Verbose debug mode for Fujitsu Laptop Extras" | ||
200 | depends on FUJITSU_LAPTOP | ||
201 | default n | ||
202 | ---help--- | ||
203 | Enables extra debug output from the fujitsu extras driver, at the | ||
204 | expense of a slight increase in driver size. | ||
205 | |||
206 | If you are not sure, say N here. | ||
207 | |||
208 | config TC1100_WMI | ||
209 | tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)" | ||
210 | depends on X86 && !X86_64 | ||
211 | depends on EXPERIMENTAL | ||
212 | depends on ACPI | ||
213 | select ACPI_WMI | ||
214 | ---help--- | ||
215 | This is a driver for the WMI extensions (wireless and bluetooth power | ||
216 | control) of the HP Compaq TC1100 tablet. | ||
217 | |||
218 | config HP_WMI | ||
219 | tristate "HP WMI extras" | ||
220 | depends on ACPI_WMI | ||
221 | depends on INPUT | ||
222 | depends on RFKILL | ||
223 | help | ||
224 | Say Y here if you want to support WMI-based hotkeys on HP laptops and | ||
225 | to read data from WMI such as docking or ambient light sensor state. | ||
226 | |||
227 | To compile this driver as a module, choose M here: the module will | ||
228 | be called hp-wmi. | ||
229 | |||
230 | config ICS932S401 | 139 | config ICS932S401 |
231 | tristate "Integrated Circuits ICS932S401" | 140 | tristate "Integrated Circuits ICS932S401" |
232 | depends on I2C && EXPERIMENTAL | 141 | depends on I2C && EXPERIMENTAL |
@@ -237,170 +146,6 @@ config ICS932S401 | |||
237 | This driver can also be built as a module. If so, the module | 146 | This driver can also be built as a module. If so, the module |
238 | will be called ics932s401. | 147 | will be called ics932s401. |
239 | 148 | ||
240 | config MSI_LAPTOP | ||
241 | tristate "MSI Laptop Extras" | ||
242 | depends on X86 | ||
243 | depends on ACPI | ||
244 | depends on BACKLIGHT_CLASS_DEVICE | ||
245 | ---help--- | ||
246 | This is a driver for laptops built by MSI (MICRO-STAR | ||
247 | INTERNATIONAL): | ||
248 | |||
249 | MSI MegaBook S270 (MS-1013) | ||
250 | Cytron/TCM/Medion/Tchibo MD96100/SAM2000 | ||
251 | |||
252 | It adds support for Bluetooth, WLAN and LCD brightness control. | ||
253 | |||
254 | More information about this driver is available at | ||
255 | <http://0pointer.de/lennart/tchibo.html>. | ||
256 | |||
257 | If you have an MSI S270 laptop, say Y or M here. | ||
258 | |||
259 | config PANASONIC_LAPTOP | ||
260 | tristate "Panasonic Laptop Extras" | ||
261 | depends on X86 && INPUT && ACPI | ||
262 | depends on BACKLIGHT_CLASS_DEVICE | ||
263 | ---help--- | ||
264 | This driver adds support for access to backlight control and hotkeys | ||
265 | on Panasonic Let's Note laptops. | ||
266 | |||
267 | If you have a Panasonic Let's note laptop (such as the R1(N variant), | ||
268 | R2, R3, R5, T2, W2 and Y2 series), say Y. | ||
269 | |||
270 | config COMPAL_LAPTOP | ||
271 | tristate "Compal Laptop Extras" | ||
272 | depends on X86 | ||
273 | depends on ACPI | ||
274 | depends on BACKLIGHT_CLASS_DEVICE | ||
275 | ---help--- | ||
276 | This is a driver for laptops built by Compal: | ||
277 | |||
278 | Compal FL90/IFL90 | ||
279 | Compal FL91/IFL91 | ||
280 | Compal FL92/JFL92 | ||
281 | Compal FT00/IFT00 | ||
282 | |||
283 | It adds support for Bluetooth, WLAN and LCD brightness control. | ||
284 | |||
285 | If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here. | ||
286 | |||
287 | config SONY_LAPTOP | ||
288 | tristate "Sony Laptop Extras" | ||
289 | depends on X86 && ACPI | ||
290 | select BACKLIGHT_CLASS_DEVICE | ||
291 | depends on INPUT | ||
292 | ---help--- | ||
293 | This mini-driver drives the SNC and SPIC devices present in the ACPI | ||
294 | BIOS of the Sony Vaio laptops. | ||
295 | |||
296 | It gives access to some extra laptop functionalities like Bluetooth, | ||
297 | screen brightness control, Fn keys and allows powering on/off some | ||
298 | devices. | ||
299 | |||
300 | Read <file:Documentation/laptops/sony-laptop.txt> for more information. | ||
301 | |||
302 | config SONYPI_COMPAT | ||
303 | bool "Sonypi compatibility" | ||
304 | depends on SONY_LAPTOP | ||
305 | ---help--- | ||
306 | Build the sonypi driver compatibility code into the sony-laptop driver. | ||
307 | |||
308 | config THINKPAD_ACPI | ||
309 | tristate "ThinkPad ACPI Laptop Extras" | ||
310 | depends on X86 && ACPI | ||
311 | select BACKLIGHT_LCD_SUPPORT | ||
312 | select BACKLIGHT_CLASS_DEVICE | ||
313 | select HWMON | ||
314 | select NVRAM | ||
315 | select INPUT | ||
316 | select NEW_LEDS | ||
317 | select LEDS_CLASS | ||
318 | select NET | ||
319 | select RFKILL | ||
320 | ---help--- | ||
321 | This is a driver for the IBM and Lenovo ThinkPad laptops. It adds | ||
322 | support for Fn-Fx key combinations, Bluetooth control, video | ||
323 | output switching, ThinkLight control, UltraBay eject and more. | ||
324 | For more information about this driver see | ||
325 | <file:Documentation/laptops/thinkpad-acpi.txt> and | ||
326 | <http://ibm-acpi.sf.net/> . | ||
327 | |||
328 | This driver was formerly known as ibm-acpi. | ||
329 | |||
330 | If you have an IBM or Lenovo ThinkPad laptop, say Y or M here. | ||
331 | |||
332 | config THINKPAD_ACPI_DEBUG | ||
333 | bool "Verbose debug mode" | ||
334 | depends on THINKPAD_ACPI | ||
335 | default n | ||
336 | ---help--- | ||
337 | Enables extra debugging information, at the expense of a slightly | ||
338 | increase in driver size. | ||
339 | |||
340 | If you are not sure, say N here. | ||
341 | |||
342 | config THINKPAD_ACPI_DOCK | ||
343 | bool "Legacy Docking Station Support" | ||
344 | depends on THINKPAD_ACPI | ||
345 | depends on ACPI_DOCK=n | ||
346 | default n | ||
347 | ---help--- | ||
348 | Allows the thinkpad_acpi driver to handle docking station events. | ||
349 | This support was made obsolete by the generic ACPI docking station | ||
350 | support (CONFIG_ACPI_DOCK). It will allow locking and removing the | ||
351 | laptop from the docking station, but will not properly connect PCI | ||
352 | devices. | ||
353 | |||
354 | If you are not sure, say N here. | ||
355 | |||
356 | config THINKPAD_ACPI_BAY | ||
357 | bool "Legacy Removable Bay Support" | ||
358 | depends on THINKPAD_ACPI | ||
359 | default y | ||
360 | ---help--- | ||
361 | Allows the thinkpad_acpi driver to handle removable bays. It will | ||
362 | electrically disable the device in the bay, and also generate | ||
363 | notifications when the bay lever is ejected or inserted. | ||
364 | |||
365 | If you are not sure, say Y here. | ||
366 | |||
367 | config THINKPAD_ACPI_VIDEO | ||
368 | bool "Video output control support" | ||
369 | depends on THINKPAD_ACPI | ||
370 | default y | ||
371 | ---help--- | ||
372 | Allows the thinkpad_acpi driver to provide an interface to control | ||
373 | the various video output ports. | ||
374 | |||
375 | This feature often won't work well, depending on ThinkPad model, | ||
376 | display state, video output devices in use, whether there is a X | ||
377 | server running, phase of the moon, and the current mood of | ||
378 | Schroedinger's cat. If you can use X.org's RandR to control | ||
379 | your ThinkPad's video output ports instead of this feature, | ||
380 | don't think twice: do it and say N here to save some memory. | ||
381 | |||
382 | If you are not sure, say Y here. | ||
383 | |||
384 | config THINKPAD_ACPI_HOTKEY_POLL | ||
385 | bool "Support NVRAM polling for hot keys" | ||
386 | depends on THINKPAD_ACPI | ||
387 | default y | ||
388 | ---help--- | ||
389 | Some thinkpad models benefit from NVRAM polling to detect a few of | ||
390 | the hot key press events. If you know your ThinkPad model does not | ||
391 | need to do NVRAM polling to support any of the hot keys you use, | ||
392 | unselecting this option will save about 1kB of memory. | ||
393 | |||
394 | ThinkPads T40 and newer, R52 and newer, and X31 and newer are | ||
395 | unlikely to need NVRAM polling in their latest BIOS versions. | ||
396 | |||
397 | NVRAM polling can detect at most the following keys: ThinkPad/Access | ||
398 | IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute, | ||
399 | Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12). | ||
400 | |||
401 | If you are not sure, say Y here. The driver enables polling only if | ||
402 | it is strictly necessary to do so. | ||
403 | |||
404 | config ATMEL_SSC | 149 | config ATMEL_SSC |
405 | tristate "Device driver for Atmel SSC peripheral" | 150 | tristate "Device driver for Atmel SSC peripheral" |
406 | depends on AVR32 || ARCH_AT91 | 151 | depends on AVR32 || ARCH_AT91 |
@@ -413,31 +158,6 @@ config ATMEL_SSC | |||
413 | 158 | ||
414 | If unsure, say N. | 159 | If unsure, say N. |
415 | 160 | ||
416 | config INTEL_MENLOW | ||
417 | tristate "Thermal Management driver for Intel menlow platform" | ||
418 | depends on ACPI_THERMAL | ||
419 | select THERMAL | ||
420 | depends on X86 | ||
421 | ---help--- | ||
422 | ACPI thermal management enhancement driver on | ||
423 | Intel Menlow platform. | ||
424 | |||
425 | If unsure, say N. | ||
426 | |||
427 | config EEEPC_LAPTOP | ||
428 | tristate "Eee PC Hotkey Driver (EXPERIMENTAL)" | ||
429 | depends on X86 | ||
430 | depends on ACPI | ||
431 | depends on EXPERIMENTAL | ||
432 | select BACKLIGHT_CLASS_DEVICE | ||
433 | select HWMON | ||
434 | select RFKILL | ||
435 | ---help--- | ||
436 | This driver supports the Fn-Fx keys on Eee PC laptops. | ||
437 | It also adds the ability to switch camera/wlan on/off. | ||
438 | |||
439 | If you have an Eee PC laptop, say Y or M here. | ||
440 | |||
441 | config ENCLOSURE_SERVICES | 161 | config ENCLOSURE_SERVICES |
442 | tristate "Enclosure Services" | 162 | tristate "Enclosure Services" |
443 | default n | 163 | default n |
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index 5de863a0e395..9cf8ae6e4b39 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile | |||
@@ -1,33 +1,20 @@ | |||
1 | # | 1 | # |
2 | # Makefile for misc devices that really don't fit anywhere else. | 2 | # Makefile for misc devices that really don't fit anywhere else. |
3 | # | 3 | # |
4 | obj- := misc.o # Dummy rule to force built-in.o to be made | ||
5 | 4 | ||
6 | obj-$(CONFIG_IBM_ASM) += ibmasm/ | 5 | obj-$(CONFIG_IBM_ASM) += ibmasm/ |
7 | obj-$(CONFIG_HDPU_FEATURES) += hdpuftrs/ | 6 | obj-$(CONFIG_HDPU_FEATURES) += hdpuftrs/ |
8 | obj-$(CONFIG_ASUS_LAPTOP) += asus-laptop.o | ||
9 | obj-$(CONFIG_EEEPC_LAPTOP) += eeepc-laptop.o | ||
10 | obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o | ||
11 | obj-$(CONFIG_COMPAL_LAPTOP) += compal-laptop.o | ||
12 | obj-$(CONFIG_ACER_WMI) += acer-wmi.o | ||
13 | obj-$(CONFIG_ATMEL_PWM) += atmel_pwm.o | 7 | obj-$(CONFIG_ATMEL_PWM) += atmel_pwm.o |
14 | obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o | 8 | obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o |
15 | obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o | 9 | obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o |
16 | obj-$(CONFIG_HP_WMI) += hp-wmi.o | ||
17 | obj-$(CONFIG_ICS932S401) += ics932s401.o | 10 | obj-$(CONFIG_ICS932S401) += ics932s401.o |
18 | obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o | ||
19 | obj-$(CONFIG_LKDTM) += lkdtm.o | 11 | obj-$(CONFIG_LKDTM) += lkdtm.o |
20 | obj-$(CONFIG_TIFM_CORE) += tifm_core.o | 12 | obj-$(CONFIG_TIFM_CORE) += tifm_core.o |
21 | obj-$(CONFIG_DELL_LAPTOP) += dell-laptop.o | 13 | obj-$(CONFIG_DELL_LAPTOP) += dell-laptop.o |
22 | obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o | 14 | obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o |
23 | obj-$(CONFIG_PHANTOM) += phantom.o | 15 | obj-$(CONFIG_PHANTOM) += phantom.o |
24 | obj-$(CONFIG_SGI_IOC4) += ioc4.o | 16 | obj-$(CONFIG_SGI_IOC4) += ioc4.o |
25 | obj-$(CONFIG_SONY_LAPTOP) += sony-laptop.o | ||
26 | obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o | ||
27 | obj-$(CONFIG_FUJITSU_LAPTOP) += fujitsu-laptop.o | ||
28 | obj-$(CONFIG_PANASONIC_LAPTOP) += panasonic-laptop.o | ||
29 | obj-$(CONFIG_EEPROM_93CX6) += eeprom_93cx6.o | 17 | obj-$(CONFIG_EEPROM_93CX6) += eeprom_93cx6.o |
30 | obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o | ||
31 | obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o | 18 | obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o |
32 | obj-$(CONFIG_KGDB_TESTS) += kgdbts.o | 19 | obj-$(CONFIG_KGDB_TESTS) += kgdbts.o |
33 | obj-$(CONFIG_SGI_XP) += sgi-xp/ | 20 | obj-$(CONFIG_SGI_XP) += sgi-xp/ |
diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig new file mode 100644 index 000000000000..9652c3fe7f5e --- /dev/null +++ b/drivers/platform/Kconfig | |||
@@ -0,0 +1,5 @@ | |||
1 | # drivers/platform/Kconfig | ||
2 | |||
3 | if X86 | ||
4 | source "drivers/platform/x86/Kconfig" | ||
5 | endif | ||
diff --git a/drivers/platform/Makefile b/drivers/platform/Makefile new file mode 100644 index 000000000000..782953ae4c03 --- /dev/null +++ b/drivers/platform/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Makefile for linux/drivers/platform | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_X86) += x86/ | ||
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig new file mode 100644 index 000000000000..e65448e99b48 --- /dev/null +++ b/drivers/platform/x86/Kconfig | |||
@@ -0,0 +1,375 @@ | |||
1 | # | ||
2 | # X86 Platform Specific Drivers | ||
3 | # | ||
4 | |||
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. | ||
12 | |||
13 | If you say N, all options in this submenu will be skipped and disabled. | ||
14 | |||
15 | if X86_PLATFORM_DEVICES | ||
16 | |||
17 | config ACER_WMI | ||
18 | tristate "Acer WMI Laptop Extras (EXPERIMENTAL)" | ||
19 | depends on EXPERIMENTAL | ||
20 | depends on ACPI | ||
21 | depends on LEDS_CLASS | ||
22 | depends on NEW_LEDS | ||
23 | depends on BACKLIGHT_CLASS_DEVICE | ||
24 | depends on SERIO_I8042 | ||
25 | depends on RFKILL | ||
26 | select ACPI_WMI | ||
27 | ---help--- | ||
28 | This is a driver for newer Acer (and Wistron) laptops. It adds | ||
29 | wireless radio and bluetooth control, and on some laptops, | ||
30 | exposes the mail LED and LCD backlight. | ||
31 | |||
32 | For more information about this driver see | ||
33 | <file:Documentation/laptops/acer-wmi.txt> | ||
34 | |||
35 | If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M | ||
36 | here. | ||
37 | |||
38 | config ASUS_LAPTOP | ||
39 | tristate "Asus Laptop Extras (EXPERIMENTAL)" | ||
40 | depends on ACPI | ||
41 | depends on EXPERIMENTAL && !ACPI_ASUS | ||
42 | depends on LEDS_CLASS | ||
43 | depends on NEW_LEDS | ||
44 | depends on BACKLIGHT_CLASS_DEVICE | ||
45 | ---help--- | ||
46 | This is the new Linux driver for Asus laptops. It may also support some | ||
47 | MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate | ||
48 | standard ACPI events that go through /proc/acpi/events. It also adds | ||
49 | support for video output switching, LCD backlight control, Bluetooth and | ||
50 | Wlan control, and most importantly, allows you to blink those fancy LEDs. | ||
51 | |||
52 | For more information and a userspace daemon for handling the extra | ||
53 | buttons see <http://acpi4asus.sf.net/>. | ||
54 | |||
55 | If you have an ACPI-compatible ASUS laptop, say Y or M here. | ||
56 | |||
57 | config FUJITSU_LAPTOP | ||
58 | tristate "Fujitsu Laptop Extras" | ||
59 | depends on ACPI | ||
60 | depends on INPUT | ||
61 | depends on BACKLIGHT_CLASS_DEVICE | ||
62 | ---help--- | ||
63 | This is a driver for laptops built by Fujitsu: | ||
64 | |||
65 | * P2xxx/P5xxx/S6xxx/S7xxx series Lifebooks | ||
66 | * Possibly other Fujitsu laptop models | ||
67 | * Tested with S6410 and S7020 | ||
68 | |||
69 | It adds support for LCD brightness control and some hotkeys. | ||
70 | |||
71 | If you have a Fujitsu laptop, say Y or M here. | ||
72 | |||
73 | config FUJITSU_LAPTOP_DEBUG | ||
74 | bool "Verbose debug mode for Fujitsu Laptop Extras" | ||
75 | depends on FUJITSU_LAPTOP | ||
76 | default n | ||
77 | ---help--- | ||
78 | Enables extra debug output from the fujitsu extras driver, at the | ||
79 | expense of a slight increase in driver size. | ||
80 | |||
81 | If you are not sure, say N here. | ||
82 | |||
83 | config TC1100_WMI | ||
84 | tristate "HP Compaq TC1100 Tablet WMI Extras (EXPERIMENTAL)" | ||
85 | depends on !X86_64 | ||
86 | depends on EXPERIMENTAL | ||
87 | depends on ACPI | ||
88 | select ACPI_WMI | ||
89 | ---help--- | ||
90 | This is a driver for the WMI extensions (wireless and bluetooth power | ||
91 | control) of the HP Compaq TC1100 tablet. | ||
92 | |||
93 | config HP_WMI | ||
94 | tristate "HP WMI extras" | ||
95 | depends on ACPI_WMI | ||
96 | depends on INPUT | ||
97 | depends on RFKILL | ||
98 | help | ||
99 | Say Y here if you want to support WMI-based hotkeys on HP laptops and | ||
100 | to read data from WMI such as docking or ambient light sensor state. | ||
101 | |||
102 | To compile this driver as a module, choose M here: the module will | ||
103 | be called hp-wmi. | ||
104 | |||
105 | config MSI_LAPTOP | ||
106 | tristate "MSI Laptop Extras" | ||
107 | depends on ACPI | ||
108 | depends on BACKLIGHT_CLASS_DEVICE | ||
109 | ---help--- | ||
110 | This is a driver for laptops built by MSI (MICRO-STAR | ||
111 | INTERNATIONAL): | ||
112 | |||
113 | MSI MegaBook S270 (MS-1013) | ||
114 | Cytron/TCM/Medion/Tchibo MD96100/SAM2000 | ||
115 | |||
116 | It adds support for Bluetooth, WLAN and LCD brightness control. | ||
117 | |||
118 | More information about this driver is available at | ||
119 | <http://0pointer.de/lennart/tchibo.html>. | ||
120 | |||
121 | If you have an MSI S270 laptop, say Y or M here. | ||
122 | |||
123 | config PANASONIC_LAPTOP | ||
124 | tristate "Panasonic Laptop Extras" | ||
125 | depends on INPUT && ACPI | ||
126 | depends on BACKLIGHT_CLASS_DEVICE | ||
127 | ---help--- | ||
128 | This driver adds support for access to backlight control and hotkeys | ||
129 | on Panasonic Let's Note laptops. | ||
130 | |||
131 | If you have a Panasonic Let's note laptop (such as the R1(N variant), | ||
132 | R2, R3, R5, T2, W2 and Y2 series), say Y. | ||
133 | |||
134 | config COMPAL_LAPTOP | ||
135 | tristate "Compal Laptop Extras" | ||
136 | depends on ACPI | ||
137 | depends on BACKLIGHT_CLASS_DEVICE | ||
138 | ---help--- | ||
139 | This is a driver for laptops built by Compal: | ||
140 | |||
141 | Compal FL90/IFL90 | ||
142 | Compal FL91/IFL91 | ||
143 | Compal FL92/JFL92 | ||
144 | Compal FT00/IFT00 | ||
145 | |||
146 | It adds support for Bluetooth, WLAN and LCD brightness control. | ||
147 | |||
148 | If you have an Compal FL9x/IFL9x/FT00 laptop, say Y or M here. | ||
149 | |||
150 | config SONY_LAPTOP | ||
151 | tristate "Sony Laptop Extras" | ||
152 | depends on ACPI | ||
153 | select BACKLIGHT_CLASS_DEVICE | ||
154 | depends on INPUT | ||
155 | ---help--- | ||
156 | This mini-driver drives the SNC and SPIC devices present in the ACPI | ||
157 | BIOS of the Sony Vaio laptops. | ||
158 | |||
159 | It gives access to some extra laptop functionalities like Bluetooth, | ||
160 | screen brightness control, Fn keys and allows powering on/off some | ||
161 | devices. | ||
162 | |||
163 | Read <file:Documentation/laptops/sony-laptop.txt> for more information. | ||
164 | |||
165 | config SONYPI_COMPAT | ||
166 | bool "Sonypi compatibility" | ||
167 | depends on SONY_LAPTOP | ||
168 | ---help--- | ||
169 | Build the sonypi driver compatibility code into the sony-laptop driver. | ||
170 | |||
171 | config THINKPAD_ACPI | ||
172 | tristate "ThinkPad ACPI Laptop Extras" | ||
173 | depends on ACPI | ||
174 | select BACKLIGHT_LCD_SUPPORT | ||
175 | select BACKLIGHT_CLASS_DEVICE | ||
176 | select HWMON | ||
177 | select NVRAM | ||
178 | select INPUT | ||
179 | select NEW_LEDS | ||
180 | select LEDS_CLASS | ||
181 | select NET | ||
182 | select RFKILL | ||
183 | ---help--- | ||
184 | This is a driver for the IBM and Lenovo ThinkPad laptops. It adds | ||
185 | support for Fn-Fx key combinations, Bluetooth control, video | ||
186 | output switching, ThinkLight control, UltraBay eject and more. | ||
187 | For more information about this driver see | ||
188 | <file:Documentation/laptops/thinkpad-acpi.txt> and | ||
189 | <http://ibm-acpi.sf.net/> . | ||
190 | |||
191 | This driver was formerly known as ibm-acpi. | ||
192 | |||
193 | If you have an IBM or Lenovo ThinkPad laptop, say Y or M here. | ||
194 | |||
195 | config THINKPAD_ACPI_DEBUG | ||
196 | bool "Verbose debug mode" | ||
197 | depends on THINKPAD_ACPI | ||
198 | default n | ||
199 | ---help--- | ||
200 | Enables extra debugging information, at the expense of a slightly | ||
201 | increase in driver size. | ||
202 | |||
203 | If you are not sure, say N here. | ||
204 | |||
205 | config THINKPAD_ACPI_DOCK | ||
206 | bool "Legacy Docking Station Support" | ||
207 | depends on THINKPAD_ACPI | ||
208 | depends on ACPI_DOCK=n | ||
209 | default n | ||
210 | ---help--- | ||
211 | Allows the thinkpad_acpi driver to handle docking station events. | ||
212 | This support was made obsolete by the generic ACPI docking station | ||
213 | support (CONFIG_ACPI_DOCK). It will allow locking and removing the | ||
214 | laptop from the docking station, but will not properly connect PCI | ||
215 | devices. | ||
216 | |||
217 | If you are not sure, say N here. | ||
218 | |||
219 | config THINKPAD_ACPI_BAY | ||
220 | bool "Legacy Removable Bay Support" | ||
221 | depends on THINKPAD_ACPI | ||
222 | default y | ||
223 | ---help--- | ||
224 | Allows the thinkpad_acpi driver to handle removable bays. It will | ||
225 | electrically disable the device in the bay, and also generate | ||
226 | notifications when the bay lever is ejected or inserted. | ||
227 | |||
228 | If you are not sure, say Y here. | ||
229 | |||
230 | config THINKPAD_ACPI_VIDEO | ||
231 | bool "Video output control support" | ||
232 | depends on THINKPAD_ACPI | ||
233 | default y | ||
234 | ---help--- | ||
235 | Allows the thinkpad_acpi driver to provide an interface to control | ||
236 | the various video output ports. | ||
237 | |||
238 | This feature often won't work well, depending on ThinkPad model, | ||
239 | display state, video output devices in use, whether there is a X | ||
240 | server running, phase of the moon, and the current mood of | ||
241 | Schroedinger's cat. If you can use X.org's RandR to control | ||
242 | your ThinkPad's video output ports instead of this feature, | ||
243 | don't think twice: do it and say N here to save some memory. | ||
244 | |||
245 | If you are not sure, say Y here. | ||
246 | |||
247 | config THINKPAD_ACPI_HOTKEY_POLL | ||
248 | bool "Support NVRAM polling for hot keys" | ||
249 | depends on THINKPAD_ACPI | ||
250 | default y | ||
251 | ---help--- | ||
252 | Some thinkpad models benefit from NVRAM polling to detect a few of | ||
253 | the hot key press events. If you know your ThinkPad model does not | ||
254 | need to do NVRAM polling to support any of the hot keys you use, | ||
255 | unselecting this option will save about 1kB of memory. | ||
256 | |||
257 | ThinkPads T40 and newer, R52 and newer, and X31 and newer are | ||
258 | unlikely to need NVRAM polling in their latest BIOS versions. | ||
259 | |||
260 | NVRAM polling can detect at most the following keys: ThinkPad/Access | ||
261 | IBM, Zoom, Switch Display (fn+F7), ThinkLight, Volume up/down/mute, | ||
262 | Brightness up/down, Display Expand (fn+F8), Hibernate (fn+F12). | ||
263 | |||
264 | If you are not sure, say Y here. The driver enables polling only if | ||
265 | it is strictly necessary to do so. | ||
266 | |||
267 | config INTEL_MENLOW | ||
268 | tristate "Thermal Management driver for Intel menlow platform" | ||
269 | depends on ACPI_THERMAL | ||
270 | select THERMAL | ||
271 | ---help--- | ||
272 | ACPI thermal management enhancement driver on | ||
273 | Intel Menlow platform. | ||
274 | |||
275 | If unsure, say N. | ||
276 | |||
277 | config EEEPC_LAPTOP | ||
278 | tristate "Eee PC Hotkey Driver (EXPERIMENTAL)" | ||
279 | depends on ACPI | ||
280 | depends on EXPERIMENTAL | ||
281 | select BACKLIGHT_CLASS_DEVICE | ||
282 | select HWMON | ||
283 | select RFKILL | ||
284 | ---help--- | ||
285 | This driver supports the Fn-Fx keys on Eee PC laptops. | ||
286 | It also adds the ability to switch camera/wlan on/off. | ||
287 | |||
288 | If you have an Eee PC laptop, say Y or M here. | ||
289 | |||
290 | |||
291 | config ACPI_WMI | ||
292 | tristate "WMI (EXPERIMENTAL)" | ||
293 | depends on ACPI | ||
294 | depends on EXPERIMENTAL | ||
295 | help | ||
296 | This driver adds support for the ACPI-WMI (Windows Management | ||
297 | Instrumentation) mapper device (PNP0C14) found on some systems. | ||
298 | |||
299 | ACPI-WMI is a proprietary extension to ACPI to expose parts of the | ||
300 | ACPI firmware to userspace - this is done through various vendor | ||
301 | defined methods and data blocks in a PNP0C14 device, which are then | ||
302 | made available for userspace to call. | ||
303 | |||
304 | The implementation of this in Linux currently only exposes this to | ||
305 | other kernel space drivers. | ||
306 | |||
307 | This driver is a required dependency to build the firmware specific | ||
308 | drivers needed on many machines, including Acer and HP laptops. | ||
309 | |||
310 | It is safe to enable this driver even if your DSDT doesn't define | ||
311 | any ACPI-WMI devices. | ||
312 | |||
313 | config ACPI_ASUS | ||
314 | tristate "ASUS/Medion Laptop Extras" | ||
315 | depends on ACPI | ||
316 | select BACKLIGHT_CLASS_DEVICE | ||
317 | ---help--- | ||
318 | This driver provides support for extra features of ACPI-compatible | ||
319 | ASUS laptops. As some of Medion laptops are made by ASUS, it may also | ||
320 | support some Medion laptops (such as 9675 for example). It makes all | ||
321 | the extra buttons generate standard ACPI events that go through | ||
322 | /proc/acpi/events, and (on some models) adds support for changing the | ||
323 | display brightness and output, switching the LCD backlight on and off, | ||
324 | and most importantly, allows you to blink those fancy LEDs intended | ||
325 | for reporting mail and wireless status. | ||
326 | |||
327 | Note: display switching code is currently considered EXPERIMENTAL, | ||
328 | toying with these values may even lock your machine. | ||
329 | |||
330 | All settings are changed via /proc/acpi/asus directory entries. Owner | ||
331 | and group for these entries can be set with asus_uid and asus_gid | ||
332 | parameters. | ||
333 | |||
334 | More information and a userspace daemon for handling the extra buttons | ||
335 | at <http://sourceforge.net/projects/acpi4asus/>. | ||
336 | |||
337 | If you have an ACPI-compatible ASUS laptop, say Y or M here. This | ||
338 | driver is still under development, so if your laptop is unsupported or | ||
339 | something works not quite as expected, please use the mailing list | ||
340 | available on the above page (acpi4asus-user@lists.sourceforge.net). | ||
341 | |||
342 | NOTE: This driver is deprecated and will probably be removed soon, | ||
343 | use asus-laptop instead. | ||
344 | |||
345 | config ACPI_TOSHIBA | ||
346 | tristate "Toshiba Laptop Extras" | ||
347 | depends on ACPI | ||
348 | depends on INPUT | ||
349 | select INPUT_POLLDEV | ||
350 | select NET | ||
351 | select RFKILL | ||
352 | select BACKLIGHT_CLASS_DEVICE | ||
353 | ---help--- | ||
354 | This driver adds support for access to certain system settings | ||
355 | on "legacy free" Toshiba laptops. These laptops can be recognized by | ||
356 | their lack of a BIOS setup menu and APM support. | ||
357 | |||
358 | On these machines, all system configuration is handled through the | ||
359 | ACPI. This driver is required for access to controls not covered | ||
360 | by the general ACPI drivers, such as LCD brightness, video output, | ||
361 | etc. | ||
362 | |||
363 | This driver differs from the non-ACPI Toshiba laptop driver (located | ||
364 | under "Processor type and features") in several aspects. | ||
365 | Configuration is accessed by reading and writing text files in the | ||
366 | /proc tree instead of by program interface to /dev. Furthermore, no | ||
367 | power management functions are exposed, as those are handled by the | ||
368 | general ACPI drivers. | ||
369 | |||
370 | More information about this driver is available at | ||
371 | <http://memebeam.org/toys/ToshibaAcpiDriver>. | ||
372 | |||
373 | If you have a legacy free Toshiba laptop (such as the Libretto L1 | ||
374 | series), say Y. | ||
375 | endif # X86_PLATFORM_DEVICES | ||
diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile new file mode 100644 index 000000000000..1e9de2ae0de5 --- /dev/null +++ b/drivers/platform/x86/Makefile | |||
@@ -0,0 +1,19 @@ | |||
1 | # | ||
2 | # Makefile for linux/drivers/platform/x86 | ||
3 | # x86 Platform-Specific Drivers | ||
4 | # | ||
5 | obj-$(CONFIG_ASUS_LAPTOP) += asus-laptop.o | ||
6 | obj-$(CONFIG_EEEPC_LAPTOP) += eeepc-laptop.o | ||
7 | obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o | ||
8 | obj-$(CONFIG_COMPAL_LAPTOP) += compal-laptop.o | ||
9 | obj-$(CONFIG_ACER_WMI) += acer-wmi.o | ||
10 | obj-$(CONFIG_HP_WMI) += hp-wmi.o | ||
11 | obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o | ||
12 | obj-$(CONFIG_SONY_LAPTOP) += sony-laptop.o | ||
13 | obj-$(CONFIG_THINKPAD_ACPI) += thinkpad_acpi.o | ||
14 | obj-$(CONFIG_FUJITSU_LAPTOP) += fujitsu-laptop.o | ||
15 | obj-$(CONFIG_PANASONIC_LAPTOP) += panasonic-laptop.o | ||
16 | obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o | ||
17 | obj-$(CONFIG_ACPI_WMI) += wmi.o | ||
18 | obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o | ||
19 | obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o | ||
diff --git a/drivers/misc/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 94c9f911824e..94c9f911824e 100644 --- a/drivers/misc/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c | |||
diff --git a/drivers/misc/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 8fb8b3591048..8fb8b3591048 100644 --- a/drivers/misc/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c | |||
diff --git a/drivers/acpi/asus_acpi.c b/drivers/platform/x86/asus_acpi.c index 1e74988c7b2d..1e74988c7b2d 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/platform/x86/asus_acpi.c | |||
diff --git a/drivers/misc/compal-laptop.c b/drivers/platform/x86/compal-laptop.c index 11003bba10d3..11003bba10d3 100644 --- a/drivers/misc/compal-laptop.c +++ b/drivers/platform/x86/compal-laptop.c | |||
diff --git a/drivers/misc/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 02fe2b8b8939..02fe2b8b8939 100644 --- a/drivers/misc/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c | |||
diff --git a/drivers/misc/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index 65dc41540c62..65dc41540c62 100644 --- a/drivers/misc/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c | |||
diff --git a/drivers/misc/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index 4b7c24c519c3..4b7c24c519c3 100644 --- a/drivers/misc/hp-wmi.c +++ b/drivers/platform/x86/hp-wmi.c | |||
diff --git a/drivers/misc/intel_menlow.c b/drivers/platform/x86/intel_menlow.c index 27b7662955bb..27b7662955bb 100644 --- a/drivers/misc/intel_menlow.c +++ b/drivers/platform/x86/intel_menlow.c | |||
diff --git a/drivers/misc/msi-laptop.c b/drivers/platform/x86/msi-laptop.c index 759763d18e4c..759763d18e4c 100644 --- a/drivers/misc/msi-laptop.c +++ b/drivers/platform/x86/msi-laptop.c | |||
diff --git a/drivers/misc/panasonic-laptop.c b/drivers/platform/x86/panasonic-laptop.c index f30db367c82e..f30db367c82e 100644 --- a/drivers/misc/panasonic-laptop.c +++ b/drivers/platform/x86/panasonic-laptop.c | |||
diff --git a/drivers/misc/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 537959d07148..537959d07148 100644 --- a/drivers/misc/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
diff --git a/drivers/misc/tc1100-wmi.c b/drivers/platform/x86/tc1100-wmi.c index b4a4aa9ee482..b4a4aa9ee482 100644 --- a/drivers/misc/tc1100-wmi.c +++ b/drivers/platform/x86/tc1100-wmi.c | |||
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 3478453eba7a..3478453eba7a 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
diff --git a/drivers/acpi/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 40e60fc2e596..40e60fc2e596 100644 --- a/drivers/acpi/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c | |||
diff --git a/drivers/acpi/wmi.c b/drivers/platform/x86/wmi.c index 8a8b377712c9..8a8b377712c9 100644 --- a/drivers/acpi/wmi.c +++ b/drivers/platform/x86/wmi.c | |||