]> rtime.felk.cvut.cz Git - lincan.git/log
lincan.git
18 years agoMerge: Committed IXXAT iPC-I 165 (PCI) implemented by Radim Kalas from Unicontrols.cz.
ppisa [Wed, 15 Jun 2005 10:02:00 +0000 (12:02 +0200)]
Merge: Committed IXXAT iPC-I 165 (PCI) implemented by Radim Kalas from Unicontrols.cz.

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoCommitted IXXAT iPC-I 165 (PCI) implemented by Radim Kalas from Unicontrols.cz.
ppisa [Wed, 15 Jun 2005 12:02:30 +0000 (12:02 +0000)]
Committed IXXAT iPC-I 165 (PCI) implemented by Radim Kalas from Unicontrols.cz.
This is initial unmodified code prepared against 0.3 version of the driver.
Small updates to mimic LinCAN core changes are required now.

18 years agoMore updates in the C_CAN support, but locking not reworked still.
ppisa [Tue, 7 Jun 2005 01:43:14 +0000 (01:43 +0000)]
More updates in the C_CAN support, but locking not reworked still.
The filters setup should work this time. But separation of CCIF1
only from IRQ and CCIF2 from other places and locking not redone yet.

18 years agoMerge: More updates in the C_CAN support, but locking not reworked still.
ppisa [Mon, 6 Jun 2005 23:43:00 +0000 (01:43 +0200)]
Merge: More updates in the C_CAN support, but locking not reworked still.

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agons_dev_can.c added for FPGA version of C_CAN ARM device
ppisa [Thu, 2 Jun 2005 13:14:46 +0000 (13:14 +0000)]
ns_dev_can.c added for FPGA version of C_CAN ARM device
Contribution of Neil Bryan from embebidos.com

18 years agoC_CAN sources re-indented
ppisa [Thu, 2 Jun 2005 13:08:34 +0000 (13:08 +0000)]
C_CAN sources re-indented
Linux indentation style used
#!/bin/sh
indent -kr -i8 -ts8 -sob -l80 -ss -ncs -cp6  "$@"

18 years agoC_CAN changes
ppisa [Thu, 2 Jun 2005 12:58:57 +0000 (12:58 +0000)]
C_CAN changes
removed spin_unlock(&c_can_sprlock), because it is not used
in c_can_irq_read_handler(). Modified c_can_pre_read_config().

18 years agoMerge: ns_dev_can.c added for FPGA version of C_CAN ARM device
ppisa [Thu, 2 Jun 2005 11:14:00 +0000 (13:14 +0200)]
Merge: ns_dev_can.c added for FPGA version of C_CAN ARM device

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoMerge: C_CAN sources re-indented
ppisa [Thu, 2 Jun 2005 11:08:00 +0000 (13:08 +0200)]
Merge: C_CAN sources re-indented

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoMerge: C_CAN changes
ppisa [Thu, 2 Jun 2005 10:58:00 +0000 (12:58 +0200)]
Merge: C_CAN changes

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoAdded attach_to_chip() and release_chip() functions for each chip.
ppisa [Thu, 2 Jun 2005 04:06:13 +0000 (04:06 +0000)]
Added  attach_to_chip() and release_chip() functions for each chip.
This enables correct stopping and IRQ disable before driver unload.
This is required to get rid of problematic handling of shut down
for C_CAN ARM in ns_dev_release_io().

18 years agoMerge: Added attach_to_chip() and release_chip() functions for each chip.
ppisa [Thu, 2 Jun 2005 02:06:00 +0000 (04:06 +0200)]
Merge: Added attach_to_chip() and release_chip() functions for each chip.

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoEnsure free of checked alloc memory in the case that module_init fails
ppisa [Thu, 2 Jun 2005 00:19:50 +0000 (00:19 +0000)]
Ensure free of checked alloc memory in the case that module_init fails
and unused Unican function deleted.

