diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-17 13:00:18 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-17 13:00:18 +0900 |
commit | b627b4ed3d056c5d00e8f3cb32d033b0ee6619a9 (patch) | |
tree | 40f8571f9f4a5b543f43a3bd6298366d42bcaa9a /arch/sh/boards/mach-se/7780 | |
parent | 84971bb401866d79c6b353cb1d8861c2b4621867 (diff) |
sh: pci: Move se7780 INTC fixups out of pci-sh7780.c.
These fixups belong in the board INTC setup code, not in the middle of
pci-sh7780.c.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-se/7780')
-rw-r--r-- | arch/sh/boards/mach-se/7780/irq.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-se/7780/irq.c b/arch/sh/boards/mach-se/7780/irq.c index 66ad292c9fc..44b61a597a1 100644 --- a/arch/sh/boards/mach-se/7780/irq.c +++ b/arch/sh/boards/mach-se/7780/irq.c @@ -12,10 +12,13 @@ #include <linux/init.h> #include <linux/irq.h> #include <linux/interrupt.h> -#include <asm/irq.h> -#include <asm/io.h> +#include <linux/irq.h> +#include <linux/io.h> #include <mach-se/mach/se7780.h> +#define INTC_BASE 0xffd00000 +#define INTC_ICR1 (INTC_BASE+0x1c) + /* * Initialize IRQ setting */ @@ -43,4 +46,7 @@ void __init init_se7780_IRQ(void) ctrl_outw((IRQPIN_PCCPW << IRQPOS_PCCPW), FPGA_INTSEL3); plat_irq_setup_pins(IRQ_MODE_IRQ); /* install handlers for IRQ0-7 */ + + /* ICR1: detect low level(for 2ndcut) */ + ctrl_outl(0xAAAA0000, INTC_ICR1); } |