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-sh3 | |
| 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-sh3')
| -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 @@ | |||
| 1 | #ifndef __ASM_CPU_SH3_DMA_H | 1 | #ifndef __ASM_CPU_SH3_DMA_H |
| 2 | #define __ASM_CPU_SH3_DMA_H | 2 | #define __ASM_CPU_SH3_DMA_H |
| 3 | 3 | ||
| 4 | #include <linux/sh_intc.h> | ||
| 5 | |||
| 4 | #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 6 | #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
| 5 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 7 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
| 6 | defined(CONFIG_CPU_SUBTYPE_SH7710) || \ | 8 | defined(CONFIG_CPU_SUBTYPE_SH7710) || \ |
| @@ -10,8 +12,8 @@ | |||
| 10 | #define SH_DMAC_BASE0 0xa4000020 | 12 | #define SH_DMAC_BASE0 0xa4000020 |
| 11 | #endif | 13 | #endif |
| 12 | 14 | ||
| 13 | #define DMTE0_IRQ 48 | 15 | #define DMTE0_IRQ evt2irq(0x800) |
| 14 | #define DMTE4_IRQ 76 | 16 | #define DMTE4_IRQ evt2irq(0xb80) |
| 15 | 17 | ||
| 16 | /* Definitions for the SuperH DMAC */ | 18 | /* Definitions for the SuperH DMAC */ |
| 17 | #define TM_BURST 0x00000020 | 19 | #define TM_BURST 0x00000020 |