18 years agoMerge: Ensure free of checked alloc memory in the case that module_init fails
ppisa [Wed, 1 Jun 2005 22:19:00 +0000 (00:19 +0200)]
Merge: Ensure free of checked alloc memory in the case that module_init fails

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoSome more C_CAN changes
ppisa [Wed, 1 Jun 2005 18:22:12 +0000 (18:22 +0000)]
Some more C_CAN changes

18 years agoMerge: Some more C_CAN changes
ppisa [Wed, 1 Jun 2005 16:22:00 +0000 (18:22 +0200)]
Merge: Some more C_CAN changes

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoThe MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip.
ppisa [Wed, 1 Jun 2005 15:46:04 +0000 (15:46 +0000)]
The MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip.
This wastes 68-124 bytes for other chips. Some better solution should be
considered.

18 years agoElimination of superfluous chips header files
ppisa [Wed, 1 Jun 2005 15:30:49 +0000 (15:30 +0000)]
Elimination of superfluous chips header files

18 years agoMerge: The MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip.
ppisa [Wed, 1 Jun 2005 13:46:00 +0000 (15:46 +0200)]
Merge: The MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip.

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoMerge: Elimination of superfluous chips header files
ppisa [Wed, 1 Jun 2005 13:30:00 +0000 (15:30 +0200)]
Merge: Elimination of superfluous chips header files

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoChanges to prepare work area for C_CAN testing and rethinking
ppisa [Wed, 1 Jun 2005 03:58:45 +0000 (03:58 +0000)]
Changes to prepare work area for C_CAN testing and rethinking
Neil Bryan from embebidos.com works on C_CAN support
and he has contributed or initiated most of these changes.
There seems to be more problems to solve proper locking yet.

18 years agoMerge: Changes to prepare work area for C_CAN testing and rethinking
ppisa [Wed, 1 Jun 2005 01:58:00 +0000 (03:58 +0200)]
Merge: Changes to prepare work area for C_CAN testing and rethinking

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoThe CR line ending characters removed.
ppisa [Tue, 31 May 2005 00:49:06 +0000 (00:49 +0000)]
The CR line ending characters removed.

18 years agoThe CR line ending characters removed.
ppisa [Tue, 31 May 2005 00:45:49 +0000 (00:45 +0000)]
The CR line ending characters removed.
It seems, that Windows and OS9 version of the driver
is frozen and there has not been provided intention
or effort to do future synchronization of versions.

18 years agoMerge: The CR line ending characters removed.
ppisa [Mon, 30 May 2005 22:49:00 +0000 (00:49 +0200)]
Merge: The CR line ending characters removed.

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoMerge: The CR line ending characters removed.
ppisa [Mon, 30 May 2005 22:45:00 +0000 (00:45 +0200)]
Merge: The CR line ending characters removed.

Merge commit 'remotes/sf-ocera-lincan/master'

18 years agoMessage declaration updated to match VCA provided version.
ppisa [Sat, 14 May 2005 21:24:49 +0000 (21:24 +0000)]
Message declaration updated to match VCA provided version.
The in memory layout is not changed. It is preparation for
changes required for future compatibility with 32 bit user
space on 64 bit systems.

18 years agoMerge: Message declaration updated to match VCA provided version.
ppisa [Sat, 14 May 2005 19:24:00 +0000 (21:24 +0200)]
Merge: Message declaration updated to match VCA provided version.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoWorker thread wake test protected by rtl_no_interrupts.
wentasah [Mon, 14 Mar 2005 10:38:16 +0000 (10:38 +0000)]
Worker thread wake test protected by rtl_no_interrupts.

19 years agoMerge: Worker thread wake test protected by rtl_no_interrupts.
ppisa [Mon, 14 Mar 2005 09:38:00 +0000 (10:38 +0100)]
Merge: Worker thread wake test protected by rtl_no_interrupts.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoNext round of trying to allow handling VME interrupts of multiple
wentasah [Wed, 16 Feb 2005 19:18:58 +0000 (19:18 +0000)]
Next round of trying to allow handling VME interrupts of multiple
cards by RT Linux.

