Commit 7aa5d97c authored by Sam Ravnborg's avatar Sam Ravnborg

kconfig/acpi: Cleanup Kconfig

Simplify dependencies.
Signed-off-by: default avatarRoman Zippel <zippel@linux-m68k.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent c157282d
...@@ -45,16 +45,18 @@ config ACPI_BOOT ...@@ -45,16 +45,18 @@ config ACPI_BOOT
depends on ACPI || X86_HT depends on ACPI || X86_HT
default y default y
if ACPI
config ACPI_INTERPRETER config ACPI_INTERPRETER
bool bool
depends on ACPI
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default y default y
if ACPI_INTERPRETER
config ACPI_SLEEP config ACPI_SLEEP
bool "Sleep States (EXPERIMENTAL)" bool "Sleep States (EXPERIMENTAL)"
depends on X86 && ACPI depends on X86
depends on ACPI_INTERPRETER
depends on EXPERIMENTAL && PM depends on EXPERIMENTAL && PM
default y default y
---help--- ---help---
...@@ -81,7 +83,6 @@ config ACPI_SLEEP_PROC_FS ...@@ -81,7 +83,6 @@ config ACPI_SLEEP_PROC_FS
config ACPI_AC config ACPI_AC
tristate "AC Adapter" tristate "AC Adapter"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
help help
This driver adds support for the AC Adapter object, which indicates This driver adds support for the AC Adapter object, which indicates
...@@ -91,7 +92,6 @@ config ACPI_AC ...@@ -91,7 +92,6 @@ config ACPI_AC
config ACPI_BATTERY config ACPI_BATTERY
tristate "Battery" tristate "Battery"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
help help
This driver adds support for battery information through This driver adds support for battery information through
...@@ -100,7 +100,6 @@ config ACPI_BATTERY ...@@ -100,7 +100,6 @@ config ACPI_BATTERY
config ACPI_BUTTON config ACPI_BUTTON
tristate "Button" tristate "Button"
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default m default m
help help
...@@ -112,7 +111,6 @@ config ACPI_BUTTON ...@@ -112,7 +111,6 @@ config ACPI_BUTTON
config ACPI_VIDEO config ACPI_VIDEO
tristate "Video" tristate "Video"
depends on ACPI_INTERPRETER
depends on EXPERIMENTAL depends on EXPERIMENTAL
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default m default m
...@@ -127,7 +125,6 @@ config ACPI_VIDEO ...@@ -127,7 +125,6 @@ config ACPI_VIDEO
config ACPI_FAN config ACPI_FAN
tristate "Fan" tristate "Fan"
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default m default m
help help
...@@ -136,7 +133,6 @@ config ACPI_FAN ...@@ -136,7 +133,6 @@ config ACPI_FAN
config ACPI_PROCESSOR config ACPI_PROCESSOR
tristate "Processor" tristate "Processor"
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default m default m
help help
...@@ -165,7 +161,6 @@ config ACPI_THERMAL ...@@ -165,7 +161,6 @@ config ACPI_THERMAL
config ACPI_NUMA config ACPI_NUMA
bool "NUMA support" bool "NUMA support"
depends on ACPI_INTERPRETER
depends on NUMA depends on NUMA
depends on (IA64 || X86_64) depends on (IA64 || X86_64)
default y if IA64_GENERIC || IA64_SGI_SN2 default y if IA64_GENERIC || IA64_SGI_SN2
...@@ -173,7 +168,6 @@ config ACPI_NUMA ...@@ -173,7 +168,6 @@ config ACPI_NUMA
config ACPI_ASUS config ACPI_ASUS
tristate "ASUS/Medion Laptop Extras" tristate "ASUS/Medion Laptop Extras"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
---help--- ---help---
This driver provides support for extra features of ACPI-compatible This driver provides support for extra features of ACPI-compatible
...@@ -203,7 +197,6 @@ config ACPI_ASUS ...@@ -203,7 +197,6 @@ config ACPI_ASUS
config ACPI_IBM config ACPI_IBM
tristate "IBM ThinkPad Laptop Extras" tristate "IBM ThinkPad Laptop Extras"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
---help--- ---help---
This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds
...@@ -217,7 +210,6 @@ config ACPI_IBM ...@@ -217,7 +210,6 @@ config ACPI_IBM
config ACPI_TOSHIBA config ACPI_TOSHIBA
tristate "Toshiba Laptop Extras" tristate "Toshiba Laptop Extras"
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default m default m
---help--- ---help---
This driver adds support for access to certain system settings This driver adds support for access to certain system settings
...@@ -244,7 +236,7 @@ config ACPI_TOSHIBA ...@@ -244,7 +236,7 @@ config ACPI_TOSHIBA
config ACPI_CUSTOM_DSDT config ACPI_CUSTOM_DSDT
bool "Include Custom DSDT" bool "Include Custom DSDT"
depends on ACPI_INTERPRETER && !STANDALONE depends on !STANDALONE
default n default n
help help
Thist option is to load a custom ACPI DSDT Thist option is to load a custom ACPI DSDT
...@@ -271,7 +263,6 @@ config ACPI_BLACKLIST_YEAR ...@@ -271,7 +263,6 @@ config ACPI_BLACKLIST_YEAR
config ACPI_DEBUG config ACPI_DEBUG
bool "Debug Statements" bool "Debug Statements"
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default n default n
help help
...@@ -281,14 +272,12 @@ config ACPI_DEBUG ...@@ -281,14 +272,12 @@ config ACPI_DEBUG
config ACPI_BUS config ACPI_BUS
bool bool
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default y default y
config ACPI_EC config ACPI_EC
bool bool
depends on X86 depends on X86
depends on ACPI_INTERPRETER
default y default y
help help
This driver is required on some systems for the proper operation of This driver is required on some systems for the proper operation of
...@@ -297,28 +286,27 @@ config ACPI_EC ...@@ -297,28 +286,27 @@ config ACPI_EC
config ACPI_POWER config ACPI_POWER
bool bool
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default y default y
config ACPI_PCI config ACPI_PCI
bool bool
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default PCI default PCI
config ACPI_SYSTEM config ACPI_SYSTEM
bool bool
depends on ACPI_INTERPRETER
depends on !IA64_SGI_SN depends on !IA64_SGI_SN
default y default y
help help
This driver will enable your system to shut down using ACPI, and This driver will enable your system to shut down using ACPI, and
dump your ACPI DSDT table using /proc/acpi/dsdt. dump your ACPI DSDT table using /proc/acpi/dsdt.
endif # ACPI_INTERPRETER
config X86_PM_TIMER config X86_PM_TIMER
bool "Power Management Timer Support" bool "Power Management Timer Support"
depends on X86 && ACPI depends on X86
depends on ACPI_BOOT && EXPERIMENTAL depends on ACPI_BOOT && EXPERIMENTAL
depends on !X86_64 depends on !X86_64
default n default n
...@@ -337,10 +325,12 @@ config X86_PM_TIMER ...@@ -337,10 +325,12 @@ config X86_PM_TIMER
config ACPI_CONTAINER config ACPI_CONTAINER
tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)" tristate "ACPI0004,PNP0A05 and PNP0A06 Container Driver (EXPERIMENTAL)"
depends on ACPI && EXPERIMENTAL depends on EXPERIMENTAL
default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO) default (ACPI_HOTPLUG_MEMORY || ACPI_HOTPLUG_CPU || ACPI_HOTPLUG_IO)
---help--- ---help---
This is the ACPI generic container driver which supports This is the ACPI generic container driver which supports
ACPI0004, PNP0A05 and PNP0A06 devices ACPI0004, PNP0A05 and PNP0A06 devices
endif # ACPI
endmenu endmenu
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment