lincan.git
7 years agoUsed sysless functions for IRQ handling. Used access functions to the chip register...
Jiri Vanek [Thu, 16 Feb 2012 11:24:57 +0000 (12:24 +0100)]
Used sysless functions for IRQ handling. Used access functions to the chip register can_read_reg and can_write_reg.

7 years agoembedded: LPC17xx register access routines for hwspecops defined.
Pavel Pisa [Mon, 13 Feb 2012 17:12:08 +0000 (18:12 +0100)]
embedded: LPC17xx register access routines for hwspecops defined.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoembedded: provide generic support functions for sysless variant.
Pavel Pisa [Mon, 13 Feb 2012 17:02:45 +0000 (18:02 +0100)]
embedded: provide generic support functions for sysless variant.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agosysless: IRQ_RETVAL must not to touch its argument for void return type handler variant.
Pavel Pisa [Mon, 13 Feb 2012 17:01:26 +0000 (18:01 +0100)]
sysless: IRQ_RETVAL must not to touch its argument for void return type handler variant.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agohost driver: support access to the chip register wider then 8-bit.
Pavel Pisa [Mon, 13 Feb 2012 16:36:10 +0000 (17:36 +0100)]
host driver: support access to the chip register wider then 8-bit.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoembedded: support access to the chip register wider then 8-bit.
Pavel Pisa [Mon, 13 Feb 2012 16:32:58 +0000 (17:32 +0100)]
embedded: support access to the chip register wider then 8-bit.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoDirect approach to CAN registers was replaced by calling functions can_write_register...
Jiri Vanek [Mon, 6 Feb 2012 15:56:05 +0000 (16:56 +0100)]
Direct approach to CAN registers was replaced by calling functions can_write_register and can_read_register, which work with register base in struct canchip_t.

7 years agoAdded initialization of struct usbcan_message flags when receiving and transmitting...
Jiri Vanek [Wed, 25 Jan 2012 18:42:30 +0000 (19:42 +0100)]
Added initialization of struct usbcan_message flags when receiving and transmitting URBs are allocated. The USBCAN_MESSAGE bits was also reduced.

7 years agoReceiving CAN messages with usage of queue system from LinCAN - first version. Attemp...
Jiri Vanek [Thu, 29 Dec 2011 09:11:12 +0000 (10:11 +0100)]
Receiving CAN messages with usage of queue system from LinCAN - first version. Attempt to keep the functionality of the previous project (can-usb1) in the main.c file for possible future choice of which hardware to use.

7 years agoTransmitting CAN messages with usage of queue system from LinCAN - first version...
Jiri Vanek [Thu, 22 Dec 2011 16:02:05 +0000 (17:02 +0100)]
Transmitting CAN messages with usage of queue system from LinCAN - first version. Attempt to keep the functionality of the previous project (can-usb1) in the main.c file for possible future choice of which hardware to use.

7 years agofirst version, only transmitting CAN messages without usage of queue system from...
Jiri Vanek [Mon, 19 Dec 2011 12:41:08 +0000 (13:41 +0100)]
first version, only transmitting CAN messages without usage of queue system from LinCAN

7 years agoMerge branch 'master' into can-usb1
Pavel Pisa [Mon, 10 Oct 2011 08:07:28 +0000 (10:07 +0200)]
Merge branch 'master' into can-usb1

7 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>
7 years agoMore cleanups in CANUSB converter embedded code.
Pavel Pisa [Sun, 2 Oct 2011 23:25:48 +0000 (01:25 +0200)]
More cleanups in CANUSB converter embedded code.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoMerge branch 'master' into can-usb1
Pavel Pisa [Sat, 1 Oct 2011 20:46:19 +0000 (22:46 +0200)]
Merge branch 'master' into can-usb1

7 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>
7 years agoUSBCAN converter code updated to match full version of LinCAN sources.
Pavel Pisa [Sat, 1 Oct 2011 20:37:50 +0000 (22:37 +0200)]
USBCAN converter code updated to match full version of LinCAN sources.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoMerge branch 'master' into can-usb1
Pavel Pisa [Sat, 1 Oct 2011 18:08:22 +0000 (20:08 +0200)]
Merge branch 'master' into can-usb1

7 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>
7 years agoMerge branch 'master' into can-usb1
Pavel Pisa [Sat, 1 Oct 2011 16:29:51 +0000 (18:29 +0200)]
Merge branch 'master' into can-usb1

7 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>
7 years agoMerge branch 'master' into can-usb1
Pavel Pisa [Sat, 1 Oct 2011 15:43:17 +0000 (17:43 +0200)]
Merge branch 'master' into can-usb1

