sparc32 has working dma-mapping only with CONFIG_PCI
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 17 Jul 2007 07:49:35 +0000 (08:49 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 18:01:07 +0000 (11:01 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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