lincan.git
3 years agoUse inode argument to obtain minor number even in extended close function. can-usb1
Pavel Pisa [Sat, 25 Jul 2015 21:27:01 +0000 (23:27 +0200)]
Use inode argument to obtain minor number even in extended close function.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
3 years agoMerge branch 'master' into can-usb1
Pavel Pisa [Sat, 25 Jul 2015 21:14:55 +0000 (23:14 +0200)]
Merge branch 'master' into can-usb1

3 years agoUpdate remote request code prototype to compile with latest kernels.
Pavel Pisa [Sat, 25 Jul 2015 20:54:51 +0000 (22:54 +0200)]
Update remote request code prototype to compile with latest kernels.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
3 years agoUse inode open argument to obtain minor number.
Pavel Pisa [Sat, 25 Jul 2015 20:49:44 +0000 (22:49 +0200)]
Use inode open argument to obtain minor number.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
3 years agoUpdate OMK rules.
Pavel Pisa [Sat, 25 Jul 2015 17:54:36 +0000 (19:54 +0200)]
Update OMK rules.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
4 years agoMerge master into can-usb1 branch to include proc update for 3.12+ kernels.
Pavel Pisa [Wed, 14 May 2014 13:26:39 +0000 (15:26 +0200)]
Merge master into can-usb1 branch to include proc update for 3.12+ kernels.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
5 years agoMinor driver readme install instructions update for recent GNU/Linux distributions.
Pavel Pisa [Mon, 2 Dec 2013 23:43:36 +0000 (00:43 +0100)]
Minor driver readme install instructions update for recent GNU/Linux distributions.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
5 years agoLinCAN /proc file-system support updated to be compatible even with 3.12+ kernels.
Pavel Pisa [Sat, 30 Nov 2013 15:40:17 +0000 (16:40 +0100)]
LinCAN /proc file-system support updated to be compatible even with 3.12+ kernels.

Code variant for older 2.6.x and 3.x Linux kernels tested on 3.2 version.
Support for 2.2 and 2.4 kernels updated but not tested. It would be
most probably removed after next release.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
5 years agoUpdate /proc/can implementation to compile with 3.10+ kernels with dummy chip_info...
Pavel Pisa [Sat, 30 Nov 2013 12:16:50 +0000 (13:16 +0100)]
Update /proc/can implementation to compile with 3.10+ kernels with dummy chip_info for now.

/proc/can/channelX/chip_info support needs to be updated to use seq_file.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
5 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>
5 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>
5 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>
6 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>
6 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>
6 years agoBKL use and local kthread implementation is obsolete for 2.6.17+ kernel.
Pavel Pisa [Sun, 24 Jun 2012 19:02:44 +0000 (21:02 +0200)]
BKL use and local kthread implementation is obsolete for 2.6.17+ kernel.

Do not try to build obsolete file and use obsolete features.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agoembedded: reintroduce missing emulated bus initialization for UL_USB1 board. lpc17xx
Pavel Pisa [Tue, 5 Jun 2012 12:07:36 +0000 (14:07 +0200)]
embedded: reintroduce missing emulated bus initialization for UL_USB1 board.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agoembedded ul_usb1: provide support for external bittiming parameters calculation.
Pavel Pisa [Fri, 25 May 2012 17:11:36 +0000 (19:11 +0200)]
embedded ul_usb1: provide support for external bittiming parameters calculation.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agoembedded: use standard CONFIG_OC_LINCAN_CARD_xxx option to distinguish required hardware.
Pavel Pisa [Fri, 25 May 2012 16:35:53 +0000 (18:35 +0200)]
embedded: use standard CONFIG_OC_LINCAN_CARD_xxx option to distinguish required hardware.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agoembedded ul_usb1: adapt this board support to the lpc17xx changes.
Pavel Pisa [Fri, 25 May 2012 16:24:51 +0000 (18:24 +0200)]
embedded ul_usb1: adapt this board support to the lpc17xx changes.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agolpc17xx embedded: new function for obtaining chip bittiming constant parameters.
Pavel Pisa [Fri, 25 May 2012 16:10:27 +0000 (18:10 +0200)]
lpc17xx embedded: new function for obtaining chip bittiming constant parameters.

This allows to use same CAN-USB converter code for other chips as well.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agoSome bugs related with transmission/reception fixed.
Jiri Vanek [Sat, 5 May 2012 10:22:38 +0000 (12:22 +0200)]
Some bugs related with transmission/reception fixed.

6 years agoTransmitting the bit timing constants to a driver has been done.
Jiri Vanek [Sat, 14 Apr 2012 08:57:43 +0000 (10:57 +0200)]
Transmitting the bit timing constants to a driver has been done.

6 years agoSetting of initial bit timing has been done.
Jiri Vanek [Thu, 12 Apr 2012 10:31:43 +0000 (12:31 +0200)]
Setting of initial bit timing has been done.

6 years agoSome bugs related with bit timing fixed.
Jiri Vanek [Mon, 9 Apr 2012 15:17:30 +0000 (17:17 +0200)]
Some bugs related with bit timing fixed.

6 years agoAdded functionality for bittiming setting by the OS driver
Jiri Vanek [Sun, 8 Apr 2012 12:03:20 +0000 (14:03 +0200)]
Added functionality for bittiming setting by the OS driver

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

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

7 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

7 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>
8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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

9 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>
9 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

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

9 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

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

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

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

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

9 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

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

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

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

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

9 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

9 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>