patch-2.4.25 linux-2.4.25/arch/mips/vr41xx/common/vrc4173.c
Next file: linux-2.4.25/arch/mips/vr41xx/ibm-workpad/setup.c
Previous file: linux-2.4.25/arch/mips/vr41xx/common/vrc4171.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
2004-02-18 05:36:30.000000000 -0800
-  Orig file: 
linux-2.4.24/arch/mips/vr41xx/common/vrc4173.c
-  Orig date: 
2003-08-25 04:44:40.000000000 -0700
diff -urN linux-2.4.24/arch/mips/vr41xx/common/vrc4173.c linux-2.4.25/arch/mips/vr41xx/common/vrc4173.c
@@ -195,8 +195,8 @@
 	
 	vrc4173_outw(0, VRC4173_MSYSINT1REG);
 
-	vr41xx_set_irq_trigger(cascade_irq - GIU_IRQ(0), TRIGGER_LEVEL, SIGNAL_THROUGH);
-	vr41xx_set_irq_level(cascade_irq - GIU_IRQ(0), LEVEL_LOW);
+	vr41xx_set_irq_trigger(GIU_IRQ_TO_PIN(cascade_irq), TRIGGER_LEVEL, SIGNAL_THROUGH);
+	vr41xx_set_irq_level(GIU_IRQ_TO_PIN(cascade_irq), LEVEL_LOW);
 
 	for (i = VRC4173_IRQ_BASE; i <= VRC4173_IRQ_LAST; i++)
                 irq_desc[i].handler = &vrc4173_irq_type;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)