PATCH: 2.1.102 : irq detection broken for some drivers

Etienne Lorrain (lorrain@fb.sony.de)
Wed, 20 May 1998 10:59:48 +0001


Hi,

I finnaly get the IRQ detection working with this patch,
in linux-2.1.102/arch/i386/kernel/irq.c :

unsigned long probe_irq_on (void)
{
unsigned int i, irqs = 0;
unsigned long delay;

/*
* first, enable any unassigned irqs
*/
spin_lock_irq(&irq_controller_lock);
for (i = NR_IRQS-1; i > 0; i--) {
if (!irq_desc[i].action) {
+ irq_desc[i].status = 0;
irq_desc[i].handler->enable(i);
irqs |= (1 << i);
}
}
spin_unlock_irq(&irq_controller_lock);

Etienne.

----------- etienne.lorrain@ibm.net
-- hdc: irq timeout: status=0xd0 { Busy }
-- ide1: reset: success
----------> I like Linux !

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu