patch-2.3.41 linux/include/asm-m68k/dma.h

Next file: linux/include/asm-m68k/entry.h
Previous file: linux/include/asm-m68k/div64.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.40/linux/include/asm-m68k/dma.h linux/include/asm-m68k/dma.h
@@ -1,12 +1,21 @@
 #ifndef _M68K_DMA_H
 #define _M68K_DMA_H 1
 
-/* Don't define MAX_DMA_ADDRESS; it's useless on the m68k and any
-   occurrence should be flagged as an error.  */
+#include <linux/config.h>
+
+/* it's useless on the m68k, but unfortunately needed by the new
+   bootmem allocator (but this should do it for this) */
+#define MAX_DMA_ADDRESS PAGE_OFFSET
 
 #define MAX_DMA_CHANNELS 8
 
 extern int request_dma(unsigned int dmanr, const char * device_id);	/* reserve a DMA channel */
 extern void free_dma(unsigned int dmanr);	/* release it again */
+
+#ifdef CONFIG_PCI
+extern int isa_dma_bridge_buggy;
+#else
+#define isa_dma_bridge_buggy    (0)
+#endif
 
 #endif /* _M68K_DMA_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)