]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/dma.h
[NETNS]: Add namespace for ICMP replying code.
[linux-2.6-omap-h63xx.git] / include / asm-mips / dma.h
index e06ef0776d48950f3b0ea556219ea2c2c84a3fce..d6a6c21f16db507f7e8f362f63427fdfbd922d43 100644 (file)
@@ -74,7 +74,7 @@
  *
  */
 
-#ifndef GENERIC_ISA_DMA_SUPPORT_BROKEN
+#ifndef CONFIG_GENERIC_ISA_DMA_SUPPORT_BROKEN
 #define MAX_DMA_CHANNELS       8
 #endif
 
@@ -92,6 +92,7 @@
 #define MAX_DMA_ADDRESS                (PAGE_OFFSET + 0x01000000)
 #endif
 #define MAX_DMA_PFN            PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS))
+#define MAX_DMA32_PFN          (1UL << (32 - PAGE_SHIFT))
 
 /* 8237 DMA controllers */
 #define IO_DMA1_BASE   0x00    /* 8 bit slave DMA, channels 0..3 */