19 years agoMerge: Next round of trying to allow handling VME interrupts of multiple
ppisa [Wed, 16 Feb 2005 18:18:00 +0000 (19:18 +0100)]
Merge: Next round of trying to allow handling VME interrupts of multiple

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoUpdated to use readw and writew
ppisa [Mon, 14 Feb 2005 12:46:43 +0000 (12:46 +0000)]
Updated to use readw and writew

19 years agoMerge: Updated to use readw and writew
ppisa [Mon, 14 Feb 2005 11:46:00 +0000 (12:46 +0100)]
Merge: Updated to use readw and writew

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoUpdated for adlink7841
ppisa [Thu, 10 Feb 2005 11:45:54 +0000 (11:45 +0000)]
Updated for adlink7841

19 years agoMerge: Updated for adlink7841
ppisa [Thu, 10 Feb 2005 10:45:00 +0000 (11:45 +0100)]
Merge: Updated for adlink7841

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoREADME and Kconfig updated to reflect added cards support.
ppisa [Thu, 10 Feb 2005 10:44:55 +0000 (10:44 +0000)]
README and Kconfig updated to reflect added cards support.

19 years agoMerge: README and Kconfig updated to reflect added cards support.
ppisa [Thu, 10 Feb 2005 09:44:00 +0000 (10:44 +0100)]
Merge: README and Kconfig updated to reflect added cards support.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoAdded initial version of ADLINK PCI-7841 dual SJA1000 based board support.
ppisa [Thu, 10 Feb 2005 03:13:36 +0000 (03:13 +0000)]
Added initial version of ADLINK PCI-7841 dual SJA1000 based board support.
Requires testing.

19 years agoMerge: Added initial version of ADLINK PCI-7841 dual SJA1000 based board support.
ppisa [Thu, 10 Feb 2005 02:13:00 +0000 (03:13 +0100)]
Merge: Added initial version of ADLINK PCI-7841 dual SJA1000 based board support.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoAdded checking of values returned by copy_to/from_user
ppisa [Thu, 3 Feb 2005 16:40:08 +0000 (16:40 +0000)]
Added checking of values returned by copy_to/from_user
to fulfill 2.6.x kernel rules.

19 years agoChanges, which should enable to handle more VME Unican cards under RT-Linux.
ppisa [Thu, 3 Feb 2005 16:18:55 +0000 (16:18 +0000)]
Changes, which should enable to handle more VME Unican cards under RT-Linux.
Solution is not fully clean and it is not consistent with RT-Linux
way to handle regular ISA and PCI interrupts. The deeper analysis is
required, how to use this approach with regular Linux. May it be, that Linux 2.6.x
with latest IRQ threads and mutexes instead of spin-lock  patches from Ingo
Molnar could profit from this in future too.

19 years agoMerge: Added checking of values returned by copy_to/from_user
ppisa [Thu, 3 Feb 2005 15:40:00 +0000 (16:40 +0100)]
Merge: Added checking of values returned by copy_to/from_user

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoAdded CAN chip specific irq_accept routine for fast interrupt acknowledge.
ppisa [Thu, 3 Feb 2005 15:38:46 +0000 (15:38 +0000)]
Added CAN chip specific irq_accept routine for fast interrupt acknowledge.
Required to prepare space for solution of problem with multiple VME Unican
cards used with RT-Linux enabled LinCAN driver.

19 years agoMerge: Changes, which should enable to handle more VME Unican cards under RT-Linux.
ppisa [Thu, 3 Feb 2005 15:18:00 +0000 (16:18 +0100)]
Merge: Changes, which should enable to handle more VME Unican cards under RT-Linux.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoMerge: Added CAN chip specific irq_accept routine for fast interrupt acknowledge.
ppisa [Thu, 3 Feb 2005 14:38:00 +0000 (15:38 +0100)]
Merge: Added CAN chip specific irq_accept routine for fast interrupt acknowledge.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoChanged baudrate calculation to consider DSC selection.
ppisa [Fri, 21 Jan 2005 23:41:05 +0000 (23:41 +0000)]
Changed baudrate calculation to consider DSC selection.
This affects only PIPx cards, because only these use
crystal <10MHz (8 MHz in the case) and i82527 chip.

