Sfoglia il codice sorgente

microblaze: Add isa_dma_bridge_buggy to dma.h

It is necessary for several drivers.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek 15 anni fa
parent
commit
113a591a17
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      arch/microblaze/include/asm/dma.h

+ 6 - 0
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 */