diff options
author | Maxime Bizon <mbizon@freebox.fr> | 2012-07-13 07:46:03 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-08-24 20:09:00 +0200 |
commit | 64eaea4a84a14f0299b5c0bc400fa92c10512d07 (patch) | |
tree | daf049c332d3222a2aab3c1ee40ea80d0f3938f2 /arch/mips/bcm63xx/irq.c | |
parent | 6b52c00f2b4931c12117dc32a7cf6d5ee59f14ea (diff) | |
download | blackbird-op-linux-64eaea4a84a14f0299b5c0bc400fa92c10512d07.tar.gz blackbird-op-linux-64eaea4a84a14f0299b5c0bc400fa92c10512d07.zip |
MIPS: BCM63XX: add external irq support for BCM6345
Add the missing definitions for BCM6345.
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4091/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/bcm63xx/irq.c')
-rw-r--r-- | arch/mips/bcm63xx/irq.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/mips/bcm63xx/irq.c b/arch/mips/bcm63xx/irq.c index 18e051ad18a5..d40169f83259 100644 --- a/arch/mips/bcm63xx/irq.c +++ b/arch/mips/bcm63xx/irq.c @@ -56,8 +56,8 @@ static void __internal_irq_unmask_64(unsigned int irq) __maybe_unused; #define is_ext_irq_cascaded 0 #define ext_irq_start 0 #define ext_irq_end 0 -#define ext_irq_count 0 -#define ext_irq_cfg_reg1 0 +#define ext_irq_count 4 +#define ext_irq_cfg_reg1 PERF_EXTIRQ_CFG_REG_6345 #define ext_irq_cfg_reg2 0 #endif #ifdef CONFIG_BCM63XX_CPU_6348 @@ -143,11 +143,15 @@ static void bcm63xx_init_irq(void) irq_stat_addr += PERF_IRQSTAT_6338_REG; irq_mask_addr += PERF_IRQMASK_6338_REG; irq_bits = 32; + ext_irq_count = 4; + ext_irq_cfg_reg1 = PERF_EXTIRQ_CFG_REG_6338; break; case BCM6345_CPU_ID: irq_stat_addr += PERF_IRQSTAT_6345_REG; irq_mask_addr += PERF_IRQMASK_6345_REG; irq_bits = 32; + ext_irq_count = 4; + ext_irq_cfg_reg1 = PERF_EXTIRQ_CFG_REG_6345; break; case BCM6348_CPU_ID: irq_stat_addr += PERF_IRQSTAT_6348_REG; |