lincan.git
6 years agoActual driver code for directly mapped SJA1000 into PCI mem region 0. master
Pavel Pisa [Sun, 15 Sep 2013 19:07:03 +0000 (21:07 +0200)]
Actual driver code for directly mapped SJA1000 into PCI mem region 0.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agoIncluded support for directly mapped SJA1000 into PCI mem region 0.
Pavel Pisa [Sun, 15 Sep 2013 19:03:17 +0000 (21:03 +0200)]
Included support for directly mapped SJA1000 into PCI mem region 0.

SJA1000 mapped into memory BAR0 is used by experimental
SJA1000 CAN controller emulator for QEMU implemented
by Jin Yang in the frame of GSoC 2013 slot for RTEMS
CAN related work. The RTEMS maintainers identified
lack of broad available test environment as main
problem and decided to denote one RTEMS GSoC 2013
to be for QEMU enhancement.

More information about QEMU setup with CAN for Linux
host system and Linux and RTEMS quest systems can
be found on RTEMS Wiki

  http://wiki.rtems.org/wiki/index.php/Qemu_simulations

Experimental version of QEMU 1.4.2 with SJA1000 hardware
emulation is available from Jin Yang's GitHub project

  https://github.com/Jin-Yang/QEMU-1.4.2

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agoUpdate URLs to project on SF.net GIT repositories.
Pavel Pisa [Tue, 25 Jun 2013 14:13:36 +0000 (16:13 +0200)]
Update URLs to project on SF.net GIT repositories.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoUse mdelay instead of udelay for long times.
Pavel Pisa [Sun, 24 Jun 2012 19:04:21 +0000 (21:04 +0200)]
Use mdelay instead of udelay for long times.

The delays are required mostly for old, incorrectly
engineered CAN boards. So use of mdelay is deprecated
as well.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
8 years agoLinCAN version and documentation updated to 0.3.5 and build portability fixes.
Pavel Pisa [Sun, 9 Oct 2011 22:10:58 +0000 (00:10 +0200)]
LinCAN version and documentation updated to 0.3.5 and build portability fixes.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
8 years agoCorrected CAN queues locking for corner case - i.e. partially connected queue.
Pavel Pisa [Sat, 1 Oct 2011 20:44:53 +0000 (22:44 +0200)]
Corrected CAN queues locking for corner case - i.e. partially connected queue.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
8 years agoLinCAN sources go through big white-space cleanup.
Pavel Pisa [Sat, 1 Oct 2011 17:55:34 +0000 (19:55 +0200)]
LinCAN sources go through big white-space cleanup.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
8 years agoAdjust LinCAN sources to compile for 3.x Linux kernel.
Pavel Pisa [Sat, 1 Oct 2011 16:28:56 +0000 (18:28 +0200)]
Adjust LinCAN sources to compile for 3.x Linux kernel.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
8 years agoLinux 3.x kernel KBUILD can be examined by same rules as 2.6.x
Pavel Pisa [Sat, 1 Oct 2011 15:42:18 +0000 (17:42 +0200)]
Linux 3.x kernel KBUILD can be examined by same rules as 2.6.x

Script kernelcfg2mk and Makefile.rules updated
form OMK project GIT repository at RTIME

  git clone git://rtime.felk.cvut.cz/omk.git
  http://rtime.felk.cvut.cz/gitweb/omk.git

OMK documentation can be found at OMK project homepage

  http://rtime.felk.cvut.cz/omk/

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
8 years agoLinCAN PCI cards support updated to support PCI devices reference counting.
Pavel Pisa [Sat, 1 Oct 2011 15:38:33 +0000 (17:38 +0200)]
LinCAN PCI cards support updated to support PCI devices reference counting.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoMakefile rules updated actual version from from OMK project.
Pavel Pisa [Thu, 7 Oct 2010 16:00:39 +0000 (18:00 +0200)]
Makefile rules updated actual version from from OMK project.

