2012/1/3 Philippe Gerum <r...@xenomai.org>:
> On 01/03/2012 06:58 PM, Gilles Chanteperdrix wrote:
>>
>> On 01/03/2012 06:49 PM, Jean-Michel Hautbois wrote:
>>>
>>> cpm2_cascade is dedicated to my board, but has nothing impressive :
>>> static void cpm2_cascade(unsigned int irq, struct irq_desc *desc)
>>> {
>>>         int cascade_irq;
>>>
>>>         while ((cascade_irq = cpm2_get_irq())>= 0)
>>>                 generic_handle_irq(cascade_irq);
>>
>>
>> Replace generic_handle_irq with ipipe_handle_chained_irq.
>>

Argh ! I didn't see it :) !
Thanks, it works.

> You have to fixup the eoi handling as well, check how this is done in
> arch/powerpc/platforms/85xx/sbc8560.c.

OK, I will check it, but didn't need to do it for making it work... :).

Thanks again !
JM

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to