[MIPS] Sort out handling of ISA-less PCI systems.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 24 Aug 2007 15:48:30 +0000 (16:48 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 27 Aug 2007 01:17:00 +0000 (02:17 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig

index 6595928..3334a06 100644 (file)
@@ -692,10 +692,6 @@ config EARLY_PRINTK
 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 MIPS_DISABLE_OBSOLETE_IDE
 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