On May 11, 2007, at 3:29 PM, Ben Warren wrote: > 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?
Should be ok. I've been doing the irq_create_mapping() in _init_IRQ () and saving off the return. - k _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
