diff options
Diffstat (limited to 'arch/mips/include/asm/dma.h')
| -rw-r--r-- | arch/mips/include/asm/dma.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/dma.h b/arch/mips/include/asm/dma.h index 1353c81065d1..2d47da62d5a7 100644 --- a/arch/mips/include/asm/dma.h +++ b/arch/mips/include/asm/dma.h | |||
| @@ -91,7 +91,10 @@ | |||
| 91 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + 0x01000000) | 91 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + 0x01000000) |
| 92 | #endif | 92 | #endif |
| 93 | #define MAX_DMA_PFN PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS)) | 93 | #define MAX_DMA_PFN PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS)) |
| 94 | |||
| 95 | #ifndef MAX_DMA32_PFN | ||
| 94 | #define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT)) | 96 | #define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT)) |
| 97 | #endif | ||
| 95 | 98 | ||
| 96 | /* 8237 DMA controllers */ | 99 | /* 8237 DMA controllers */ |
| 97 | #define IO_DMA1_BASE 0x00 /* 8 bit slave DMA, channels 0..3 */ | 100 | #define IO_DMA1_BASE 0x00 /* 8 bit slave DMA, channels 0..3 */ |