OMK homepage and repository

  http://rtime.felk.cvut.cz/omk/

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoEnsure that do_gettimeofday is declared for some versions.
Pavel Pisa [Fri, 9 Apr 2010 09:08:00 +0000 (11:08 +0200)]
Ensure that do_gettimeofday is declared for some versions.

This is attempt to correct LinCAN build for 2.4.x kernels.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoMakefile.rules updated to OMK current version.
Pavel Pisa [Wed, 7 Apr 2010 11:59:27 +0000 (13:59 +0200)]
Makefile.rules updated to OMK current version.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoMakefile.rules and atomic CMPXCHG handling update to support 2.6.33 kernel.
Pavel Pisa [Mon, 29 Mar 2010 08:53:29 +0000 (10:53 +0200)]
Makefile.rules and atomic CMPXCHG handling update to support 2.6.33 kernel.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoClean up: Removed fake board mpc5200_midam
Martin Petera [Tue, 2 Feb 2010 19:20:50 +0000 (20:20 +0100)]
Clean up: Removed fake board mpc5200_midam

9 years agoFixed typo in recently added MSCAN code
Martin Petera [Wed, 13 Jan 2010 15:06:50 +0000 (16:06 +0100)]
Fixed typo in recently added MSCAN code

9 years agoAdded distinguish mechanism between full MPC5200 (used on RYU board) and original...
Martin Petera [Tue, 5 Jan 2010 18:00:07 +0000 (19:00 +0100)]
Added distinguish mechanism between full MPC5200 (used on RYU board) and original MIDAM board

9 years agoMPC5200 with MSCAN - Beta version
Martin Petera [Tue, 5 Jan 2010 05:10:57 +0000 (06:10 +0100)]
MPC5200 with MSCAN - Beta version

10 years agoMPC5200 added to build system
Martin Petera [Wed, 2 Dec 2009 16:20:44 +0000 (17:20 +0100)]
MPC5200 added to build system

10 years agoInitial MPC5200 support contribution
Martin Petera [Wed, 2 Dec 2009 16:18:40 +0000 (17:18 +0100)]
Initial MPC5200 support contribution

10 years agoCopy right leaf node Makefile even if script started from different directory.
ppisa [Fri, 7 Aug 2009 16:02:40 +0000 (18:02 +0200)]
Copy right leaf node Makefile even if script started from different directory.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
10 years agoThe Linux Makefile.rules updated from OMK main repository.
ppisa [Fri, 7 Aug 2009 15:54:20 +0000 (17:54 +0200)]
The Linux Makefile.rules updated from OMK main repository.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
10 years agoBuild invocation script updated to be compatible with DASH.
ppisa [Fri, 13 Mar 2009 00:39:27 +0000 (01:39 +0100)]
Build invocation script updated to be compatible with DASH.

Ubuntu users needs that.

10 years agoUpdated Makefile.rules, kernel compiler flags extraction and build script.
ppisa [Fri, 13 Mar 2009 00:38:37 +0000 (01:38 +0100)]
Updated Makefile.rules, kernel compiler flags extraction and build script.

This solves problem with includes pointing to the arch directory
on newer 2.6.x kernels.

10 years agoMerge commit 'sf-ocera-lincan/master'
ppisa [Sun, 1 Mar 2009 10:42:35 +0000 (11:42 +0100)]
Merge commit 'sf-ocera-lincan/master'

10 years agoLinCAN driver version updated to 0.3.4.
ppisa [Sun, 1 Mar 2009 11:39:01 +0000 (11:39 +0000)]
LinCAN driver version updated to 0.3.4.

10 years agoSimple change to compile LinCAN driver with 2.6.28+ kernels.
ppisa [Sun, 1 Mar 2009 11:34:26 +0000 (11:34 +0000)]
Simple change to compile LinCAN driver with 2.6.28+ kernels.

10 years agoThe LinCAN driver license unified according to DCE FEE CTU head and superiors request.
ppisa [Sat, 28 Feb 2009 14:19:06 +0000 (14:19 +0000)]
The LinCAN driver license unified according to DCE FEE CTU head and superiors request.

This is horribly long time pending request but I hold it to simplify
merging of contributed changes. But it cannot be hold longer
when new release is in preparation. Excuse me for inconvenience.

