16 years agoAdded initial version of MSMCAN card support into LinCAN driver.
ppisa [Tue, 9 Mar 2004 18:16:23 +0000 (18:16 +0000)]
Added initial version of MSMCAN card support into LinCAN driver.
Code has not been tested with real hardware yet.

16 years agoMissing file added. CLT_COMM_CAN-lincan-0_2-040304
ppisa [Thu, 4 Mar 2004 18:38:59 +0000 (18:38 +0000)]
Missing file added.

16 years agoAdded QUERY ioctl command for checking of driver version and message formats.
ppisa [Thu, 4 Mar 2004 18:02:41 +0000 (18:02 +0000)]
Added QUERY ioctl command for checking of driver version and message formats.

16 years agoAdded individual Kconfig for CAN and ORTE components.
ppisa [Wed, 3 Mar 2004 00:37:25 +0000 (00:37 +0000)]
Added individual Kconfig for CAN and ORTE components.
Work is based on the proposal and initial version done by Pierre.
The option names has been preserved from the previous Kconfig version.
This means, that compilation should work correctly with actual Kconfig
and with new one after upper level Kconfig changes.

IRQ manipulation changed to spin-locks for rest of boards
to support better RT-Linux.

16 years agoChange to CAN_MSG_VERSION_2 and elimination of linux/*.h headers from user space... CLT_COMM_CAN_post_canmsg_change
ppisa [Sat, 21 Feb 2004 21:23:47 +0000 (21:23 +0000)]
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 <> 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.

16 years agoOMK makefiles updated to support OCERA Qconf tool. CLT_COMM_CAN_pre_canmsg_change
ppisa [Fri, 20 Feb 2004 03:48:58 +0000 (03:48 +0000)]
OMK makefiles updated to support OCERA Qconf tool.
The new rule (default-config) added to generate
"config.omk-default" file. This file can be used as is
or can be edited and saved into "config.omk" file.
If "config.omk" exists, it is preferred over "config.omk-default"

16 years agoSmall changes to fix GCC-2.95.3 compilation and strict headers separation.
ppisa [Tue, 17 Feb 2004 23:37:21 +0000 (23:37 +0000)]
Small changes to fix GCC-2.95.3 compilation and strict headers separation.
The GCC option -nostdinc is used to ensure that default user-space includes
are not mistakenly read by RT-Linux or Linux kernel targets compilation.
The standard headers as "string.h" are allowed by addition of
$(LINUX_DIR)/include/linux path.

16 years agoLinCAN driver structured comments updated.
ppisa [Sun, 8 Feb 2004 14:56:15 +0000 (14:56 +0000)]
LinCAN driver structured comments updated.

17 years agoAdded missing indication CAN_ENDSF_MEM_RTL for RTL pool malloc.
ppisa [Fri, 23 Jan 2004 04:18:30 +0000 (04:18 +0000)]
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.

17 years agoAdded missing indication CAN_ENDSF_MEM_RTL for RTL pool malloc.
ppisa [Fri, 23 Jan 2004 04:10:51 +0000 (04:10 +0000)]
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.

17 years agoORTE added into path of toplevel make.
ppisa [Mon, 19 Jan 2004 22:34:42 +0000 (22:34 +0000)]
ORTE added into path of toplevel make.

17 years agoRearranged setup to better support cards with irq count differing from chip count.
ppisa [Sun, 18 Jan 2004 22:40:32 +0000 (22:40 +0000)]
Rearranged setup to better support cards with irq count differing from chip count.
Checked compilation with 2.2.19 kernel. Functionality with 2.2.x not checked.

17 years agoAdded support for KVASER PCICAN-S/D/Q cards.
ppisa [Fri, 16 Jan 2004 01:53:19 +0000 (01:53 +0000)]
Added support for KVASER PCICAN-S/D/Q cards.

17 years agoAdded RT-Linux version of sendburst and readburst utilities.
ppisa [Sun, 4 Jan 2004 15:53:14 +0000 (15:53 +0000)]
Added RT-Linux version of sendburst and readburst utilities.
It worked on the first try with previously committed LinCAN RTL changes :-).
Corrected one forgotten line in ioctl_rtl.c => filters work from RT-linux
same way as from Linux user-space applications.

17 years agoAdded full RT-Linux POSIX interface to LinCAN driver, needs preparation of RT tests.
ppisa [Sun, 4 Jan 2004 00:09:32 +0000 (00:09 +0000)]
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.

17 years agoLinCAN can be compiled in mode with RT-Linux chip worker threads now.
ppisa [Thu, 1 Jan 2004 22:54:26 +0000 (22:54 +0000)]
LinCAN can be compiled in mode with RT-Linux chip worker threads now.
Setup tested to work with Virtual and PCM3680 boards now.

17 years agoMain OMK conversion step for CAN components. Recent MAKE program is required !!!
ppisa [Mon, 29 Dec 2003 01:42:15 +0000 (01:42 +0000)]
Main OMK conversion step for CAN components. Recent MAKE program is required !!!
The updated and new CAN components are committed into OCERA CVS now.
The integration is not fully finished yet.
New OMK make-system build all object code out of sources directory
(in the OCERA top-level "build" directory).
Compiled libraries, headers, programs and modules are stored into
OCERA top-level directory "compiled".

Please: excuse probable problems caused by massive changes.
        Critique and constructive suggestions are welcome.

17 years agoNon-OMK Makefiles for LINCAN preserved and renamed to Makefile.std.
ppisa [Mon, 29 Dec 2003 01:08:01 +0000 (01:08 +0000)]
Non-OMK Makefiles for LINCAN preserved and renamed to Makefile.std.

17 years agoAdded missing spin-lock initialization and minor Makefiles update.
ppisa [Tue, 23 Dec 2003 00:50:14 +0000 (00:50 +0000)]
Added missing spin-lock initialization and minor Makefiles update.

17 years agoCorrection for GCC-2.95.3
ppisa [Thu, 27 Nov 2003 01:11:03 +0000 (01:11 +0000)]
Correction for GCC-2.95.3

17 years agoAdded support for fasync system call and replacement of spinXXX by can_spinXXX
ppisa [Wed, 19 Nov 2003 00:31:18 +0000 (00:31 +0000)]
Added support for fasync system call and replacement of spinXXX by can_spinXXX

17 years agoEdge and ends structures equipped with single purpose outlist.
ppisa [Tue, 18 Nov 2003 13:47:17 +0000 (13:47 +0000)]
Edge and ends structures equipped with single purpose outlist.
This additional list enlarges structures about 8 bytes, but
it is big help for asynchronous dispose of the ends.
This breaks last spinlock_irqsave holding loops and simplifies
edge handling logic.

17 years agoHeader-files cleanup and CAN queue edges and ends locking reimplemented.
ppisa [Wed, 5 Nov 2003 02:44:22 +0000 (02:44 +0000)]
Header-files cleanup and CAN queue edges and ends locking reimplemented.
The code has been updated and tested with 2.6.0-test9 as well.
Default asynchronous close does not wait for transmission of the
messages left in the Tx FIFOs. ENDS dispose is delayed in such case.
Virtual chip driver can model bus latency if nonzero baudrate is selected.

17 years agoComment corrected for documentation generation.
ppisa [Sun, 26 Oct 2003 22:55:32 +0000 (22:55 +0000)]
Comment corrected for documentation generation.

17 years agoUpdated "sendburst" utility to reflect enhancements in in "readburst".
ppisa [Sun, 26 Oct 2003 22:38:14 +0000 (22:38 +0000)]
Updated "sendburst" utility to reflect enhancements in in "readburst".

17 years agoAdded support for local message processing and some cleanups.
ppisa [Sun, 26 Oct 2003 17:46:22 +0000 (17:46 +0000)]
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.

17 years agoAdded Fixes to the CAN and ORTE Components Tree.
pagnin [Tue, 23 Sep 2003 12:40:01 +0000 (12:40 +0000)]
Added Fixes to the CAN and ORTE Components Tree.
Now It should compile and NOT compile if deselected.

17 years agoUpdate of Makefiles to support "Standalone" compilation.
ppisa [Fri, 19 Sep 2003 19:44:31 +0000 (19:44 +0000)]
Update of Makefiles to support "Standalone" compilation.
If file "lincan/" is found, the driver does not
require OCERA framework. The compile for 2.2.19, 2.4.19,
2.6.0-t4 and OCERA target tested.

17 years agoFirst integration step:
pagnin [Mon, 15 Sep 2003 11:18:37 +0000 (11:18 +0000)]
First integration step:
Included in linux kernel tree hrt, gensched and rtlinux patches.
Included in rtlinux tree dynmem,psignals,ptimers,ptrace,pmqueue,pbarriers
and rtlcbs patches

Many fixes to the linux kernel build process.
Many fixes to the rtlinux module build process.

Even more fixes to the makefiles and tree structure of the components tree.

This is the first step on integration path, please, report standing problems.

17 years agoLinCAN driver major structured comments and documentation update
ppisa [Mon, 1 Sep 2003 01:16:16 +0000 (01:16 +0000)]
LinCAN driver major structured comments and documentation update

17 years agoAdded initial support for "virtual" CAN interface
ppisa [Fri, 29 Aug 2003 01:32:38 +0000 (01:32 +0000)]
Added initial support for "virtual" CAN interface
and rewrite of board type parsing

17 years agoFixes for SMP kernels and build for 2.2.xx and 2.6.xx kernels
ppisa [Thu, 28 Aug 2003 21:50:24 +0000 (21:50 +0000)]
Fixes for SMP kernels and build for 2.2.xx and 2.6.xx kernels

17 years ago*** empty log message ***
ppisa [Mon, 25 Aug 2003 03:56:03 +0000 (03:56 +0000)]
*** empty log message ***

17 years agoCAN driver infrastructure redesign to LinCAN-0.2 version
ppisa [Mon, 25 Aug 2003 03:52:35 +0000 (03:52 +0000)]
CAN driver infrastructure redesign to LinCAN-0.2 version

17 years agoUpdated BFAD contributed can-proxy from latest changes by T.Motylewski
ppisa [Fri, 22 Aug 2003 13:21:03 +0000 (13:21 +0000)]
Updated BFAD contributed can-proxy from latest changes by T.Motylewski

17 years ago*** empty log message ***
ppisa [Wed, 30 Apr 2003 00:22:28 +0000 (00:22 +0000)]
*** empty log message ***

17 years agoThe first enhanced version of Linux CAN-bus driver for OCERA project
ppisa [Tue, 29 Apr 2003 22:40:59 +0000 (22:40 +0000)]
The first enhanced version of Linux CAN-bus driver for OCERA project
can-0.7.1-pi3.5 (

17 years agoThe original version of Arnaud Westenberg Linux CAN-bus driver
ppisa [Tue, 29 Apr 2003 21:56:59 +0000 (21:56 +0000)]
The original version of Arnaud Westenberg Linux CAN-bus driver
can-0.7.1 (

17 years agoFirst Release.
adrianm [Mon, 24 Feb 2003 16:56:49 +0000 (16:56 +0000)]
First Release.