964d219b6a
Add arch/avr32/mach-*/include to include search path and copy all the files from include/asm/arch there. The old files will be removed once ARM does the same change and all common drivers are converted. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
15 lines
402 B
C
15 lines
402 B
C
#ifndef __ASM_AVR32_ARCH_IRQ_H
|
|
#define __ASM_AVR32_ARCH_IRQ_H
|
|
|
|
#define EIM_IRQ_BASE NR_INTERNAL_IRQS
|
|
#define NR_EIM_IRQS 32
|
|
#define AT32_EXTINT(n) (EIM_IRQ_BASE + (n))
|
|
|
|
#define GPIO_IRQ_BASE (EIM_IRQ_BASE + NR_EIM_IRQS)
|
|
#define NR_GPIO_CTLR (5 /*internal*/ + 1 /*external*/)
|
|
#define NR_GPIO_IRQS (NR_GPIO_CTLR * 32)
|
|
|
|
#define NR_IRQS (GPIO_IRQ_BASE + NR_GPIO_IRQS)
|
|
|
|
#endif /* __ASM_AVR32_ARCH_IRQ_H */
|