|
@@ -91,7 +91,10 @@
|
|
#define MAX_DMA_ADDRESS (PAGE_OFFSET + 0x01000000)
|
|
#define MAX_DMA_ADDRESS (PAGE_OFFSET + 0x01000000)
|
|
#endif
|
|
#endif
|
|
#define MAX_DMA_PFN PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS))
|
|
#define MAX_DMA_PFN PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS))
|
|
|
|
+
|
|
|
|
+#ifndef MAX_DMA32_PFN
|
|
#define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT))
|
|
#define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT))
|
|
|
|
+#endif
|
|
|
|
|
|
/* 8237 DMA controllers */
|
|
/* 8237 DMA controllers */
|
|
#define IO_DMA1_BASE 0x00 /* 8 bit slave DMA, channels 0..3 */
|
|
#define IO_DMA1_BASE 0x00 /* 8 bit slave DMA, channels 0..3 */
|