19 years agoMerge: Changed baudrate calculation to consider DSC selection.
ppisa [Fri, 21 Jan 2005 22:41:00 +0000 (23:41 +0100)]
Merge: Changed baudrate calculation to consider DSC selection.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoCorrected i82527 IRQ handling loop.
ppisa [Wed, 19 Jan 2005 20:08:04 +0000 (20:08 +0000)]
Corrected i82527 IRQ handling loop.
Bug found by Stefan Peter from MPL AG

19 years agoCommitted updated support for MPL AG PIP5, PIP6, PIP7, PIP8
ppisa [Wed, 19 Jan 2005 19:45:32 +0000 (19:45 +0000)]
Committed updated support for MPL AG PIP5, PIP6, PIP7, PIP8
Contributed by Stefan Peter from MPL AG

19 years agoMerge: Corrected i82527 IRQ handling loop.
ppisa [Wed, 19 Jan 2005 19:08:00 +0000 (20:08 +0100)]
Merge: Corrected i82527 IRQ handling loop.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoMerge: Committed updated support for MPL AG PIP5, PIP6, PIP7, PIP8
ppisa [Wed, 19 Jan 2005 18:45:00 +0000 (19:45 +0100)]
Merge: Committed updated support for MPL AG PIP5, PIP6, PIP7, PIP8

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoPetr Cvachoucek contributed support for Kontron EB8245 on-board CAN
ppisa [Fri, 14 Jan 2005 13:11:34 +0000 (13:11 +0000)]
Petr Cvachoucek contributed support for Kontron EB8245 on-board CAN
It is using memory mapped SJA1000 controller.

19 years agoMerge: Petr Cvachoucek contributed support for Kontron EB8245 on-board CAN
ppisa [Fri, 14 Jan 2005 12:11:00 +0000 (13:11 +0100)]
Merge: Petr Cvachoucek contributed support for Kontron EB8245 on-board CAN

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoUpdated location of Paul D. Smith's make 3.81beta1 release
ppisa [Sun, 12 Dec 2004 17:10:11 +0000 (17:10 +0000)]
Updated location of Paul D. Smith's make 3.81beta1 release

19 years agoMerge: Updated location of Paul D. Smith's make 3.81beta1 release
ppisa [Sun, 12 Dec 2004 16:10:00 +0000 (17:10 +0100)]
Merge: Updated location of Paul D. Smith's make 3.81beta1 release

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoMissing break statement added.
ppisa [Thu, 25 Nov 2004 21:49:15 +0000 (21:49 +0000)]
Missing break statement added.

19 years agoSeparated normal read and RTR assisted read transfer.
ppisa [Thu, 25 Nov 2004 21:45:00 +0000 (21:45 +0000)]
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.

19 years agoMerge: Missing break statement added.
ppisa [Thu, 25 Nov 2004 20:49:00 +0000 (21:49 +0100)]
Merge: Missing break statement added.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoMerge: Separated normal read and RTR assisted read transfer.
ppisa [Thu, 25 Nov 2004 20:45:00 +0000 (21:45 +0100)]
Merge: Separated normal read and RTR assisted read transfer.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoReturned back filling of CAN messages timestamps for RT-Linux variant.
ppisa [Thu, 25 Nov 2004 20:17:49 +0000 (20:17 +0000)]
Returned back filling of CAN messages timestamps for RT-Linux variant.
Used clock_gettime per Ismael's suggestion, needs more testing.

