37c42a741f
External irq only works for 6348, change code to prepare support of other CPUs. Signed-off-by: Maxime Bizon <mbizon@freebox.fr> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2895/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
13 lines
340 B
C
13 lines
340 B
C
#ifndef BCM63XX_IRQ_H_
|
|
#define BCM63XX_IRQ_H_
|
|
|
|
#include <bcm63xx_cpu.h>
|
|
|
|
#define IRQ_INTERNAL_BASE 8
|
|
#define IRQ_EXTERNAL_BASE 100
|
|
#define IRQ_EXT_0 (IRQ_EXTERNAL_BASE + 0)
|
|
#define IRQ_EXT_1 (IRQ_EXTERNAL_BASE + 1)
|
|
#define IRQ_EXT_2 (IRQ_EXTERNAL_BASE + 2)
|
|
#define IRQ_EXT_3 (IRQ_EXTERNAL_BASE + 3)
|
|
|
|
#endif /* ! BCM63XX_IRQ_H_ */
|