LinCAN sources go through big white-space cleanup. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
The LinCAN driver license unified according to DCE FEE CTU head and superiors request. This is horribly long time pending request but I hold it to simplify merging of contributed changes. But it cannot be hold longer when new release is in preparation. Excuse me for inconvenience.
LinCAN version updated to 0.3
LinCAN driver structured comments updated.
Added missing indication CAN_ENDSF_MEM_RTL for RTL pool malloc. This fixes serious bug in RTL LinCAN mode. Some more small updates added. The call canque_notify_bothends(edge,CANQUEUE_NOTIFY_NOUSR) invoked without locks hold now.
Added full RT-Linux POSIX interface to LinCAN driver, needs preparation of RT tests. Linux-only and RT-Linux chip thread based version passed Linux users-pace tests on PCM3680 and PiKRON ISA cards. Fundamental design flaws found in rtl_posixio.c concerning concurrent open and/or close processing. There is even bug if open fails reaction. The fiels private_data should be added to structure rtl_file.
LinCAN can be compiled in mode with RT-Linux chip worker threads now. Setup tested to work with Virtual and PCM3680 boards now.