19 years agoMerge: Returned back filling of CAN messages timestamps for RT-Linux variant.
ppisa [Thu, 25 Nov 2004 19:17:00 +0000 (20:17 +0100)]
Merge: Returned back filling of CAN messages timestamps for RT-Linux variant.

Merge commit 'remotes/sf-ocera-lincan/master'

19 years agoLinCAN 0.3 released CLT_COMM_CAN-lincan-0_3
ppisa [Thu, 11 Nov 2004 14:13:21 +0000 (14:13 +0000)]
LinCAN 0.3 released

19 years agoMerge: LinCAN 0.3 released
ppisa [Thu, 11 Nov 2004 13:13:00 +0000 (14:13 +0100)]
Merge: LinCAN 0.3 released

Merge commit 'remotes/sf-ocera-lincan/master'

15 years agoAdded script to build LinCAN project independent of OCERA tree.
ppisa [Thu, 11 Nov 2004 18:21:49 +0000 (19:21 +0100)]
Added script to build LinCAN project independent of OCERA tree.

The code represented in this repository is in directory is based
on the LinCAN (ocera/components/comm/can/lincan directory) component
from OCERA (IST-2001 35102) project. Original project documentation
can be found there
  http://www.ocera.org/download/components/WP7/index.html
  http://sourceforge.net/projects/ocera/
  http://ocera.cvs.sourceforge.net/ocera/ocera/components/comm/can/

Can related components CVS repository can be accessed by
  cvs -d:pserver:anonymous@ocera.cvs.sourceforge.net:/cvsroot/ocera login
  cvs -z3 -d:pserver:anonymous@ocera.cvs.sourceforge.net:/cvsroot/ocera co ocera/components/comm/can

The original code depend on OCERA make system. The minimal set of OMK <http://rtime.felk.cvut.cz/omk/>
rules has been introduced in the previous changeset to make this project independent
of full OCERA repository.

The scrip "build-lincan.sh" prepares "lincan-build/native" directory and links
OMK rules and unmodified LinCAN directory there. Then it builds native version
of the driver for current running kernel. Resulting driver can be found
in directory
  lincan-build/native/_compiled/modules
Utilities binaries are located in directories listed bellow
  lincan-build/native/_compiled/bin
  lincan-build/native/_compiled/bin-utils

15 years agoIntroduced basic set of OMK rules for Linux userspace and modules build.
ppisa [Thu, 11 Nov 2004 18:20:35 +0000 (19:20 +0100)]
Introduced basic set of OMK rules for Linux userspace and modules build.

The OMK makesystem has been designed in frame of OCERA project
and its development continues at Czech Technical University, FEE, DCE <http://dce.felk.cvut.cz>.
The OMK project homepage and documentation location <http://rtime.felk.cvut.cz/omk/>

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
19 years agoRT-Linux timestamps has to be done different way
wentasah [Mon, 4 Oct 2004 10:39:44 +0000 (10:39 +0000)]
RT-Linux timestamps has to be done different way

19 years agoOSCAR reset update
ppisa [Fri, 1 Oct 2004 01:23:43 +0000 (01:23 +0000)]
OSCAR reset update

19 years agoChanged SJA1000 chip IRQ handling to loop until all requests are served
ppisa [Wed, 29 Sep 2004 10:51:16 +0000 (10:51 +0000)]
Changed SJA1000 chip IRQ handling to loop until all requests are served
This is not proven to be required for Linux kernel,
but it can be possible source of problems for ISA based cards
under RT-Linux.

19 years agoAdded support for oscar CAN interface.
ppisa [Thu, 23 Sep 2004 23:06:51 +0000 (23:06 +0000)]
Added support for oscar CAN interface.
It is SJA1000 based card connected to ARM LH7A400 SoC.
Support contributed by Michael Moedt  xemc _AT_ yahoo _DOT_ com

19 years agoTo prevent future name collisions "chip_t" changed to "canchip_t"
ppisa [Thu, 16 Sep 2004 00:01:34 +0000 (00:01 +0000)]
To prevent future name collisions "chip_t" changed to "canchip_t"

