On Fri, 2007-05-11 at 15:15 -0500, Kumar Gala wrote:

> 
> I assume you're code doesn't look exactly like this.  You'll need to  
> use the virq in the request_irq()... its most likely just random luck  
> if things are working and you aren't using the virq returned from  
> irq_create_mapping()
> 
> (Well its more than random luck, its because most 83xx systems only  
> have one PIC and this hw_irq # == virq)
> 
> - k

In the code that registers the ISR I do this:

virq = irq_find_mapping(NULL, MY_IRQ);
request_irq(virq ...)

Since I only have one interrupt controller, host is NULL, right?

regards,
Ben

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to