7 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>
7 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>
7 years agoConfiguration to build USBCAN converter on LMC1 board added.
Pavel Pisa [Sat, 1 Oct 2011 12:31:17 +0000 (14:31 +0200)]
Configuration to build USBCAN converter on LMC1 board added.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoContributed support for LCP17xx devices and PiKRON's LMC1 board.
Pavel Pisa [Sat, 1 Oct 2011 12:27:04 +0000 (14:27 +0200)]
Contributed support for LCP17xx devices and PiKRON's LMC1 board.

The support originates from uLAN project sysless repository
and is result of new HPLC instruments development at PiKRON
company.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoRemove old copy of IAP and LCPIAP code.
Pavel Pisa [Sat, 1 Oct 2011 12:22:33 +0000 (14:22 +0200)]
Remove old copy of IAP and LCPIAP code.

The common version for ARM devices located in
  arch/arm/generic/libs/iap_kvpbv
directory is used now.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoUpdate of system-less architecture and board support code to actual uLAN.sf.net version.
Pavel Pisa [Tue, 27 Sep 2011 20:31:45 +0000 (22:31 +0200)]
Update of system-less architecture and board support code to actual uLAN.sf.net version.

USB<->CAN converter code has been successfully build
by arm-elf-gcc version 4.4.4 from rtime.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoEmbedded OMK rules updated to actual version.
Pavel Pisa [Tue, 27 Sep 2011 19:54:05 +0000 (21:54 +0200)]
Embedded OMK rules updated to actual version.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
8 years agoCleaning up chip->chip_data on device unregister
Ing. Jan Kriz [Mon, 18 Apr 2011 08:23:13 +0000 (10:23 +0200)]
Cleaning up chip->chip_data on device unregister

