]>
rtime.felk.cvut.cz Git - lincan.git/log
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.
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.
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'
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'
Jan Kriz [Wed, 8 Oct 2008 07:44:48 +0000 (09:44 +0200)]
changed usb vendor and product id.
Jan Kriz [Mon, 4 Aug 2008 09:12:38 +0000 (11:12 +0200)]
Fixed errors when device gets disconnected during communication
Jan Kriz [Sun, 27 Jul 2008 16:30:39 +0000 (18:30 +0200)]
Usbcan thread split into smaller functions
Jan Kriz [Sun, 27 Jul 2008 15:47:46 +0000 (17:47 +0200)]
Fully working solution!
fixed simple getting the same device name when reconnected
fixed more usb urbs to send and receive messages
pending split kernel thread to smaller functions
pending commentaries
Jan Kriz [Sat, 26 Jul 2008 22:40:29 +0000 (00:40 +0200)]
Each (future) canchip associated to different usb endpoint, instead of whole device to just one endpoint.
Jan Kriz [Sat, 26 Jul 2008 01:16:43 +0000 (03:16 +0200)]
Embedded code and LinCAN driver now working
fixed kernel thread running in atomic context
fixed initialization of SJA chip in embedded code
fixed vendor functions
pending more usb urbs handling in LinCAN
Jan Kriz [Thu, 24 Jul 2008 10:06:24 +0000 (12:06 +0200)]
Minor variable type corrections (__u8 -> u8)
Jan Kriz [Thu, 24 Jul 2008 09:44:01 +0000 (11:44 +0200)]
Added check of usbcan device presence on registration
Jan Kriz [Wed, 23 Jul 2008 14:59:11 +0000 (16:59 +0200)]
Minor fixes
fixed usbcan board name
fixed memory allocation of usbcan structure
pending kernel thread running in atomic context
Jan Kriz [Tue, 22 Jul 2008 03:10:34 +0000 (05:10 +0200)]
Added vendor functions to embedded application, data transferred by usb channel serialized (endian conflicts solved)
Jan Kriz [Sat, 19 Jul 2008 03:59:24 +0000 (05:59 +0200)]
Minor repairs in sources
Jan Kriz [Sat, 19 Jul 2008 03:09:47 +0000 (05:09 +0200)]
Added support for usb bulk and vendor communication with device
ppisa [Thu, 17 Jul 2008 00:50:45 +0000 (00:50 +0000)]
Updates to compile with 2.6.26 Linux kernel.
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.
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'
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'
Jan Kriz [Tue, 15 Jul 2008 20:33:29 +0000 (22:33 +0200)]
minor changes in the code in order to be compilable
Jan Kriz [Tue, 15 Jul 2008 12:24:20 +0000 (14:24 +0200)]
Unoptimized usb extension, adds proc and devfs entry removing function, changed proc structures usage (proc.c)
Jan Kriz [Tue, 15 Jul 2008 10:57:13 +0000 (12:57 +0200)]
Changes in kernel version dependent function calls, basic sja1000p structure in usbcan (still no USB)
lincan-0.3.3/src/Makefile.omk
lincan-0.3.3/src/bfadcan.c
lincan-0.3.3/src/main.c
lincan-0.3.3/include/usbcan.h
lincan-0.3.3/src/usbcan.c
Jan Kriz [Tue, 15 Jul 2008 10:19:02 +0000 (12:19 +0200)]
Adding usbcan file structure
Jan Kriz [Wed, 9 Jul 2008 10:51:33 +0000 (12:51 +0200)]
hw side seems complete,
remains LinCAN side
Jan Kriz [Mon, 7 Jul 2008 21:46:02 +0000 (23:46 +0200)]
Device side of canqueue, compilation successful
working not tested/confirmed
Jan Kriz [Mon, 7 Jul 2008 21:11:32 +0000 (23:11 +0200)]
Adding device side of can queue
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.
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'
Jan Kriz [Sun, 6 Jul 2008 09:47:16 +0000 (11:47 +0200)]
sleeping commented out from can_quesysless
Jan Kriz [Sun, 6 Jul 2008 09:15:05 +0000 (11:15 +0200)]
can_quesysless.c remains to be fixed (tasklets and sleeping)
ppisa [Sun, 6 Jul 2008 09:10:07 +0000 (11:10 +0200)]
Added script to setup embedded-build/can-usb1 directory and starting build of CAN<->USB converter device.
Signed-off-by: ppisa <pisa@cmp.felk.cvut.cz>
Jan Kriz [Sun, 6 Jul 2008 08:59:31 +0000 (10:59 +0200)]
skeleton of ul_usb1-can module (doesn't work yet)
ppisa [Sat, 5 Jul 2008 01:50:51 +0000 (03:50 +0200)]
Included ARM LPC21xx related code from uLan project. The snapshot date is 2008-07-05
It can be obtained by command
cvs -z3 -d:pserver:anonymous@ulan.cvs.sourceforge.net:/cvsroot/ulan co -D 7/5/08 ulan/embedded
ppisa [Sat, 5 Jul 2008 01:43:06 +0000 (03:43 +0200)]
Included OMK rules for system-less embedded applications build.
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
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'
termitt [Fri, 25 Apr 2008 09:24:06 +0000 (09:24 +0000)]
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'
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.
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'
termitt [Sat, 29 Mar 2008 19:25:45 +0000 (19:25 +0000)]
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'
ppisa [Sun, 2 Mar 2008 00:26:22 +0000 (00:26 +0000)]
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'
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.
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'
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.
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.
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'
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'
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.
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'
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.
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'
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.
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
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'
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'
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.
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'
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.
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'
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.
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'
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.
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'
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+).
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'
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.
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'
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.
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'
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.
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'
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.
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'
ppisa [Thu, 13 Jul 2006 22:47:58 +0000 (22:47 +0000)]
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'
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".
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'
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) \
ppisa [Mon, 10 Jul 2006 22:27:00 +0000 (00:27 +0200)]
Merge: Do not use new module parameters declaration for old 2.6.x kernels.
Merge commit 'remotes/sf-ocera-lincan/master'
ppisa [Sun, 9 Jul 2006 23:30:05 +0000 (23:30 +0000)]
Use "lincan" as syslog messages identification instead of "can.o".
ppisa [Sun, 9 Jul 2006 21:30:00 +0000 (23:30 +0200)]
Merge: Use "lincan" as syslog messages identification instead of "can.o".
Merge commit 'remotes/sf-ocera-lincan/master'
ppisa [Fri, 30 Jun 2006 02:25:27 +0000 (02:25 +0000)]
Added support for generic IO range mapped SJA1000 chip ("genisa1000io").
ppisa [Fri, 30 Jun 2006 00:25:00 +0000 (02:25 +0200)]
Merge: Added support for generic IO range mapped SJA1000 chip ("genisa1000io").
Merge commit 'remotes/sf-ocera-lincan/master'
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".
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.
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.
ppisa [Sun, 4 Jun 2006 22:55:00 +0000 (00:55 +0200)]
Merge: Unified module parameters style to new one for 2.6.x kernels.
Merge commit 'remotes/sf-ocera-lincan/master'
ppisa [Sun, 4 Jun 2006 22:07:00 +0000 (00:07 +0200)]
Merge: The use of chip->chip_data is unnecessary, chip->hostdevice points to corresponding candevice_t.
Merge commit 'remotes/sf-ocera-lincan/master'
ppisa [Sun, 4 Jun 2006 21:59:00 +0000 (23:59 +0200)]
Merge: Update of NSI CAN PCI kindly provided by Eric Pennamen pennamen AT gmail dot com.
Merge commit 'remotes/sf-ocera-lincan/master'
ppisa [Sun, 28 May 2006 18:28:22 +0000 (18:28 +0000)]
Version and README updated to LinCAN version 3.3.
ppisa [Sun, 28 May 2006 16:28:00 +0000 (18:28 +0200)]
Merge: Version and README updated to LinCAN version 3.3.
Merge commit 'remotes/sf-ocera-lincan/master'
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.
ppisa [Sun, 21 May 2006 20:50:00 +0000 (22:50 +0200)]
Merge: Correction of false i82527 IRQ stuck problem reported by Terence Soh.
Merge commit 'remotes/sf-ocera-lincan/master'
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.
ppisa [Sun, 21 May 2006 18:27:00 +0000 (20:27 +0200)]
Merge: Eric Pennamen contributed support for NSI CAN PCI.
Merge commit 'remotes/sf-ocera-lincan/master'
ppisa [Wed, 3 May 2006 02:36:13 +0000 (02:36 +0000)]
The SJA1000 interrupt support modified to provide more robust error recovery handling.