]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/dma.h
Merge git://git.infradead.org/battery-2.6
[linux-2.6-omap-h63xx.git] / include / asm-mips / dma.h
index 23f789c80845c5d8814343bfa910d82e701a14b3..833437d31ef1634c1286d957b8cca8971bc158f2 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
 
@@ -91,6 +91,7 @@
 #else
 #define MAX_DMA_ADDRESS                (PAGE_OFFSET + 0x01000000)
 #endif
+#define MAX_DMA_PFN            PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS))
 
 /* 8237 DMA controllers */
 #define IO_DMA1_BASE   0x00    /* 8 bit slave DMA, channels 0..3 */