11 years agoLinCAN partial update of thread helper support for 2.6.27+ kernels. sf-ocera-lincan/master-backup
ppisa [Wed, 15 Oct 2008 01:29:41 +0000 (01:29 +0000)]
LinCAN partial update of thread helper support for 2.6.27+ kernels.

11 years agoEnsure, that chip wakeup_tx function is not called for not fully setup CAN channel.
ppisa [Wed, 8 Oct 2008 23:43:53 +0000 (23:43 +0000)]
Ensure, that chip wakeup_tx function is not called for not fully setup CAN channel.

Problem found by Jan Kriz during USB<->CAN converter support development.

11 years agoWhitespace cleanup in some LinCAN source files to prepare for integration of Jan...
ppisa [Wed, 8 Oct 2008 23:21:24 +0000 (23:21 +0000)]
Whitespace cleanup in some LinCAN source files to prepare for integration of Jan Kriz work.

11 years agoUpdates to compile with 2.6.26 Linux kernel.
ppisa [Thu, 17 Jul 2008 00:50:45 +0000 (00:50 +0000)]
Updates to compile with 2.6.26 Linux kernel.

11 years agoFixes and updates for SECO M437 provided by Philippe Corbes
ppisa [Wed, 16 Jul 2008 23:43:36 +0000 (23:43 +0000)]
Fixes and updates for SECO M437 provided by Philippe Corbes

The SECO M437 has not been used from pre LinCAn driver days
so there has been accumulated more bugs in its support.
Thanks to Philippe Corbes, email:philippe.corbes _AT_
for providing fixes and testing.

11 years agoCorrected seeking for MAKERULES_DIR in leaf-node Makefile redirector.
ppisa [Mon, 7 Jul 2008 09:55:55 +0000 (09:55 +0000)]
Corrected seeking for MAKERULES_DIR in leaf-node Makefile redirector.

The operator "==" is not defined for some non-bash species of shells,
the use of "=" operator corrects the problem.

12 years agohcan2.c : some bug fixes, IRQ read optimalisation
termitt [Sun, 27 Apr 2008 02:59:33 +0000 (02:59 +0000)]
hcan2.c : some bug fixes, IRQ read optimalisation
open.c : pre_read_config is called once for each message object not only when configuring chip

12 years agosome minor bug fixes for HCAN2 chip
termitt [Fri, 25 Apr 2008 09:24:06 +0000 (09:24 +0000)]
some minor bug fixes for HCAN2 chip

12 years agoCorrected TSCAN1 and TS7KV cards support to use IO address and base correctly.
ppisa [Mon, 14 Apr 2008 02:32:58 +0000 (02:32 +0000)]
Corrected TSCAN1 and TS7KV cards support to use IO address and base correctly.

The tsxxx_base variable should be used for ISA IO space base address only,
not as io_addr variable and "io" parameter unconditional override.

Thanks for problem analysis to Gonzalo A. de la Vega.

12 years agorepair: sh7760 cannot be loaded as modules (Wrong params)
termitt [Sat, 29 Mar 2008 19:25:45 +0000 (19:25 +0000)]
repair: sh7760 cannot be loaded as modules (Wrong params)

12 years agoThe SA_* flags has been replaced by IRQF_* flags for newer kernels.
ppisa [Sun, 2 Mar 2008 00:26:22 +0000 (00:26 +0000)]
The SA_* flags has been replaced by IRQF_* flags for newer kernels.

12 years agoThe inttypes.h file is now standard, use it where appropriate.
ppisa [Wed, 30 Jan 2008 02:38:46 +0000 (02:38 +0000)]
The inttypes.h file is now standard, use it where appropriate.

It is important to include inttypes.h before any Linux/IOCTL
related headers, because there is int64_t type conflict on
some AMD64 Debian versions.

12 years agoAdded support for HCAN2 controllers integrated in SH7760.
termitt [Tue, 20 Nov 2007 21:47:41 +0000 (21:47 +0000)]
Added support for HCAN2 controllers integrated in SH7760.

The code has been developed during diploma thesis work at the Department of Control Engineering, FEL, CTU and has been tested on EMX32 SH7760 based board produced by MSC.

