diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 17:27:28 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 17:27:28 +0900 |
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 @@ #include <cpu/dma-sh4a.h> #else /* CONFIG_CPU_SH4A */ + +#include <linux/sh_intc.h> + /* * SH7750/SH7751/SH7760 */ -#define DMTE0_IRQ 34 -#define DMTE4_IRQ 44 -#define DMTE6_IRQ 46 -#define DMAE0_IRQ 38 +#define DMTE0_IRQ evt2irq(0x640) +#define DMTE4_IRQ evt2irq(0x780) +#define DMTE6_IRQ evt2irq(0x7c0) +#define DMAE0_IRQ evt2irq(0x6c0) #define SH_DMAC_BASE0 0xffa00000 #define SH_DMAC_BASE1 0xffa00070 |