10 years agoMerge commit 'sf-ocera-lincan/master'
ppisa [Sat, 28 Feb 2009 13:22:12 +0000 (14:22 +0100)]
Merge commit 'sf-ocera-lincan/master'

10 years agoCorrected bug caused by "The first round of I/O space pointers separation." patch.
ppisa [Fri, 30 Jan 2009 19:32:45 +0000 (19:32 +0000)]
Corrected bug caused by "The first round of I/O space pointers separation." patch.

The can_{in,out}{lw} has been mapped to the byte size operations.
The corrected version has been tested on KVASER PCIcan-Q card.

10 years agoMerge commit 'sf-ocera-lincan/master'
ppisa [Fri, 30 Jan 2009 18:45:23 +0000 (19:45 +0100)]
Merge commit 'sf-ocera-lincan/master'

11 years agoAdded support for ESD PCI/PMC 266 cards. sf-ocera-lincan
ppisa [Sun, 23 Nov 2008 23:38:36 +0000 (23:38 +0000)]
Added support for ESD PCI/PMC 266 cards.

Board support has to be enabled by CONFIG_OC_LINCAN_CARD_esdpci266=y
in config.omk and hw=esdpci266.

Code has been contributed by Unicontrols company.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
11 years agoMerge commit 'sf-ocera-lincan/master'
ppisa [Sun, 23 Nov 2008 22:46:25 +0000 (23:46 +0100)]
Merge commit 'sf-ocera-lincan/master'

11 years agoThe old "pikronisa" card support renamed to "gensja1000mm".
ppisa [Sun, 23 Nov 2008 21:54:52 +0000 (21:54 +0000)]
The old "pikronisa" card support renamed to "gensja1000mm".

The "gensja1000mm" can be used with cards which provide
directly mapped SJA1000 chip access. The parameter
clockfreq=24000 is required for "pikronisa" cards.
The clocks default frequency is set to 16 MHz.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
11 years agoAdding usbcan file structure
ppisa [Sun, 23 Nov 2008 21:48:22 +0000 (21:48 +0000)]
Adding usbcan file structure

11 years agoTS-CAN1 and TS-7KV support separated and updated. Needs testing. sf-ocera-lincan/HEAD sf-ocera-lincan/master
ppisa [Sun, 9 Nov 2008 13:24:07 +0000 (13:24 +0000)]
TS-CAN1 and TS-7KV support separated and updated. Needs testing.

The "tscan1" and "ts7kv" board support shares minimal amount of functions.
The "ts7kv" support is moved to separate file now and is inclussion
into final build is controlled by separate option from "config.omk" file

  CONFIG_OC_LINCAN_CARD_tscan1=y
  CONFIG_OC_LINCAN_CARD_ts7kv=y

The both sources share "tsxxx_base" module parameter still
but solution is not elegant and use of different parameter
names is considered.

The "tscan1" seems to be used in MM I/O configurations on arm.
The the "tscan1mmio" hardware options has been included,
but there should be used ioremap() for MM I/O case.
But code found at Technologic Systems doesnot use it
 ftp://ftp.embeddedarm.com/pc104-peripherals/ts-can1/ts-7800-linuxr26/ocera-lincan-src.tar.gz
so I have not changed it.

The "ts7kv" is still I/O based only. May it be, that best
and simplest solution is to compile it with can_inb/can_outb
for x86 and with can_reab/can_writeb for ARM.

The code requires testing before prepared release.

11 years agoMerge commit 'sf-ocera-lincan/master'
ppisa [Sun, 9 Nov 2008 12:26:13 +0000 (13:26 +0100)]
Merge commit 'sf-ocera-lincan/master'

11 years agoCorrected print of address in report of card presence check failure.
ppisa [Sun, 9 Nov 2008 00:06:57 +0000 (00:06 +0000)]
Corrected print of address in report of card presence check failure.

11 years agoMerge commit 'sf-ocera-lincan/master'
ppisa [Sat, 8 Nov 2008 23:16:07 +0000 (00:16 +0100)]
Merge commit 'sf-ocera-lincan/master'

