summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/jazz/int-handler.S47
1 files changed, 2 insertions, 45 deletions
diff --git a/arch/mips/jazz/int-handler.S b/arch/mips/jazz/int-handler.S
index c85992223..f008dfdc6 100644
--- a/arch/mips/jazz/int-handler.S
+++ b/arch/mips/jazz/int-handler.S
@@ -1,4 +1,4 @@
-/* $Id: int-handler.S,v 1.11 1998/08/26 21:45:46 tsbogend Exp $
+/* $Id: int-handler.S,v 1.12 1998/10/18 13:18:58 tsbogend Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -91,51 +91,8 @@ ll_local_dev: lbu t0,JAZZ_IO_IRQ_SOURCE
* whistles and bells and we're aware of the problem.
*/
ll_isa_irq: lw a0,JAZZ_EISA_IRQ_ACK
- lui s0,%hi(JAZZ_PORT_BASE)
- li s1,1
- andi t0,a0,8 # which pic?
- bnez t0,ack_second
- andi a0,7 # delay slot
- /*
- * Acknowledge first pic
- */
- lb t2,%lo(JAZZ_PORT_BASE)+0x21(s0)
- lui s4,%hi(cache_21)
- lb t0,%lo(cache_21)(s4)
- sllv s1,s1,a0
- or t0,s1
- sb t0,%lo(cache_21)(s4)
- sb t0,%lo(JAZZ_PORT_BASE)+0x21(s0)
- li t2,0x20
- sb t2,%lo(JAZZ_PORT_BASE)+0x20(s0)
- /*
- * Now call the real handler
- */
- jal do_IRQ
- move a1,sp
- j ret_from_irq
- nop
-
- .align 5
-ack_second: /*
- * Acknowledge second pic
- */
- lbu t2,%lo(JAZZ_PORT_BASE)+0xa1(s0)
- lui s4,%hi(cache_A1)
- lb t3,%lo(cache_A1)(s4)
- sllv s1,s1,a0
- or t3,s1
- sb t3,%lo(cache_A1)(s4)
- sb t3,%lo(JAZZ_PORT_BASE)+0xa1(s0)
- li t3,0x20
- sb t3,%lo(JAZZ_PORT_BASE)+0xa0(s0)
- sb t3,%lo(JAZZ_PORT_BASE)+0x20(s0)
- /*
- * Now call the real handler
- */
- or a0, 8
- jal do_IRQ
+ jal i8259_do_irq
move a1,sp
j ret_from_irq