[MIPS] Sort out handling of ISA-less PCI systems.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 6595928..3334a06 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -692,10 +692,6 @@
config SYS_HAS_EARLY_PRINTK
bool
-config GENERIC_ISA_DMA
- bool
- select ZONE_DMA
-
config HOTPLUG_CPU
bool
default n
@@ -715,9 +711,13 @@
config NO_IOPORT
def_bool n
+config GENERIC_ISA_DMA
+ bool
+ select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n
+
config GENERIC_ISA_DMA_SUPPORT_BROKEN
bool
- select ZONE_DMA
+ select GENERIC_ISA_DMA
config GENERIC_GPIO
bool