diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 04:27:28 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 04:27:28 -0400 |
commit | 9f38045643859bed21068e8a7b868c961091065e (patch) | |
tree | e3a8108d0ec6a069d6de96837871576e3c6d0f8e /arch/sh/include/cpu-sh4/cpu/dma.h | |
parent | 6b1ef625c321876a80b4281ea88094f7906d9157 (diff) |
sh: cpu dma evt2irq migration.
This migrates the cpu-family relative DMA IRQ definitions over to
evt2irq() backed hwirq lookups.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/cpu-sh4/cpu/dma.h')
-rw-r--r-- | arch/sh/include/cpu-sh4/cpu/dma.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/sh/include/cpu-sh4/cpu/dma.h b/arch/sh/include/cpu-sh4/cpu/dma.h index ca747e93c2ed..9d32e2dd2554 100644 --- a/arch/sh/include/cpu-sh4/cpu/dma.h +++ b/arch/sh/include/cpu-sh4/cpu/dma.h | |||
@@ -8,13 +8,16 @@ | |||
8 | #include <cpu/dma-sh4a.h> | 8 | #include <cpu/dma-sh4a.h> |
9 | 9 | ||
10 | #else /* CONFIG_CPU_SH4A */ | 10 | #else /* CONFIG_CPU_SH4A */ |
11 | |||
12 | #include <linux/sh_intc.h> | ||
13 | |||
11 | /* | 14 | /* |
12 | * SH7750/SH7751/SH7760 | 15 | * SH7750/SH7751/SH7760 |
13 | */ | 16 | */ |
14 | #define DMTE0_IRQ 34 | 17 | #define DMTE0_IRQ evt2irq(0x640) |
15 | #define DMTE4_IRQ 44 | 18 | #define DMTE4_IRQ evt2irq(0x780) |
16 | #define DMTE6_IRQ 46 | 19 | #define DMTE6_IRQ evt2irq(0x7c0) |
17 | #define DMAE0_IRQ 38 | 20 | #define DMAE0_IRQ evt2irq(0x6c0) |
18 | 21 | ||
19 | #define SH_DMAC_BASE0 0xffa00000 | 22 | #define SH_DMAC_BASE0 0xffa00000 |
20 | #define SH_DMAC_BASE1 0xffa00070 | 23 | #define SH_DMAC_BASE1 0xffa00070 |