From 098c011affcf109442c0603db28c0e8f4c29f7b8 Mon Sep 17 00:00:00 2001 From: Henrique de Moraes Holschuh Date: Tue, 13 Mar 2007 13:19:03 -0300 Subject: [PATCH] ACPI: ibm-acpi: move driver to drivers/misc hierarchy ibm-acpi is not an ACPICA driver, so move it to drivers/misc as per Len Brown's request. Signed-off-by: Henrique de Moraes Holschuh --- drivers/acpi/Kconfig | 37 ------------------------------------- drivers/acpi/Makefile | 1 - drivers/misc/Kconfig | 37 +++++++++++++++++++++++++++++++++++++ drivers/misc/Makefile | 1 + drivers/{acpi => misc}/ibm_acpi.c | 0 drivers/{acpi => misc}/ibm_acpi.h | 0 6 files changed, 38 insertions(+), 38 deletions(-) rename drivers/{acpi => misc}/ibm_acpi.c (100%) rename drivers/{acpi => misc}/ibm_acpi.h (100%) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 4ab9fa17027..b238f4db050 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -198,43 +198,6 @@ config ACPI_ASUS driver is still under development, so if your laptop is unsupported or something works not quite as expected, please use the mailing list available on the above page (acpi4asus-user@lists.sourceforge.net) - -config ACPI_IBM - tristate "IBM ThinkPad Laptop Extras" - depends on X86 - select BACKLIGHT_CLASS_DEVICE - ---help--- - This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds - support for Fn-Fx key combinations, Bluetooth control, video - output switching, ThinkLight control, UltraBay eject and more. - For more information about this driver see - and . - - If you have an IBM ThinkPad laptop, say Y or M here. - -config ACPI_IBM_DOCK - bool "Legacy Docking Station Support" - depends on ACPI_IBM - depends on ACPI_DOCK=n - default n - ---help--- - Allows the ibm_acpi driver to handle docking station events. - This support is obsoleted by CONFIG_HOTPLUG_PCI_ACPI. It will - allow locking and removing the laptop from the docking station, - but will not properly connect PCI devices. - - If you are not sure, say N here. - -config ACPI_IBM_BAY - bool "Legacy Removable Bay Support" - depends on ACPI_IBM - default y - ---help--- - Allows the ibm_acpi driver to handle removable bays. It will allow - disabling the device in the bay, and also generate notifications when - the bay lever is ejected or inserted. - - If you are not sure, say Y here. config ACPI_TOSHIBA tristate "Toshiba Laptop Extras" diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index bce7ca27b42..57f01803b53 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile @@ -54,7 +54,6 @@ obj-$(CONFIG_ACPI_SYSTEM) += system.o event.o obj-$(CONFIG_ACPI_DEBUG) += debug.o obj-$(CONFIG_ACPI_NUMA) += numa.o obj-$(CONFIG_ACPI_ASUS) += asus_acpi.o -obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o obj-$(CONFIG_ACPI_TOSHIBA) += toshiba_acpi.o obj-y += scan.o motherboard.o obj-$(CONFIG_ACPI_HOTPLUG_MEMORY) += acpi_memhotplug.o diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 00db31c314e..d1b48b2b663 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -88,4 +88,41 @@ config MSI_LAPTOP If you have an MSI S270 laptop, say Y or M here. +config ACPI_IBM + tristate "IBM ThinkPad Laptop Extras" + depends on X86 && ACPI + select BACKLIGHT_CLASS_DEVICE + ---help--- + This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds + support for Fn-Fx key combinations, Bluetooth control, video + output switching, ThinkLight control, UltraBay eject and more. + For more information about this driver see + and . + + If you have an IBM ThinkPad laptop, say Y or M here. + +config ACPI_IBM_DOCK + bool "Legacy Docking Station Support" + depends on ACPI_IBM + depends on ACPI_DOCK=n + default n + ---help--- + Allows the ibm_acpi driver to handle docking station events. + This support is obsoleted by CONFIG_HOTPLUG_PCI_ACPI. It will + allow locking and removing the laptop from the docking station, + but will not properly connect PCI devices. + + If you are not sure, say N here. + +config ACPI_IBM_BAY + bool "Legacy Removable Bay Support" + depends on ACPI_IBM + default y + ---help--- + Allows the ibm_acpi driver to handle removable bays. It will allow + disabling the device in the bay, and also generate notifications when + the bay lever is ejected or inserted. + + If you are not sure, say Y here. + endmenu diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index c9e98ab021c..04681e7a6a4 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -10,3 +10,4 @@ obj-$(CONFIG_LKDTM) += lkdtm.o obj-$(CONFIG_TIFM_CORE) += tifm_core.o obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o obj-$(CONFIG_SGI_IOC4) += ioc4.o +obj-$(CONFIG_ACPI_IBM) += ibm_acpi.o diff --git a/drivers/acpi/ibm_acpi.c b/drivers/misc/ibm_acpi.c similarity index 100% rename from drivers/acpi/ibm_acpi.c rename to drivers/misc/ibm_acpi.c diff --git a/drivers/acpi/ibm_acpi.h b/drivers/misc/ibm_acpi.h similarity index 100% rename from drivers/acpi/ibm_acpi.h rename to drivers/misc/ibm_acpi.h -- 2.11.4.GIT