sparc32 has working dma-mapping only with CONFIG_PCI
authorAl Viro <[email protected]>
Tue, 17 Jul 2007 07:49:35 +0000 (08:49 +0100)
committerLinus Torvalds <[email protected]>
Tue, 17 Jul 2007 18:01:07 +0000 (11:01 -0700)
Signed-off-by: Al Viro <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/sparc/Kconfig

index 8567cc901942be09a40178388919afea7fdc1d4c..73df7115325bc4cd813f4a753d5a8991a1223869 100644 (file)
@@ -217,6 +217,9 @@ source "drivers/pci/Kconfig"
 
 endif
 
+config NO_DMA
+       def_bool !PCI
+
 config SUN_OPENPROMFS
        tristate "Openprom tree appears in /proc/openprom"
        help