patch-2.1.132 linux/include/asm-i386/dma.h

Next file: linux/include/asm-i386/mca_dma.h
Previous file: linux/include/asm-arm/termios.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/include/asm-i386/dma.h linux/include/asm-i386/dma.h
@@ -8,6 +8,7 @@
 #ifndef _ASM_DMA_H
 #define _ASM_DMA_H
 
+#include <linux/config.h>
 #include <asm/io.h>		/* need byte IO */
 #include <asm/spinlock.h>	/* And spinlocks */
 #include <linux/delay.h>
@@ -284,5 +285,12 @@
 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 */
 
+/* From PCI */
+
+#ifdef CONFIG_PCI_QUIRKS
+extern int isa_dma_bridge_buggy;
+#else
+#define isa_dma_bridge_buggy 	(0)
+#endif
 
 #endif /* _ASM_DMA_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov