]> rtime.felk.cvut.cz Git - lincan.git/log
lincan.git
19 years agoNew file for EMS CPC-PCI card added. This card requires more changes
ppisa [Sat, 8 May 2004 01:06:34 +0000 (01:06 +0000)]
New file for EMS CPC-PCI card added. This card requires more changes
and documentation to get work.

19 years agoPreparation to the new LinCAN 0.2.2 release CLT_COMM_CAN-lincan-0_2_2
ppisa [Sat, 1 May 2004 09:41:17 +0000 (09:41 +0000)]
Preparation to the new LinCAN 0.2.2 release

19 years ago*** empty log message ***
wentasah [Fri, 30 Apr 2004 10:00:34 +0000 (10:00 +0000)]
*** empty log message ***

19 years agoAdded unican card to default config.
wentasah [Fri, 30 Apr 2004 09:42:08 +0000 (09:42 +0000)]
Added unican card to default config.

19 years agoFixed order of enabling IRQ. It must be done after board reset.
wentasah [Wed, 28 Apr 2004 16:39:05 +0000 (16:39 +0000)]
Fixed order of enabling IRQ. It must be done after board reset.

19 years agoMoved inclussion of lincan_config.h to can_sysdep.h
ppisa [Wed, 28 Apr 2004 01:18:11 +0000 (01:18 +0000)]
Moved inclussion of lincan_config.h to can_sysdep.h

19 years agoDefinition of VME support symbol was moved here from can_sysdep.h
wentasah [Tue, 27 Apr 2004 17:34:39 +0000 (17:34 +0000)]
Definition of VME support symbol was moved here from can_sysdep.h

19 years agoDefinition of VME support symbol was moved to main.h where lincan_config.h is available
wentasah [Tue, 27 Apr 2004 17:31:05 +0000 (17:31 +0000)]
Definition of VME support symbol was moved to main.h where lincan_config.h is available

19 years agoRemoved debugging options commited by a mistake.
wentasah [Tue, 27 Apr 2004 17:01:29 +0000 (17:01 +0000)]
Removed debugging options commited by a mistake.

19 years agoAdded option for VME bus support
wentasah [Tue, 27 Apr 2004 16:56:55 +0000 (16:56 +0000)]
Added option for VME bus support

19 years agoVME support moved to a separate file
wentasah [Tue, 27 Apr 2004 16:55:49 +0000 (16:55 +0000)]
VME support moved to a separate file

19 years agoAdded definition of unican_readw and unican_writew for PowerPC
wentasah [Tue, 27 Apr 2004 16:54:09 +0000 (16:54 +0000)]
Added definition of unican_readw and unican_writew for PowerPC

19 years agoAdded skeleton of IRQ support on VME bus
wentasah [Tue, 27 Apr 2004 16:34:15 +0000 (16:34 +0000)]
Added skeleton of IRQ support on VME bus

19 years agoVME support is in a separate file
wentasah [Tue, 27 Apr 2004 16:28:59 +0000 (16:28 +0000)]
VME support is in a separate file

19 years agounican specific readw and writew
wentasah [Mon, 26 Apr 2004 19:37:55 +0000 (19:37 +0000)]
unican specific readw and writew

20 years agoRearranged tests in canque_test_outslot for faster and more optimal behavior.
ppisa [Mon, 19 Apr 2004 00:50:39 +0000 (00:50 +0000)]
Rearranged tests in canque_test_outslot for faster and more optimal behavior.
Some tests required additional loop for EMPTY and DEAD edge states.

20 years agoAdded support for Unicontrols PCI CAN card.
ppisa [Tue, 6 Apr 2004 10:15:26 +0000 (10:15 +0000)]
Added support for Unicontrols PCI CAN card.
Will be tested, when I get to the hardware at school.

20 years agoAdded support for Unicontrols PCAN cards series and baudrate setting.
ppisa [Mon, 5 Apr 2004 00:42:53 +0000 (00:42 +0000)]
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.

20 years agoOne of many steps to support Unicontrols CAN cards.
ppisa [Sun, 28 Mar 2004 14:36:53 +0000 (14:36 +0000)]
One of many steps to support Unicontrols CAN cards.

20 years agoUpdated for MSMCAN.
ppisa [Sun, 21 Mar 2004 21:58:34 +0000 (21:58 +0000)]
Updated for MSMCAN.

20 years agoStructured comments updated.
ppisa [Sun, 21 Mar 2004 19:43:30 +0000 (19:43 +0000)]
Structured comments updated.

20 years agoAdded glue required for RTL hardware filters updates.
ppisa [Sun, 21 Mar 2004 18:48:04 +0000 (18:48 +0000)]
Added glue required for RTL hardware filters updates.

20 years agoIntel 82527 chip now configures acceptance identifiers and mask 15 according to edges.
ppisa [Sun, 21 Mar 2004 18:07:51 +0000 (18:07 +0000)]
Intel 82527 chip now configures acceptance identifiers and mask 15 according to edges.

20 years agoUpdated Intel 82527 support and added feeding of MSMCAN secret and hidden watchdog.
ppisa [Sun, 21 Mar 2004 15:04:41 +0000 (15:04 +0000)]
Updated Intel 82527 support and added feeding of MSMCAN secret and hidden watchdog.

20 years agoCorrected typo in Kconfig (OC_LINCAN_CARD_bfad -> OC_LINCAN_CARD_bfadcan) ocera-1_0_0-release
ppisa [Thu, 18 Mar 2004 02:26:42 +0000 (02:26 +0000)]
Corrected typo in Kconfig (OC_LINCAN_CARD_bfad -> OC_LINCAN_CARD_bfadcan)
and leaved out LinCAN sources "can_quertl.c" and "can_devrtl.c"
from standard Linux compilation mode without RT-Linux support.

20 years agoCleaned-up PROC handling and checked on 2.4, 2.4-RT, 2.6 and compilation for 2.2...
ppisa [Tue, 16 Mar 2004 16:14:52 +0000 (16:14 +0000)]
Cleaned-up PROC handling and checked on 2.4, 2.4-RT, 2.6 and compilation for 2.2 kernels.

20 years agoImplemented selection of simplified IO access methods (port or mem only).
ppisa [Sun, 14 Mar 2004 00:58:31 +0000 (00:58 +0000)]
Implemented selection of simplified IO access methods (port or mem only).

20 years agoInterconnected OCERA configuration options with LinCAN boardlist.c compilation.
ppisa [Sun, 14 Mar 2004 00:13:02 +0000 (00:13 +0000)]
Interconnected OCERA configuration options with LinCAN boardlist.c compilation.

20 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.

20 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.

20 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.

20 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.

20 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 <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.

20 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"
file.

20 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.

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

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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

20 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

20 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.

20 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.

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

20 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".

20 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.

20 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.

20 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/Standalone.mk" 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.

20 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.

20 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

20 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

20 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

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

20 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

20 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

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

20 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 (pisa@cmp.felk.cvut.cz)

20 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 (http://home.wanadoo.nl/arnaud/)

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