8 years agoreference count for device opens added (helps while asynchronous remove
Ing. Jan Kriz [Sun, 17 Apr 2011 17:39:36 +0000 (19:39 +0200)]
reference count for device opens added (helps while asynchronous remove
of the USB device occurs)

8 years agoChange of parameter order in hotplug functions, more debug messages
Bc. Jan Kriz [Tue, 22 Mar 2011 09:23:57 +0000 (10:23 +0100)]
Change of parameter order in hotplug functions, more debug messages
added

8 years agoHotplug device support functions renamed
Bc. Jan Kriz [Tue, 22 Mar 2011 09:21:57 +0000 (10:21 +0100)]
Hotplug device support functions renamed

8 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 agoMerge branch 'master' into can-usb1
Pavel Pisa [Fri, 9 Apr 2010 09:08:32 +0000 (11:08 +0200)]
Merge branch 'master' into can-usb1

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 actual OMK version.
Pavel Pisa [Wed, 7 Apr 2010 12:01:35 +0000 (14:01 +0200)]
Makefile.rules updated to actual OMK version.

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 agoThe system stub updated from rtime/sysless version.
Pavel Pisa [Mon, 29 Mar 2010 13:52:12 +0000 (15:52 +0200)]
The system stub updated from rtime/sysless version.

These changes are required to build with GCC-4.4.3 + NewLib-18
arm-elf toolchain.

Changes provided by Tran Duy Khanh.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoEmbedded Makefile.rules updated to yet newer version.
Pavel Pisa [Mon, 29 Mar 2010 09:02:14 +0000 (11:02 +0200)]
Embedded Makefile.rules updated to yet newer version.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoMakefile.rules for embedded build (CAN USB convertor firmware) updated.
Pavel Pisa [Mon, 29 Mar 2010 08:58:48 +0000 (10:58 +0200)]
Makefile.rules for embedded build (CAN USB convertor firmware) updated.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
9 years agoMerge branch 'master' into can-usb1
Pavel Pisa [Mon, 29 Mar 2010 08:54:24 +0000 (10:54 +0200)]
Merge branch 'master' into can-usb1

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 agoMerge branch 'master' into can-usb1
ppisa [Tue, 9 Feb 2010 22:44:13 +0000 (23:44 +0100)]
Merge branch 'master' into can-usb1

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

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

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

10 years agoUpdate embedded build script same way as host one.
ppisa [Fri, 7 Aug 2009 16:10:29 +0000 (18:10 +0200)]
Update embedded build script same way as host one.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
10 years agoMerge branch 'master' into can-usb1
ppisa [Fri, 7 Aug 2009 16:05:34 +0000 (18:05 +0200)]
Merge branch 'master' into can-usb1

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 agoUSB converter firmware build invocation script updated for DASH.
ppisa [Fri, 13 Mar 2009 00:42:50 +0000 (01:42 +0100)]
USB converter firmware build invocation script updated for DASH.

10 years agoMerge branch 'master' into can-usb1
ppisa [Fri, 13 Mar 2009 00:40:14 +0000 (01:40 +0100)]
Merge branch 'master' into can-usb1

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 agoUpdated config for UL_USB1 board to wait for boot loader during load.
ppisa [Sun, 1 Mar 2009 12:54:04 +0000 (13:54 +0100)]
Updated config for UL_USB1 board to wait for boot loader during load.

10 years agoRegitration of USB driver targets updated for 2.6.28+ kernels as well.
ppisa [Sun, 1 Mar 2009 10:47:27 +0000 (11:47 +0100)]
Regitration of USB driver targets updated for 2.6.28+ kernels as well.

10 years agoMerge branch 'master' into can-usb1
ppisa [Sun, 1 Mar 2009 10:43:01 +0000 (11:43 +0100)]
Merge branch 'master' into can-usb1

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 branch 'master' into can-usb1
ppisa [Sat, 28 Feb 2009 13:23:18 +0000 (14:23 +0100)]
Merge branch 'master' into can-usb1

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 agoEliminated busy loop in the USB can sources and thread priority increased.
ppisa [Tue, 3 Feb 2009 03:06:55 +0000 (04:06 +0100)]
Eliminated busy loop in the USB can sources and thread priority increased.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
10 years agoUSB LinCAN support reworked to use lists instead of arrays.
ppisa [Mon, 2 Feb 2009 21:06:53 +0000 (22:06 +0100)]
USB LinCAN support reworked to use lists instead of arrays.

This solves problems with incorrect order of received
messages. This version is working, but needs more
cleanups still.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
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 branch 'master' into can-usb1
ppisa [Fri, 30 Jan 2009 18:47:04 +0000 (19:47 +0100)]
Merge branch 'master' into can-usb1

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'

10 years agoMake USB loaded image the default variant for usbcan.
ppisa [Fri, 30 Jan 2009 18:43:31 +0000 (19:43 +0100)]
Make USB loaded image the default variant for usbcan.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
10 years agoThe simulated data bus access on target simplified.
ppisa [Mon, 24 Nov 2008 01:55:49 +0000 (02:55 +0100)]
The simulated data bus access on target simplified.

The functions can_read and can_write has same
parameters order as Linux readb/writeb functions.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
10 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>
10 years agoMerge branch 'master' into can-usb1
ppisa [Sun, 23 Nov 2008 22:52:27 +0000 (23:52 +0100)]
Merge branch 'master' into can-usb1

Conflicts:

lincan/src/Makefile.omk

10 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'

10 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>
10 years agoAdding usbcan file structure
ppisa [Sun, 23 Nov 2008 21:48:22 +0000 (21:48 +0000)]
Adding usbcan file structure

10 years agoUse common USB standard requests handling.
ppisa [Sun, 23 Nov 2008 19:05:41 +0000 (20:05 +0100)]
Use common USB standard requests handling.

The required adaptations in "usbcan" application
and specification of meaningful device identification
are included as well.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
10 years agoEmbedded code-base updated to actual version from uLan repository.
ppisa [Sun, 23 Nov 2008 13:11:32 +0000 (14:11 +0100)]
Embedded code-base updated to actual version from uLan repository.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
10 years agoreport detailed CAN messages processing only if CAN_DEBUG is set.
ppisa [Tue, 11 Nov 2008 12:23:51 +0000 (13:23 +0100)]
report detailed CAN messages processing only if CAN_DEBUG is set.

10 years agoMerge branch 'master' into can-usb1
ppisa [Tue, 11 Nov 2008 12:06:22 +0000 (13:06 +0100)]
Merge branch 'master' into can-usb1

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

10 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'

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

10 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'

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

10 years agoMerge branch 'master' into can-usb1
ppisa [Sun, 2 Nov 2008 11:59:16 +0000 (12:59 +0100)]
Merge branch 'master' into can-usb1

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

10 years agoLinCAN can_usb1 code updated for latest kernels.
ppisa [Sat, 1 Nov 2008 13:11:23 +0000 (14:11 +0100)]
LinCAN can_usb1 code updated for latest kernels.

The freezer functions have been moved to linux/freezer.h headerfile.
Corrected name and body of the usbcan_report_error function.
The err() function does not compile correctly so use CANMSG
used in most of other files instead.

Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
10 years agoMerge branch 'master' into can-usb1
ppisa [Sat, 1 Nov 2008 12:40:35 +0000 (13:40 +0100)]
Merge branch 'master' into can-usb1

The changes between LinCAN 0.3.3 version and current master head are propagated
into "can-usb1" branch.

Conflicts:

lincan/include/kthread.h
lincan/include/main.h
lincan/src/Makefile.omk
lincan/src/bfadcan.c
lincan/src/boardlist.c
lincan/src/finish.c
lincan/src/kthread.c
lincan/src/main.c
lincan/src/modparms.c
lincan/src/proc.c
lincan/src/setup.c

10 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'

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

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

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

10 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'

10 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'

10 years agochanged usb vendor and product id. CLT_COMM_CAN_usb_can1_kriz_bp
Jan Kriz [Wed, 8 Oct 2008 07:44:48 +0000 (09:44 +0200)]
changed usb vendor and product id.