]> rtime.felk.cvut.cz Git - lincan.git/log
lincan.git
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 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 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: 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

19 years agoAdded functions to flush all messages in edges connected to one ends structure
ppisa [Sat, 5 Jun 2004 15:41:17 +0000 (15:41 +0000)]
Added functions to flush all messages in edges connected to one ends structure

19 years agoAdded switch-omk2std script to simple switch from OMK to standard Makefiles
ppisa [Tue, 1 Jun 2004 00:54:48 +0000 (00:54 +0000)]
Added switch-omk2std script to simple switch from OMK to standard Makefiles

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.