Skip to contentSkip to conversation

: fix PCI access mode dependences in arch/i386/Kconfig

PATCH New Raphael Zimmerer 1 participant 1 message Jul 30, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : fix PCI access mode dependences in arch/i386/Kconfig

PCI acces mode Configuration

Problem:
While all ACPI stuff is deselected, and PCI access mode is set to "Any", CONFIG_ACPI_BOOT is going to be set because of CONFIG_PCI_MMCONFIG.

Solution:
If CONFIG_ACPI_BOOT is not allready set by other stuff, setting PCI access mode to "Any" shouldn't set CONFIG_PCI_MMCONFIG. Anyhow, setting PCI access mode to "MMConfig" should select CONFIG_ACPI_BOOT.

Regards,
Raphael

 Kconfig |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/i386/Kconfig +1 -1
@@ -1105,7 +1105,7 @@
 
 config PCI_MMCONFIG
 	bool
-	depends on PCI && (PCI_GOMMCONFIG || PCI_GOANY)
+	depends on PCI && (PCI_GOMMCONFIG || (PCI_GOANY && ACPI_BOOT))
 	select ACPI_BOOT
 	default y