12 years agoAdded support for HCAN2 controllers integrated in SH7760.
termitt [Tue, 20 Nov 2007 21:24:49 +0000 (21:24 +0000)]
Added support for HCAN2 controllers integrated in SH7760.

The code has been developed during diploma thesis work at the Department of Process Controll, FEL, CTU and has been tested on EMX32 SH7760 based board produced by MSC.

12 years agoCorrected typo in legacy PCA82C200 (SJA1000 std) chip driver.
ppisa [Tue, 30 Oct 2007 11:40:13 +0000 (11:40 +0000)]
Corrected typo in legacy PCA82C200 (SJA1000 std) chip driver.

Thanks to Terence Soh for noticing the problem.

Important notice, if the board is equipped by real SJA1000
CAN controller chip, then PeliCAN mode is much much better
choice and  sja1000p_register() function should be used
instead of bare standard sja1000_register() chip support.

12 years agoCorrection for 2.6.23-git kernel - unregister_chrdev() does not return value.
ppisa [Sun, 19 Aug 2007 19:03:05 +0000 (19:03 +0000)]
Correction for 2.6.23-git kernel - unregister_chrdev() does not return value.

12 years agoChanges in CAN/PCI-200 card sources to be more clean in types
ppisa [Wed, 15 Aug 2007 20:06:04 +0000 (20:06 +0000)]
Changes in CAN/PCI-200 card sources to be more clean in types

The newer kernels are very picky about diferentiate of numbers,
virtual and IO afddresses types. Try to follow rules and allow
compatability with older kernels is little csardas.

12 years agoIncludded support for ESD Electronics CAN/PCI-200 card contributed by Manuel Bessler
ppisa [Wed, 15 Aug 2007 18:10:02 +0000 (18:10 +0000)]
Includded support for ESD Electronics CAN/PCI-200 card contributed by Manuel Bessler

12 years agoMinor correction in PEAK PCI can support.
ppisa [Tue, 7 Aug 2007 13:09:43 +0000 (13:09 +0000)]
Minor correction in PEAK PCI can support.

Some first tests worked on DigitalLogic's MSMCA104+
card clone. But interrupt handling requires
more testing. PITA documentation is unclear and real
behavior of IRQ status has to be analyzed and code
has to be adjusted accordingly.

12 years agoInitial test version of PEAK System's PCAN-PCI support
ppisa [Mon, 6 Aug 2007 01:22:03 +0000 (01:22 +0000)]
Initial test version of PEAK System's PCAN-PCI support

This card is based on Infineon's PSB 4600 PITA bridge.

12 years agoMinor chages to setup and enable filter masks for C_CAN chip correctly.
ppisa [Wed, 27 Jun 2007 00:32:35 +0000 (00:32 +0000)]
Minor chages to setup and enable filter masks for C_CAN chip correctly.

13 years agoThe first round of I/O space pointers separation.
ppisa [Mon, 1 Jan 2007 23:52:54 +0000 (23:52 +0000)]
The first round of I/O space pointers separation.

The new 2.6.x Linux kernels separates I/O space
addresses from kernel and user space ones.
They are defined as (void __iomem *).
To follow this rule and suppress some warnings
LinCAN defines type can_ioptr_t now which allows
to keep code compatible between 2.4.x and 2.6.x kernels.
These changes exposes more other inconsistencies
in some boards support code which should be corrected
one by one later.

The code requires testing and checking on more hardware.

