summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/dma.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-04-20 19:02:13 +0200
committerMichal Simek <monstr@monstr.eu>2010-05-06 11:21:58 +0200
commit113a591a17de9e71b90631be89d3268c406b11c6 (patch)
tree3655c641f4318f07140d66baae340b7d041e78d9 /arch/microblaze/include/asm/dma.h
parente7682231092d1d1dd49bc590d6d3b7f0ddc07e74 (diff)
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/microblaze/include/asm/dma.h')
-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 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 */