diff options
author | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 10:34:49 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2012-05-18 10:34:49 +0400 |
commit | b894701e7c472dbc6267bdde68bd6d35266b8dfc (patch) | |
tree | aae61d26286a21992c3af648028a52aa6724f5fc /arch/sh/include/mach-se/mach/se7780.h | |
parent | a7734e51077e3eb3943887d15bb5c49063738263 (diff) | |
download | linux-b894701e7c472dbc6267bdde68bd6d35266b8dfc.tar.xz |
sh: mach-se evt2irq migration.
Migrate Solution Engine boards to evt2irq backed hwirq lookups.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-se/mach/se7780.h')
-rw-r--r-- | arch/sh/include/mach-se/mach/se7780.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/include/mach-se/mach/se7780.h b/arch/sh/include/mach-se/mach/se7780.h index 40e9b41458cd..bde357cf81bd 100644 --- a/arch/sh/include/mach-se/mach/se7780.h +++ b/arch/sh/include/mach-se/mach/se7780.h @@ -12,6 +12,7 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. */ +#include <linux/sh_intc.h> #include <asm/addrspace.h> /* Box specific addresses. */ @@ -80,13 +81,13 @@ #define IRQPOS_PCCPW (0 * 4) /* IDE interrupt */ -#define IRQ_IDE0 67 /* iVDR */ +#define IRQ_IDE0 evt2irq(0xa60) /* iVDR */ /* SMC interrupt */ -#define SMC_IRQ 8 +#define SMC_IRQ evt2irq(0x300) /* SM501 interrupt */ -#define SM501_IRQ 0 +#define SM501_IRQ evt2irq(0x200) /* interrupt pin */ #define IRQPIN_EXTINT1 0 /* IRQ0 pin */ |