lkml.org 
[lkml]   [1998]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectPATCH: 2.1.102 : irq detection broken for some drivers
  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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:2.123 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site