Date:2011-03-04 13:22:56 (11 years 7 months ago)
Author:Lars C.
Commit:b57516ef1822dab8d048e54e090fe276481a3639
Message:Move 2nd level IRQ defintions to sub-arch specific files.

Files: arch/mips/include/asm/mach-jz47xx/irq.h (1 diff)
arch/mips/include/asm/mach-jz47xx/jz4740/irq.h (1 diff)

Change Details

arch/mips/include/asm/mach-jz47xx/irq.h
2222/* 1st-level interrupts */
2323#define JZ47XX_IRQ(x) (JZ47XX_IRQ_BASE + (x))
2424
25/* 2nd-level interrupts */
26#define JZ47XX_IRQ_DMA(x) (JZ47XX_IRQ(32) + (x))
27
28#define JZ47XX_IRQ_INTC_GPIO(x) (JZ47XX_IRQ_GPIO(0) - (x))
29#define JZ47XX_IRQ_GPIO(x) (JZ47XX_IRQ(48) + (x))
30
31#define NR_IRQS 182
32
3325#endif
arch/mips/include/asm/mach-jz47xx/jz4740/irq.h
4343#define JZ4740_IRQ_LCD JZ47XX_IRQ(30)
4444
4545/* 2nd-level interrupts */
46#define JZ47XX_IRQ_DMA(x) (JZ47XX_IRQ(32) + (x))
47
48#define JZ4740_IRQ_GPIO(x) (JZ47XX_IRQ(48) + (x))
49
4650#define JZ4740_IRQ_ADC_BASE JZ47XX_IRQ(176)
4751
52#define NR_IRQS 182
53
54
4855#endif

Archive Download the corresponding diff file



interactive