This source file includes following definitions.
- tx4938_irq_init
1
2
3
4
5
6
7
8
9
10
11
12
13
14 #include <linux/init.h>
15 #include <linux/interrupt.h>
16 #include <linux/irq.h>
17 #include <asm/irq_cpu.h>
18 #include <asm/txx9/tx4938.h>
19
20 void __init tx4938_irq_init(void)
21 {
22 int i;
23
24 mips_cpu_irq_init();
25 txx9_irq_init(TX4938_IRC_REG & 0xfffffffffULL);
26 irq_set_chained_handler(MIPS_CPU_IRQ_BASE + TX4938_IRC_INT,
27 handle_simple_irq);
28
29 txx9_irq_set_pri(TX4938_IR_ECCERR, 7);
30 txx9_irq_set_pri(TX4938_IR_WTOERR, 7);
31 txx9_irq_set_pri(TX4938_IR_PCIERR, 7);
32 txx9_irq_set_pri(TX4938_IR_PCIPME, 7);
33 for (i = 0; i < TX4938_NUM_IR_TMR; i++)
34 txx9_irq_set_pri(TX4938_IR_TMR(i), 6);
35 for (i = 0; i < TX4938_NUM_IR_SIO; i++)
36 txx9_irq_set_pri(TX4938_IR_SIO(i), 5);
37 }