patch-2.4.20 linux-2.4.20/arch/mips/cobalt/int-handler.S
Next file: linux-2.4.20/arch/mips/cobalt/irq.c
Previous file: linux-2.4.20/arch/mips/boot/elf2ecoff.c
Back to the patch index
Back to the overall index
- Lines: 62
- Date:
Thu Nov 28 15:53:09 2002
- Orig file:
linux-2.4.19/arch/mips/cobalt/int-handler.S
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips/cobalt/int-handler.S linux-2.4.20/arch/mips/cobalt/int-handler.S
@@ -26,8 +26,8 @@
SAVE_ALL
CLI
.set at
-
- /*
+
+ /*
* Get pending Interrupts
*/
mfc0 s0,CP0_CAUSE # get irq mask
@@ -52,30 +52,30 @@
j ret_from_irq
nop
-1:
+1:
beq a0,zero,1f /* Check IP3 */
andi a0,s0,CAUSEF_IP4
/* Ethernet 0 interrupt */
- li a0,4
+ li a0,COBALT_RAQ_ETH0_IRQ
jal do_IRQ
move a1,sp
j ret_from_irq
nop
-1:
+1:
beq a0,zero,1f /* Check IP4 */
andi a0,s0,CAUSEF_IP5
/* Ethernet 1 interrupt */
- li a0,13
+ li a0,COBALT_RAQ_ETH1_IRQ
jal do_IRQ
move a1,sp
j ret_from_irq
nop
-1:
+1:
beq a0,zero,1f /* Check IP5 */
andi a0,s0,CAUSEF_IP7
@@ -86,7 +86,7 @@
j ret_from_irq
nop
-1:
+1:
beq a0,zero,1f /* Check IP7 */
nop
@@ -100,4 +100,4 @@
nop
END(cobalt_handle_int)
-
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)