summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-h720x/include/mach/isa-dma.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-29 18:48:07 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-29 18:49:55 +0000
commitf40b121d983dfc53bde882aadec7f2f0bbcbd1c2 (patch)
treeef7e99f154d2f9aa5109abdcb331342cad27fe22 /arch/arm/mach-h720x/include/mach/isa-dma.h
parentdcea83adc666061864b82c96e059dffe7268b512 (diff)
[ARM] Rename ISA mach/dma.h header to mach/isa-dma.h
This avoids confusion with platform specific DMA implementations in mach/dma.h Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-h720x/include/mach/isa-dma.h')
-rw-r--r--arch/arm/mach-h720x/include/mach/isa-dma.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-h720x/include/mach/isa-dma.h b/arch/arm/mach-h720x/include/mach/isa-dma.h
new file mode 100644
index 00000000000..3eafb3f163c
--- /dev/null
+++ b/arch/arm/mach-h720x/include/mach/isa-dma.h
@@ -0,0 +1,19 @@
+/*
+ * arch/arm/mach-h720x/include/mach/isa-dma.h
+ *
+ * Architecture DMA routes
+ *
+ * Copyright (C) 1997.1998 Russell King
+ */
+#ifndef __ASM_ARCH_DMA_H
+#define __ASM_ARCH_DMA_H
+
+#if defined (CONFIG_CPU_H7201)
+#define MAX_DMA_CHANNELS 3
+#elif defined (CONFIG_CPU_H7202)
+#define MAX_DMA_CHANNELS 4
+#else
+#error processor definition missmatch
+#endif
+
+#endif /* __ASM_ARCH_DMA_H */