diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 12:27:28 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 12:27:28 +0400 |
commit | 9f38045643859bed21068e8a7b868c961091065e (patch) | |
tree | e3a8108d0ec6a069d6de96837871576e3c6d0f8e /arch/sh/include/cpu-sh3/cpu | |
parent | 6b1ef625c321876a80b4281ea88094f7906d9157 (diff) | |
download | linux-9f38045643859bed21068e8a7b868c961091065e.tar.xz |
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-sh3/cpu')
-rw-r--r-- | arch/sh/include/cpu-sh3/cpu/dma.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/sh/include/cpu-sh3/cpu/dma.h b/arch/sh/include/cpu-sh3/cpu/dma.h index 24e28b91c9d5..27a90ad0bcec 100644 --- a/arch/sh/include/cpu-sh3/cpu/dma.h +++ b/arch/sh/include/cpu-sh3/cpu/dma.h @@ -1,6 +1,8 @@ #ifndef __ASM_CPU_SH3_DMA_H #define __ASM_CPU_SH3_DMA_H +#include <linux/sh_intc.h> + #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ defined(CONFIG_CPU_SUBTYPE_SH7721) || \ defined(CONFIG_CPU_SUBTYPE_SH7710) || \ @@ -10,8 +12,8 @@ #define SH_DMAC_BASE0 0xa4000020 #endif -#define DMTE0_IRQ 48 -#define DMTE4_IRQ 76 +#define DMTE0_IRQ evt2irq(0x800) +#define DMTE4_IRQ evt2irq(0xb80) /* Definitions for the SuperH DMAC */ #define TM_BURST 0x00000020 |