microblaze: Add isa_dma_bridge_buggy to dma.h
authorMichal Simek <monstr@monstr.eu>
Tue, 20 Apr 2010 17:02:13 +0000 (19:02 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 6 May 2010 09:21:58 +0000 (11:21 +0200)
It is necessary for several drivers.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/dma.h

index 08c073badf198f3296b384742b98a31a1ab9b408..0d73d0c6de37c275341f4a8c050fc75cf61019fa 100644 (file)
 #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 */