summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-04-20 21:02:13 +0400
committerMichal Simek <monstr@monstr.eu>2010-05-06 13:21:58 +0400
commit113a591a17de9e71b90631be89d3268c406b11c6 (patch)
tree3655c641f4318f07140d66baae340b7d041e78d9 /arch
parente7682231092d1d1dd49bc590d6d3b7f0ddc07e74 (diff)
downloadlinux-113a591a17de9e71b90631be89d3268c406b11c6.tar.xz
microblaze: Add isa_dma_bridge_buggy to dma.h
It is necessary for several drivers. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/include/asm/dma.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/dma.h b/arch/microblaze/include/asm/dma.h
index 08c073badf19..0d73d0c6de37 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 */