patch-2.1.86 linux/arch/i386/kernel/irq.c

Next file: linux/arch/i386/kernel/irq.h
Previous file: linux/arch/i386/kernel/io_apic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/arch/i386/kernel/irq.c linux/arch/i386/kernel/irq.c
@@ -719,6 +719,14 @@
 	irq_handles[irq]->enable(irq);
 }
 
+void make_8259A_irq (unsigned int irq)
+{
+	io_apic_irqs &= ~(1<<irq);
+	irq_handles[irq] = &i8259A_irq_type;
+	disable_irq(irq);
+	enable_irq(irq);
+}
+
 /*
  * Careful! The 8259A is a fragile beast, it pretty
  * much _has_ to be done exactly like this (mask it

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov