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 -- Siemens AG, Corporate Technology, CT RTC ITP SDP-DE Corporate Competence Center Embedded Linux _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
