summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/dma.h
diff options
context:
space:
mode:
authorJoao Pinto <Joao.Pinto@synopsys.com>2016-03-10 14:44:13 -0600
committerBjorn Helgaas <bhelgaas@google.com>2016-03-10 14:44:13 -0600
commitc1678ffcdea25afe4fbbebfab13d65a7db5458fb (patch)
tree41be9cd7cef62752ad396046315ba633258842cd /arch/arc/include/asm/dma.h
parented00c83cd4909dc268cc0639bf16804444ed8c79 (diff)
ARC: Add PCI support
Add PCI support to ARC and update drivers/pci Makefile enabling the ARC arch to use the generic PCI setup functions. [bhelgaas: fold in Joao's pci-dma-compat.h & pci-bridge.h build fix (I should have caught this myself, sorry] Signed-off-by: Joao Pinto <jpinto@synopsys.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/dma.h')
-rw-r--r--arch/arc/include/asm/dma.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arc/include/asm/dma.h b/arch/arc/include/asm/dma.h
index ca7c45181de9..01e47a69b034 100644
--- a/arch/arc/include/asm/dma.h
+++ b/arch/arc/include/asm/dma.h
@@ -10,5 +10,10 @@
#define ASM_ARC_DMA_H
#define MAX_DMA_ADDRESS 0xC0000000
+#ifdef CONFIG_PCI
+extern int isa_dma_bridge_buggy;
+#else
+#define isa_dma_bridge_buggy 0
+#endif
#endif