19 years agoCommitted Fanda Vacek work on major upgrade of CANopen framework CLT_COMM_CAN-post_update-040903
ppisa [Fri, 3 Sep 2004 22:29:05 +0000 (22:29 +0000)]
Committed Fanda Vacek work on major upgrade of CANopen framework
CanMonitor updated and communication protocol changed
to binary version. Automatic serialization and deserialization
code generation added.
CAN monitor daemon updated to support new binary protocol as well.
Enhanced CANopen device to connect with hardware through
hardware supporting shared libraries. Mapping is done
according to HDS (Handle Description) files.

19 years agoTemporary fixes from RTL enabled lincan testing on VME hardware.
wentasah [Wed, 1 Sep 2004 15:14:50 +0000 (15:14 +0000)]
Temporary fixes from RTL enabled lincan testing on VME hardware.

19 years agoVME interrupts should be reenabled in VME driver, not here.
wentasah [Wed, 1 Sep 2004 13:34:01 +0000 (13:34 +0000)]
VME interrupts should be reenabled in VME driver, not here.

19 years agoAdded support for VME bus under RT Linux.
wentasah [Mon, 30 Aug 2004 19:43:19 +0000 (19:43 +0000)]
Added support for VME bus under RT Linux.

19 years agoVME support modified to new interrupt handling scheme.
wentasah [Mon, 30 Aug 2004 19:19:11 +0000 (19:19 +0000)]
VME support modified to new interrupt handling scheme.

19 years agoCorrection for RTL build
ppisa [Mon, 30 Aug 2004 03:13:39 +0000 (03:13 +0000)]
Correction for RTL build

19 years agoFirst part of IRQ handling changes
ppisa [Mon, 30 Aug 2004 03:06:43 +0000 (03:06 +0000)]
First part of IRQ handling changes

19 years agoThe first chunk to support for PEAK's LPT dongle adapter
ppisa [Wed, 25 Aug 2004 02:59:51 +0000 (02:59 +0000)]
The first chunk to support for PEAK's LPT dongle adapter
Code has been ported to LinCAN by Jose Pascual Ramirez
(josepascual _AT_ almudi _DOT_ com).

19 years agoAdapted for modified version of VME bridge driver (ca91c042).
wentasah [Mon, 23 Aug 2004 15:40:30 +0000 (15:40 +0000)]
Adapted for modified version of VME bridge driver (ca91c042).

19 years agoREADME updated
ppisa [Wed, 4 Aug 2004 22:38:50 +0000 (22:38 +0000)]
README updated

19 years agoREADME CVS pointer corrected CLT_COMM_CAN-lincan-0_2_8
ppisa [Fri, 16 Jul 2004 15:57:38 +0000 (15:57 +0000)]
README CVS pointer corrected

19 years agoEMS CPC-PCI fix correcting poorly undocumented PITA2 IRQ behavior.
ppisa [Fri, 16 Jul 2004 15:44:20 +0000 (15:44 +0000)]
EMS CPC-PCI fix correcting poorly undocumented PITA2 IRQ behavior.
This workaround compiles only for 2.6.x kernels now and correct
fix compatible with 2.4 requires driver wide changes.
That is why CPC-PCI is not enabled by default.

19 years agoREADME and TODO updated
ppisa [Tue, 6 Jul 2004 23:15:34 +0000 (23:15 +0000)]
README and TODO updated

19 years agoCPC-PCI second chip IRQ corrected. Message timestamp code added.
ppisa [Fri, 2 Jul 2004 00:26:41 +0000 (00:26 +0000)]
CPC-PCI second chip IRQ corrected. Message timestamp code added.
The timestamp code has some time overhead. If it is problem,
it can be disabled in the main.h file.

19 years agoSome problems fixup in RTR read mode in read system-call.
ppisa [Thu, 1 Jul 2004 01:45:42 +0000 (01:45 +0000)]
Some problems fixup in RTR read mode in read system-call.
This mode is there for compatibility reasons with old driver
version and should be moved to its own IOCTL.

