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.
The inttypes.h file is now standard, use it where appropriate. It is important to include inttypes.h before any Linux/IOCTL related headers, because there is int64_t type conflict on some AMD64 Debian versions.
Separated normal read and RTR assisted read transfer. I have that long time on in my mind. RTR based transfer in in its own IOCTL, where it belongs. This simplified normal read and made ABI more POSIX compliant. RTR code should be rewritten to be really functional. We are starting new development period now.
LinCAN version updated to 0.3
Added support for Unicontrols PCAN cards series and baudrate setting. PCAN support has been tested on PCAN104 card for Linux only and Linux/RT-Linux driver compilation mode. There are many unimplemented features still.
Added QUERY ioctl command for checking of driver version and message formats.
Change to CAN_MSG_VERSION_2 and elimination of linux/*.h headers from user space apps. Layout of canmsg_t changed to CAN_MSG_VERSION_2, which is compatible with PORT GmbH <http://www.port.de/> can4linux-3.1 implementation. The driver and utilities can be compiled with old version, if definition of CAN_MSG_VERSION_2 is commented out in lincan/include/canmsg.h and canvca/libvca/canmsg.h headers. The change from __u8 .. __u32 types to standard compliant u_int8_t .. u_int32_t types has been required to eliminate linux/*.h files. This can make problems to ancient Linux distributions and some workaround could be necessary.
Added support for local message processing and some cleanups. The local messages processing feature suggested by Unicontrols. Driver can be directed by "processlocal" parameter to distribute sent messages back to the local clients. Values 0 .. disabled, 1 .. can be enabled by CANQUE_FILT IOCTL, 2 .. enabled by default, but can be specified on per queue as well.
LinCAN driver major structured comments and documentation update
CAN driver infrastructure redesign to LinCAN-0.2 version
The first enhanced version of Linux CAN-bus driver for OCERA project can-0.7.1-pi3.5 (pisa@cmp.felk.cvut.cz)
The original version of Arnaud Westenberg Linux CAN-bus driver can-0.7.1 (http://home.wanadoo.nl/arnaud/)