From: Michal Simek Date: Tue, 20 Apr 2010 17:02:13 +0000 (+0200) Subject: microblaze: Add isa_dma_bridge_buggy to dma.h X-Git-Tag: v2.6.34-rc7~12^2~13 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=113a591a17de9e71b90631be89d3268c406b11c6;p=~shefty%2Frdma-dev.git microblaze: Add isa_dma_bridge_buggy to dma.h It is necessary for several drivers. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/include/asm/dma.h b/arch/microblaze/include/asm/dma.h index 08c073badf1..0d73d0c6de3 100644 --- a/arch/microblaze/include/asm/dma.h +++ b/arch/microblaze/include/asm/dma.h @@ -18,4 +18,10 @@ #define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1) #endif +#ifdef CONFIG_PCI +extern int isa_dma_bridge_buggy; +#else +#define isa_dma_bridge_buggy (0) +#endif + #endif /* _ASM_MICROBLAZE_DMA_H */