mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 08:05:12 +07:00
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>
14 lines
340 B
C
14 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_ */
|