11 years agoReturn back building of utilities provided with LinCAN.
ppisa [Sun, 2 Nov 2008 12:43:27 +0000 (12:43 +0000)]
Return back building of utilities provided with LinCAN.

Revert mistake in "some minor bug fixes for HCAN2 chip" commit.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
11 years agoUse send_sig() instead of kill_proc() in emulated kthread support.
ppisa [Sun, 2 Nov 2008 12:35:20 +0000 (12:35 +0000)]
Use send_sig() instead of kill_proc() in emulated kthread support.

This allows to compile driver on latest 2.6.27+ kernels,
but is incorrect anyway. The local code for kernel thread
support is not more needed for recent 2.6 kernels and code
should be modified to emulate same interface for older ones.

11 years agoMerge commit 'sf-ocera-lincan'
ppisa [Sun, 2 Nov 2008 11:52:29 +0000 (12:52 +0100)]
Merge commit 'sf-ocera-lincan'

11 years agoMerge: LinCAN partial update of thread helper support for 2.6.27+ kernels.
ppisa [Sat, 1 Nov 2008 01:51:16 +0000 (02:51 +0100)]
Merge: LinCAN partial update of thread helper support for 2.6.27+ kernels.

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

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 agoMerge: Ensure, that chip wakeup_tx function is not called for not fully setup CAN...
ppisa [Wed, 8 Oct 2008 21:43:00 +0000 (23:43 +0200)]
Merge: Ensure, that chip wakeup_tx function is not called for not fully setup CAN channel.

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

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

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

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_ logibag.com
for providing fixes and testing.

11 years agoMerge: Updates to compile with 2.6.26 Linux kernel.
ppisa [Wed, 16 Jul 2008 22:50:00 +0000 (00:50 +0200)]
Merge: Updates to compile with 2.6.26 Linux kernel.

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

11 years agoMerge: Fixes and updates for SECO M437 provided by Philippe Corbes
ppisa [Wed, 16 Jul 2008 21:43:00 +0000 (23:43 +0200)]
Merge: Fixes and updates for SECO M437 provided by Philippe Corbes

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

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.

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

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

11 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

11 years agoMerge: hcan2.c : some bug fixes, IRQ read optimalisation
ppisa [Sun, 27 Apr 2008 00:59:00 +0000 (02:59 +0200)]
Merge: hcan2.c : some bug fixes, IRQ read optimalisation

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

11 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

11 years agoMerge: some minor bug fixes for HCAN2 chip
ppisa [Fri, 25 Apr 2008 07:24:00 +0000 (09:24 +0200)]
Merge: some minor bug fixes for HCAN2 chip

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

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

11 years agoMerge: Corrected TSCAN1 and TS7KV cards support to use IO address and base correctly.
ppisa [Mon, 14 Apr 2008 00:32:00 +0000 (02:32 +0200)]
Merge: Corrected TSCAN1 and TS7KV cards support to use IO address and base correctly.

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

11 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)

11 years agoMerge: repair: sh7760 cannot be loaded as modules (Wrong params)
ppisa [Sat, 29 Mar 2008 18:25:00 +0000 (19:25 +0100)]
Merge: repair: sh7760 cannot be loaded as modules (Wrong params)

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

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

11 years agoMerge: The SA_* flags has been replaced by IRQF_* flags for newer kernels.
ppisa [Sat, 1 Mar 2008 23:26:00 +0000 (00:26 +0100)]
Merge: The SA_* flags has been replaced by IRQF_* flags for newer kernels.

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

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

11 years agoMerge: The inttypes.h file is now standard, use it where appropriate.
ppisa [Wed, 30 Jan 2008 01:38:00 +0000 (02:38 +0100)]
Merge: The inttypes.h file is now standard, use it where appropriate.

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

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 agoMerge: Added support for HCAN2 controllers integrated in SH7760.
ppisa [Tue, 20 Nov 2007 20:47:00 +0000 (21:47 +0100)]
Merge: Added support for HCAN2 controllers integrated in SH7760.

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

