Ivan Kalatchev wrote: >> Chained interrupt and muxed interrupt are the same thing. >> > > Then may be for Viper __ipipe_mach_irq_mux_p should be > __ipipe_mach_irq_mux_p(irq)(((irq)== IRQ_GPIO_2_x) || > ((irq)==gpio_to_irq(VIPER_CPLD_GPIO))) > ? > > Then it would take care of viper handling CPLD IRQ automatically.
Yes, that would be the old way. But as you pointed out, the code changed, so the new way, is to avoid duplicating the demux code into an __ipipe_mach_demux_irq function and simply conditionnaly replace handle_irq with __ipipe_handle_irq in Linux demux code. -- Gilles Chanteperdrix, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
