Change to CAN_MSG_VERSION_2 and elimination of linux/*.h headers from user space... CLT_COMM_CAN_post_canmsg_change
authorppisa <ppisa>
Sat, 21 Feb 2004 21:23:47 +0000 (21:23 +0000)
committerppisa <ppisa>
Sat, 21 Feb 2004 21:23:47 +0000 (21:23 +0000)
commitc316aed80a2047f337dc0cff35e2458c4cb13eca
tree56f454c0032417dedccab2b35352959535ebd649
parentf322df49b2f3aa1d8a5ac71a0fba7f8084c26380
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.
14 files changed:
lincan/include/can.h
lincan/include/can_queue.h
lincan/include/canmsg.h [new file with mode: 0644]
lincan/include/constants.h
lincan/include/devcommon.h
lincan/src/main.c
lincan/src/sja1000.c
lincan/utils/can-proxy.c
lincan/utils/readburst.c
lincan/utils/readburst_rtl.c
lincan/utils/rxtx.c
lincan/utils/send.c
lincan/utils/sendburst.c
lincan/utils/sendburst_rtl.c