12 years agoMerge: Added support for HCAN2 controllers integrated in SH7760.
ppisa [Tue, 20 Nov 2007 20:24:00 +0000 (21:24 +0100)]
Merge: Added support for HCAN2 controllers integrated in SH7760.

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

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 agoMerge: Corrected typo in legacy PCA82C200 (SJA1000 std) chip driver.
ppisa [Tue, 30 Oct 2007 10:40:00 +0000 (11:40 +0100)]
Merge: Corrected typo in legacy PCA82C200 (SJA1000 std) chip driver.

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

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 agoMerge: Correction for 2.6.23-git kernel - unregister_chrdev() does not return value.
ppisa [Sun, 19 Aug 2007 17:03:00 +0000 (19:03 +0200)]
Merge: Correction for 2.6.23-git kernel - unregister_chrdev() does not return value.

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

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 agoMerge: Changes in CAN/PCI-200 card sources to be more clean in types
ppisa [Wed, 15 Aug 2007 18:06:00 +0000 (20:06 +0200)]
Merge: Changes in CAN/PCI-200 card sources to be more clean in types

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

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

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

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 agoMerge: Minor correction in PEAK PCI can support.
ppisa [Tue, 7 Aug 2007 11:09:00 +0000 (13:09 +0200)]
Merge: Minor correction in PEAK PCI can support.

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

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 agoMerge: Initial test version of PEAK System's PCAN-PCI support
ppisa [Sun, 5 Aug 2007 23:22:00 +0000 (01:22 +0200)]
Merge: Initial test version of PEAK System's PCAN-PCI support

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

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.

12 years agoMerge: Minor chages to setup and enable filter masks for C_CAN chip correctly.
ppisa [Tue, 26 Jun 2007 22:32:00 +0000 (00:32 +0200)]
Merge: Minor chages to setup and enable filter masks for C_CAN chip correctly.

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

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

12 years agoMerge: The first round of I/O space pointers separation.
ppisa [Mon, 1 Jan 2007 22:52:00 +0000 (23:52 +0100)]
Merge: The first round of I/O space pointers separation.

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

12 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+).

12 years agoMerge: Update of IRQ handlers to conform to arguments from new function prototype...
ppisa [Fri, 15 Dec 2006 18:31:00 +0000 (19:31 +0100)]
Merge: Update of IRQ handlers to conform to arguments from new function prototype (Linux kernel 2.6.19+).

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

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 agoMerge: The non-OMK stand-alone build updated to work with 2.6.18+ kernels.
ppisa [Fri, 6 Oct 2006 16:41:00 +0000 (18:41 +0200)]
Merge: The non-OMK stand-alone build updated to work with 2.6.18+ kernels.

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

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 agoMerge: Do not attempt to include removed devfs_fs_kernel.h file for 2.6.18+ kernel.
ppisa [Tue, 3 Oct 2006 13:36:00 +0000 (15:36 +0200)]
Merge: Do not attempt to include removed devfs_fs_kernel.h file for 2.6.18+ kernel.

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

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 agoMerge: Corrected incorrect use of mutex initializer for semaphore used in support...
ppisa [Wed, 16 Aug 2006 18:49:00 +0000 (20:49 +0200)]
Merge: Corrected incorrect use of mutex initializer for semaphore used in support code for IPCI165 card.

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

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 agoMerge: Fix to behave correctly on latest real-time premptible kernels.
ppisa [Wed, 9 Aug 2006 12:02:00 +0000 (14:02 +0200)]
Merge: Fix to behave correctly on latest real-time premptible kernels.

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

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 agoMerge: The configuration control file for in OCERA tree build updated.
ppisa [Thu, 13 Jul 2006 20:47:00 +0000 (22:47 +0200)]
Merge: The configuration control file for in OCERA tree build updated.

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

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 agoMerge: Changed kernel version to switch to new module parameters made consistent...
ppisa [Wed, 12 Jul 2006 16:52:00 +0000 (18:52 +0200)]
Merge: Changed kernel version to switch to new module parameters made consistent with value in "main.c".

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