[PATCH] [pci]: fix PCI access mode dependences in arch/i386/Kconfig

From: Raphael Zimmerer
Date: Fri Jul 30 2004 - 05:41:40 EST


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

Signed-off-by: Raphael Zimmerer <killekulla@xxxxxxx>
Kconfig | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.8-rc2/arch/i386/Kconfig 2004-07-27 13:13:16.000000000 +0200
+++ linux-2.6.8-rc2-[uart]/arch/i386/Kconfig 2004-07-29 12:47:07.000000000 +0200
@@ -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

Attachment: signature.asc
Description: Digital signature