Skip to contentSkip to conversation

ACPI should depend on, not select PCI

PATCH New Adrian Bunk 1 participant 1 message Feb 16, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI should depend on, not select PCI

ACPI should depend on, not select PCI.

Otherwise, illegal configurations like X86_VOYAGER=y, PCI=y are possible.

This patch also fixes the options select'ing ACPI to also select PCI.

---

 arch/ia64/Kconfig    |    1 +
 arch/x86_64/Kconfig  |    1 +
 drivers/acpi/Kconfig |    3 +--
 3 files changed, 3 insertions(+), 2 deletions(-)
drivers/acpi/Kconfig renamed from drivers/acpi/Kconfig.old +1 -2
@@ -10,9 +10,8 @@
 config ACPI
 	bool "ACPI Support"
 	depends on IA64 || X86
+	depends on PCI
 	select PM
-	select PCI
-
 	default y
 	---help---
 	  Advanced Configuration and Power Interface (ACPI) support for 
arch/ia64/Kconfig renamed from arch/ia64/Kconfig.old +1 -0
@@ -73,6 +73,7 @@
 config IA64_GENERIC
 	bool "generic"
 	select ACPI
+	select PCI
 	select NUMA
 	select ACPI_NUMA
 	help
arch/x86_64/Kconfig renamed from arch/x86_64/Kconfig.old +1 -0
@@ -285,6 +285,7 @@
        bool "ACPI NUMA detection"
        depends on NUMA
        select ACPI 
+	select PCI
        select ACPI_NUMA
        default y
        help