patch-2.3.99-pre7 linux/arch/ppc/kernel/irq.c
Next file: linux/arch/ppc/kernel/m8260_setup.c
Previous file: linux/arch/ppc/kernel/head_8xx.S
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue May 2 13:05:39 2000
- Orig file:
v2.3.99-pre6/linux/arch/ppc/kernel/irq.c
- Orig date:
Wed Apr 26 16:34:07 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/arch/ppc/kernel/irq.c linux/arch/ppc/kernel/irq.c
@@ -117,9 +117,9 @@
kfree(ptr);
}
-#ifdef CONFIG_8xx
+#if (defined(CONFIG_8xx) || defined(CONFIG_8260))
/* Name change so we can catch standard drivers that potentially mess up
- * the internal interrupt controller on 8xx and 82xx. Just bear with me,
+ * the internal interrupt controller on 8xx and 8260. Just bear with me,
* I don't like this either and I am searching a better solution. For
* now, this is what I need. -- Dan
*/
@@ -194,10 +194,10 @@
#else
void free_irq(unsigned int irq, void *dev_id)
{
-#ifndef CONFIG_8xx
- request_irq(irq, NULL, 0, NULL, dev_id);
-#else
+#if (defined(CONFIG_8xx) || defined(CONFIG_8260))
request_8xxirq(irq, NULL, 0, NULL, dev_id);
+#else
+ request_irq(irq, NULL, 0, NULL, dev_id);
#endif
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)