Le 15/02/2013 15:54, Jan Kiszka a écrit :
On 2013-02-14 16:01, Stéphane LOS wrote:
Hi,

Please find attached the newest version that seems better to us.
Some remarks on the code first:
  - Consider reformatting your code according to kernel style, it will
    improve readability (no long lines, e.g.).
  - rtdm_malloc is for the rare case that you allocate memory over RT
    context. But probe is still Linux.
  - If you register/free the IRQ handler on open/close, you must also
    enable/disable the IRQ sources in the hardware in those functions.
  - On removal, unregister the RTDM device first. That will synchronize
    with remaining open instances.
  - Minor: Avoid __devinit/exit, they were removed from recent kernels.

So, what is the bug again? How does the oops message look like? When
will the device start generating IRQs, and do they arrive while rebooting?

Jan

Thank you for your comments.
I have forwarded them to the developer.
Let's wait for his answer...

Best Regards,
Cordialement,

Stéphane LOS
[email protected]
Support technique

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hilscher France
12, rue du 35ème Régiment d'Aviation
Miniparc du Chêne
69500 BRON
France
Tél. : +33 (0) 4 72 37 98 40
Fax  : +33 (0) 4 78 26 83 27
http ://www.hilscher.fr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to