summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/dma.h
diff options
context:
space:
mode:
authorGleb O. Raiko <raiko@niisi.msk.ru>1999-12-30 14:22:47 +0000
committerGleb O. Raiko <raiko@niisi.msk.ru>1999-12-30 14:22:47 +0000
commit504c016ce2804c02b523f0bdecfaa46951238d10 (patch)
tree41bb8b59eb21c9e3d08e12144a18ec2e7a603fec /include/asm-mips/dma.h
parent0a84e4bd94d495b465d3a243bc7b43e5fb513c1d (diff)
Fix a compilation bug when PCI support is selected
Diffstat (limited to 'include/asm-mips/dma.h')
-rw-r--r--include/asm-mips/dma.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-mips/dma.h b/include/asm-mips/dma.h
index 14f1248f8..0805352df 100644
--- a/include/asm-mips/dma.h
+++ b/include/asm-mips/dma.h
@@ -1,4 +1,4 @@
-/* $Id: dma.h,v 1.4 1999/10/09 00:01:42 ralf Exp $
+/* $Id: dma.h,v 1.5 1999/10/17 19:55:23 harald Exp $
* linux/include/asm/dma.h: Defines for using and allocating dma channels.
* Written by Hennus Bergman, 1992.
* High DMA channel support & info by Hannu Savolainen
@@ -299,4 +299,10 @@ static __inline__ int get_dma_residue(unsigned int dmanr)
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 /* __ASM_MIPS_DMA_H */