On Thu, 2009-09-24 at 09:39 -0400, Andreas Glatz wrote: > Hi, > > Currently, we are trying to register for IRQ1-7 > of our MPC8360e. > > We found that we have to do the following steps to > get interrupts working: > > 1) irq_of_parse_and_map(): To get and map the hardware interrupt > 2) request_irq(): Installs a dummy handler > 3) rt_intr_create(): Installs the real ISR > > The application is running in user-space. 1) and 2) are > called from and ioctl(). 3) is called directly from the > user-space Xenomai application. > > Is request_irq() required? IMHO it shouldn't be, right? >
Correct. rt_intr_enable() is required after rt_intr_create() to unmask the interrupt line (see @note from the rt_intr_create() doc). This is what request_irq() implicitly does by calling the startup() handler from the relevant IRQ chip controller. > Andreas > > > Xenomai: 2.4.9 > Ipipe: 2.7 > Kernel: 2.6.30 > > > _______________________________________________ > Xenomai-help mailing list > [email protected] > https://mail.gna.org/listinfo/xenomai-help -- Philippe. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