19 years agoCorrected CPC-PCI magic number check to not consider ID value.
ppisa [Fri, 25 Jun 2004 17:15:18 +0000 (17:15 +0000)]
Corrected CPC-PCI magic number check to not consider ID value.
The ID value seems to be different between cards.

19 years agoMore canqueue locking changes.
ppisa [Thu, 24 Jun 2004 14:15:18 +0000 (14:15 +0000)]
More canqueue locking changes.

19 years agoCorrection of spinlock acquire order.
ppisa [Thu, 24 Jun 2004 13:10:44 +0000 (13:10 +0000)]
Correction of spinlock acquire order.
BUGFIX of possible deadlock on real SMP systems in the
canqueue functions. Significantly faster implementation
of canque_edge_decref() implemented for systems
defining CAN_HAVE_ARCH_CMPXCHG.

19 years agoDeleted unintentionally forgotten lines in CPC-PCI support causing kernel Oops. CLT_COMM_CAN-pre_locking_udate
ppisa [Fri, 18 Jun 2004 22:07:09 +0000 (22:07 +0000)]
Deleted unintentionally forgotten lines in CPC-PCI support causing kernel Oops.

19 years agoCPC-PCI added to Makefile.std
ppisa [Fri, 18 Jun 2004 01:57:39 +0000 (01:57 +0000)]
CPC-PCI added to Makefile.std

19 years agoEMS CPC-PCI card support finished.
ppisa [Fri, 18 Jun 2004 01:45:23 +0000 (01:45 +0000)]
EMS CPC-PCI card support finished.
Requires testing, some bugs and mistakes are very probable, because I have
no access to the hardware..

19 years agoChanged filling of the chip specific operations.
ppisa [Thu, 17 Jun 2004 17:28:24 +0000 (17:28 +0000)]
Changed filling of the chip specific operations.
This enables simpler fine tuning for specific boards
which needs modified functions.
ENS CPC-PCI requires special interrupt handling for example.

19 years agoLinCAN version updated to 0.3
ppisa [Thu, 17 Jun 2004 16:09:43 +0000 (16:09 +0000)]
LinCAN version updated to 0.3

19 years agoAdded prefix sja to all sjaXX_YY register bit-fields definitions.
ppisa [Wed, 16 Jun 2004 19:53:56 +0000 (19:53 +0000)]
Added prefix sja to all sjaXX_YY register bit-fields definitions.
Changed to solve ARM-linux kernel and LinCAN name collision.

19 years agoAdded delay required by Unican PCI cards detection code.
ppisa [Wed, 16 Jun 2004 17:52:49 +0000 (17:52 +0000)]
Added delay required by Unican PCI cards detection code.
This is clumsy workaround for hardware misfeature.

19 years agoFinished PCI Unicontrols card memory range initialization.
ppisa [Mon, 14 Jun 2004 15:23:25 +0000 (15:23 +0000)]
Finished PCI Unicontrols card memory range initialization.
There are still problems with CL2 cl2_test_card timing.

19 years agoComment updated.
ppisa [Tue, 8 Jun 2004 11:30:54 +0000 (11:30 +0000)]
Comment updated.

19 years agoChanged data size from byte to unsigned for write_register indirect call
ppisa [Sun, 6 Jun 2004 10:17:11 +0000 (10:17 +0000)]
Changed data size from byte to unsigned for write_register indirect call
This is required for the support of the cards connected to the wider
bus architecture. This should not have negative impact, because
char has been propagated to int by C call convention anyway.
The global inline canobj_write_reg function has been left intact
(byte only), because it could better optimize for static call case.

19 years agoThe first phase of integration of Hynix HMS30c7202 C_CAN support
ppisa [Sun, 6 Jun 2004 03:23:21 +0000 (03:23 +0000)]
The first phase of integration of Hynix HMS30c7202 C_CAN support