diff options
author | Michal Simek <monstr@monstr.eu> | 2010-04-20 19:02:13 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-05-06 11:21:58 +0200 |
commit | 113a591a17de9e71b90631be89d3268c406b11c6 (patch) | |
tree | 3655c641f4318f07140d66baae340b7d041e78d9 /arch | |
parent | e7682231092d1d1dd49bc590d6d3b7f0ddc07e74 (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')
-rw-r--r-- | arch/microblaze/include/asm/dma.h | 6 |
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 */ |