13 years agoUpdate of IRQ handlers to conform to arguments from new function prototype (Linux...
ppisa [Fri, 15 Dec 2006 19:31:08 +0000 (19:31 +0000)]
Update of IRQ handlers to conform to arguments from new function prototype (Linux kernel 2.6.19+).

13 years agoThe non-OMK stand-alone build updated to work with 2.6.18+ kernels.
ppisa [Fri, 6 Oct 2006 18:41:05 +0000 (18:41 +0000)]
The non-OMK stand-alone build updated to work with 2.6.18+ kernels.
The linux/version.h file no longer provides information about
kernel release. This information can be found in the linux/utsrelease.h
include file.
The problem reported and correction suggested by Francesco Monica,
but little different solution tested in other drivers has been
included at the end.

13 years agoDo not attempt to include removed devfs_fs_kernel.h file for 2.6.18+ kernel.
ppisa [Tue, 3 Oct 2006 15:36:53 +0000 (15:36 +0000)]
Do not attempt to include removed devfs_fs_kernel.h file for 2.6.18+ kernel.

13 years agoCorrected incorrect use of mutex initializer for semaphore used in support code for...
ppisa [Wed, 16 Aug 2006 20:49:37 +0000 (20:49 +0000)]
Corrected incorrect use of mutex initializer for semaphore used in support code for IPCI165 card.
The mismatch prevented build of IPCI165 card support for fully preemptive kernel.

13 years agoFix to behave correctly on latest real-time premptible kernels.
ppisa [Wed, 9 Aug 2006 14:02:44 +0000 (14:02 +0000)]
Fix to behave correctly on latest real-time premptible kernels.
preempt_disable() cannot be used there to boost thread priority temporarily.

13 years agoThe configuration control file for in OCERA tree build updated. CLT_COMM_CAN_pre_ul_log_introduction
ppisa [Thu, 13 Jul 2006 22:47:58 +0000 (22:47 +0000)]
The configuration control file for in OCERA tree build updated.

13 years agoChanged kernel version to switch to new module parameters made consistent with value...
ppisa [Wed, 12 Jul 2006 18:52:33 +0000 (18:52 +0000)]
Changed kernel version to switch to new module parameters made consistent with value in "main.c".

13 years agoDo not use new module parameters declaration for old 2.6.x kernels.
ppisa [Tue, 11 Jul 2006 00:27:49 +0000 (00:27 +0000)]
Do not use new module parameters declaration for old 2.6.x kernels.

There has been change in used count report in module_param_array_named
macro somewhere around 2.6.10 kernel release which breaks LinCAN build

  -#define module_param_array_named(name, array, type, num, perm)          \
  +#define module_param_array_named(name, array, type, nump, perm)         \

13 years agoUse "lincan" as syslog messages identification instead of "can.o".
ppisa [Sun, 9 Jul 2006 23:30:05 +0000 (23:30 +0000)]
Use "lincan" as syslog messages identification instead of "can.o".

13 years agoAdded support for generic IO range mapped SJA1000 chip ("genisa1000io").
ppisa [Fri, 30 Jun 2006 02:25:27 +0000 (02:25 +0000)]
Added support for generic IO range mapped SJA1000 chip ("genisa1000io").

13 years agoUnified module parameters style to new one for 2.6.x kernels.
ppisa [Mon, 5 Jun 2006 00:55:45 +0000 (00:55 +0000)]
Unified module parameters style to new one for 2.6.x kernels.
Old one style left for 2.4 kernels.
This prevents error:
  Ignoring new-style parameters in presence of obsolete ones.
Base board frequency specification moved to main.c and parameter
unified under name "clockfreq".

13 years agoThe use of chip->chip_data is unnecessary, chip->hostdevice points to corresponding...
ppisa [Mon, 5 Jun 2006 00:07:14 +0000 (00:07 +0000)]
The use of chip->chip_data is unnecessary, chip->hostdevice points to corresponding candevice_t.
Change not checked on real hardware.

13 years agoUpdate of NSI CAN PCI kindly provided by Eric Pennamen pennamen AT gmail dot com.
ppisa [Sun, 4 Jun 2006 23:59:04 +0000 (23:59 +0000)]
Update of NSI CAN PCI kindly provided by Eric Pennamen pennamen AT gmail dot com.

14 years agoVersion and README updated to LinCAN version 3.3. CLT_COMM_CAN-lincan-0_3_3
ppisa [Sun, 28 May 2006 18:28:22 +0000 (18:28 +0000)]
Version and README updated to LinCAN version 3.3.

14 years agoCorrection of false i82527 IRQ stuck problem reported by Terence Soh.
ppisa [Sun, 21 May 2006 22:50:24 +0000 (22:50 +0000)]
Correction of false i82527 IRQ stuck problem reported by Terence Soh.
The interrupt pending flag has to be clean even, if we cannot process
synchronous activities. The flags ensures, that they are processed
later in such case. The change requires testing, I have not get
to testing yet.

14 years agoEric Pennamen contributed support for NSI CAN PCI.
ppisa [Sun, 21 May 2006 20:27:36 +0000 (20:27 +0000)]
Eric Pennamen contributed support for NSI CAN PCI.
Some possible cleanups and modifications should be discussed in future.

14 years agoThe SJA1000 interrupt support modified to provide more robust error recovery handling.
ppisa [Wed, 3 May 2006 02:36:13 +0000 (02:36 +0000)]
The SJA1000 interrupt support modified to provide more robust error recovery handling.

14 years agoNew style module parameters specification added for 2.6.17-rc1+ kernels.
ppisa [Sat, 29 Apr 2006 12:47:50 +0000 (12:47 +0000)]
New style module parameters specification added for 2.6.17-rc1+ kernels.

14 years agoAdded "chip_info" entry to the /proc/can/channelX, contributed by Sergei Sharonov.
ppisa [Sun, 26 Mar 2006 23:45:15 +0000 (23:45 +0000)]
Added "chip_info" entry to the /proc/can/channelX, contributed by Sergei Sharonov.
Code is compatible with 2.6.x and 2.4.x Linux kernels.
It would fail on 2.2.x version. If its functionality is required,
can_remove_proc_entry() has to be used on pointer stored in
the new field and code emulating create_proc_read_entry()
has to be added.

14 years agoCorrection of message data entry in rxtx and send utilities.
ppisa [Tue, 28 Feb 2006 13:08:03 +0000 (13:08 +0000)]
Correction of message data entry in rxtx and send utilities.

14 years agoCorrected incorrect check of class_device_create() return code validity.
ppisa [Sat, 18 Feb 2006 01:29:12 +0000 (01:29 +0000)]
Corrected incorrect check of class_device_create() return code validity.
Noticed by Sergei Sharonov.

14 years agoDocumentation update to prepare for LinCAN-0.3.2 release. CLT_COMM_CAN-lincan-0_3_2
ppisa [Fri, 10 Feb 2006 16:30:54 +0000 (16:30 +0000)]
Documentation update to prepare for LinCAN-0.3.2 release.

14 years agoCorrected conditional for "virtual" board inclusion in the board list.
ppisa [Thu, 9 Feb 2006 03:23:33 +0000 (03:23 +0000)]
Corrected conditional for "virtual" board inclusion in the board list.

14 years agoCorrection of the abnormal looping in SJA1000P ISR reported by Tomas Kupilik.
ppisa [Thu, 19 Jan 2006 18:42:20 +0000 (18:42 +0000)]
Correction of the abnormal looping in SJA1000P ISR reported by Tomas Kupilik.

14 years agoCorrected bad device_lock references by value found in IXXAT iPC-I 165 code
ppisa [Thu, 19 Jan 2006 12:25:59 +0000 (12:25 +0000)]
Corrected bad device_lock references by value found in IXXAT iPC-I 165 code
to the pointer kind parameters for can_spin_xxx calls.

14 years agoDeep rewrite of TSCAN1 and TS7KV boards support.
ppisa [Wed, 18 Jan 2006 01:20:07 +0000 (01:20 +0000)]
Deep rewrite of TSCAN1 and TS7KV boards support.
Result requires tests on real hardware and probability
of breakage is very likely. The main aim of the rewrite
is to simplify register access code. The LinCAN driver
does not require more than first 32 byte ports to control
SJA1000 in pelican mode. With this simplification, no windowing
is required for TSCAN1 and only minimal support for access
of SJACDR has been left for TS7KV. The boards lookup checks
for IO range availability and TSCAN1 window can be placed
automatically as well. The "canio" parameter changed to "tscanio".

14 years agoSome minor updates to adapt sources for changes introduced in 2.6.15 kernel version.
ppisa [Sat, 7 Jan 2006 22:09:47 +0000 (22:09 +0000)]
Some minor updates to adapt sources for changes introduced in 2.6.15 kernel version.

14 years agoAdded more detailed SJA1000 error reporting and primitive report rate limiting.
ppisa [Wed, 28 Dec 2005 16:04:06 +0000 (16:04 +0000)]
Added more detailed SJA1000 error reporting and primitive report rate limiting.
The detailed SJA1000 error reporting is enabled by adding next line
into config.omk file

14 years agoRonald Gomes from Technologic Systemscontributed support for TS-CAN1 and TS-7KV cards.
ppisa [Thu, 17 Nov 2005 15:36:37 +0000 (15:36 +0000)]
Ronald Gomes from Technologic Systemscontributed support for TS-CAN1 and TS-7KV cards.
This is initial version and would require more cleanups and optimizations.

14 years agoLinCAN driver updated to work on Real-Time Preemption enabled kernel.
ppisa [Sun, 6 Nov 2005 00:20:47 +0000 (00:20 +0000)]
LinCAN driver updated to work on Real-Time Preemption enabled kernel.
Code tested on SJA1000 controller on the ARM based system
with Linux kernel 2.6.14 and Ingo Molnar's 2.6.14-rt5 patch.

14 years agoThe i82527 bus status status change interrupt is now reported and cleared.
ppisa [Fri, 4 Nov 2005 16:25:00 +0000 (16:25 +0000)]
The i82527 bus status status change interrupt is now reported and cleared.
This should fix reported "i82527_irq_handler IRQ 29 stuck" message.

14 years agoThe system dependent part moved from setup.c into separate file.
ppisa [Thu, 3 Nov 2005 02:45:04 +0000 (02:45 +0000)]
The system dependent part moved from setup.c into separate file.

14 years agoIntroduced basic support for registration of "can" class and call devices,
ppisa [Thu, 3 Nov 2005 02:43:28 +0000 (02:43 +0000)]
Introduced basic support for registration of "can" class and call devices,
which is required for UDEV support.

14 years agoIncluded support for PiMX1 board with SJA1000 on MX_DIS1 expansion board.
ppisa [Tue, 25 Oct 2005 17:59:09 +0000 (17:59 +0000)]
Included support for PiMX1 board with SJA1000 on MX_DIS1 expansion board.

14 years agoSJA1000 driver interrupts processing modified to not rely on interrupt register for...
ppisa [Tue, 11 Oct 2005 15:41:38 +0000 (15:41 +0000)]
SJA1000 driver interrupts processing modified to not rely on interrupt register for Rx and Tx.
The information about free chip ready condition for Tx message is now
obtained from status register. This solution enables us to equip SJA1000
driver by irq_accept method. Then only this part has to be run in real IRQ
handler and rest of ISR can be done in other thread. This is required
for possible porting to QNX as well. Change should helps to better
recover form bus-off mode as well.

14 years agoFixed bug message objects indexing introduced by previous driver changes.
ppisa [Tue, 30 Aug 2005 22:42:33 +0000 (22:42 +0000)]
Fixed bug message objects indexing introduced by previous driver changes.
This indicates, that i82527 requires more testing after 0.3.x driver

14 years agoSJA1000 clockout divisors listed explicitly.
ppisa [Fri, 22 Jul 2005 13:05:24 +0000 (13:05 +0000)]
SJA1000 clockout divisors listed explicitly.

14 years agoUpdated for 0.3.1 release CLT_COMM_CAN-lincan-0_3_1
ppisa [Wed, 13 Jul 2005 21:44:26 +0000 (21:44 +0000)]
Updated for 0.3.1 release

14 years agoFixed typo
wentasah [Wed, 13 Jul 2005 14:11:48 +0000 (14:11 +0000)]
Fixed typo

14 years ago./switch2std replaced by ./switch-omk2std
wentasah [Wed, 13 Jul 2005 14:09:57 +0000 (14:09 +0000)]
./switch2std replaced by ./switch-omk2std

14 years agoAdded missing chip attach and release to the virtual chip driver.
ppisa [Fri, 1 Jul 2005 17:25:04 +0000 (17:25 +0000)]
Added missing chip attach and release to the virtual chip driver.

14 years agoAdded ipci165_attach_to_chip and ipci165_release_chip, which are mandatory
ppisa [Wed, 15 Jun 2005 13:45:28 +0000 (13:45 +0000)]
Added ipci165_attach_to_chip and ipci165_release_chip, which are mandatory
for the latest LinCAN base version.

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

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

14 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

14 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
indent -kr -i8 -ts8 -sob -l80 -ss -ncs -cp6  "$@"

14 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().

14 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().

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

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

14 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

14 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

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

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

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

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

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

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

15 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

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

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

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

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

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

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

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

15 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

15 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

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

15 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

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

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

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

15 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

15 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

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

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

15 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