From 504c016ce2804c02b523f0bdecfaa46951238d10 Mon Sep 17 00:00:00 2001 From: "Gleb O. Raiko" Date: Thu, 30 Dec 1999 14:22:47 +0000 Subject: Fix a compilation bug when PCI support is selected --- include/asm-mips/dma.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/asm-mips/dma.h') 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 */ -- cgit v1.2.3