lincan.git
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.

10 years agoFixed errors when device gets disconnected during communication
Jan Kriz [Mon, 4 Aug 2008 09:12:38 +0000 (11:12 +0200)]
Fixed errors when device gets disconnected during communication

10 years agoUsbcan thread split into smaller functions
Jan Kriz [Sun, 27 Jul 2008 16:30:39 +0000 (18:30 +0200)]
Usbcan thread split into smaller functions

10 years agoFully working solution!
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

10 years agoEach (future) canchip associated to different usb endpoint, instead of whole device...
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.

10 years agoEmbedded code and LinCAN driver now working
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

10 years agoMinor variable type corrections (__u8 -> u8)
Jan Kriz [Thu, 24 Jul 2008 10:06:24 +0000 (12:06 +0200)]
Minor variable type corrections (__u8 -> u8)

10 years agoAdded check of usbcan device presence on registration
Jan Kriz [Thu, 24 Jul 2008 09:44:01 +0000 (11:44 +0200)]
Added check of usbcan device presence on registration

10 years agoMinor fixes
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

10 years agoAdded vendor functions to embedded application, data transferred by usb channel seria...
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)

10 years agoMinor repairs in sources
Jan Kriz [Sat, 19 Jul 2008 03:59:24 +0000 (05:59 +0200)]
Minor repairs in sources

10 years agoAdded support for usb bulk and vendor communication with device
Jan Kriz [Sat, 19 Jul 2008 03:09:47 +0000 (05:09 +0200)]
Added support for usb bulk and vendor communication with device

10 years agominor changes in the code in order to be compilable
Jan Kriz [Tue, 15 Jul 2008 20:33:29 +0000 (22:33 +0200)]
minor changes in the code in order to be compilable

10 years agoUnoptimized usb extension, adds proc and devfs entry removing function, changed proc...
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)

10 years agoChanges in kernel version dependent function calls, basic sja1000p structure in usbca...
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

10 years agoAdding usbcan file structure
Jan Kriz [Tue, 15 Jul 2008 10:19:02 +0000 (12:19 +0200)]
Adding usbcan file structure

10 years agohw side seems complete,
Jan Kriz [Wed, 9 Jul 2008 10:51:33 +0000 (12:51 +0200)]
hw side seems complete,

remains LinCAN side

10 years agoDevice side of canqueue, compilation successful
Jan Kriz [Mon, 7 Jul 2008 21:46:02 +0000 (23:46 +0200)]
Device side of canqueue, compilation successful

working not tested/confirmed

10 years agoAdding device side of can queue
Jan Kriz [Mon, 7 Jul 2008 21:11:32 +0000 (23:11 +0200)]
Adding device side of can queue

10 years agosleeping commented out from can_quesysless
Jan Kriz [Sun, 6 Jul 2008 09:47:16 +0000 (11:47 +0200)]
sleeping commented out from can_quesysless

10 years agocan_quesysless.c remains to be fixed (tasklets and sleeping)
Jan Kriz [Sun, 6 Jul 2008 09:15:05 +0000 (11:15 +0200)]
can_quesysless.c remains to be fixed (tasklets and sleeping)

10 years agoAdded script to setup embedded-build/can-usb1 directory and starting build of CAN...
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>
10 years agoskeleton of ul_usb1-can module (doesn't work yet)
Jan Kriz [Sun, 6 Jul 2008 08:59:31 +0000 (10:59 +0200)]
skeleton of ul_usb1-can module (doesn't work yet)

10 years agoIncluded ARM LPC21xx related code from uLan project. The snapshot date is 2008-07-05
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

10 years agoIncluded OMK rules for system-less embedded applications build.
ppisa [Sat, 5 Jul 2008 01:43:06 +0000 (03:43 +0200)]
Included OMK rules for system-less embedded applications build.

12 years agoMerge: 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'

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

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

12 years agoMerge: Correction of false i82527 IRQ stuck problem reported by Terence Soh.
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'

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

12 years agoMerge: Eric Pennamen contributed support for NSI CAN PCI.
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'

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

12 years agoMerge: The SJA1000 interrupt support modified to provide more robust error recovery...
ppisa [Wed, 3 May 2006 00:36:00 +0000 (02:36 +0200)]
Merge: The SJA1000 interrupt support modified to provide more robust error recovery handling.

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

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

12 years agoMerge: New style module parameters specification added for 2.6.17-rc1+ kernels.
ppisa [Sat, 29 Apr 2006 10:47:00 +0000 (12:47 +0200)]
Merge: New style module parameters specification added for 2.6.17-rc1+ kernels.

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

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

12 years agoMerge: Added "chip_info" entry to the /proc/can/channelX, contributed by Sergei Sharonov.
ppisa [Sun, 26 Mar 2006 21:45:00 +0000 (23:45 +0200)]
Merge: Added "chip_info" entry to the /proc/can/channelX, contributed by Sergei Sharonov.

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

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

12 years agoMerge: Correction of message data entry in rxtx and send utilities.
ppisa [Tue, 28 Feb 2006 12:08:00 +0000 (13:08 +0100)]
Merge: Correction of message data entry in rxtx and send utilities.

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

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

13 years agoMerge: Corrected incorrect check of class_device_create() return code validity.
ppisa [Sat, 18 Feb 2006 00:29:00 +0000 (01:29 +0100)]
Merge: Corrected incorrect check of class_device_create() return code validity.

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

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

13 years agoMerge: Documentation update to prepare for LinCAN-0.3.2 release.
ppisa [Fri, 10 Feb 2006 15:30:00 +0000 (16:30 +0100)]
Merge: Documentation update to prepare for LinCAN-0.3.2 release.

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

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

13 years agoMerge: Corrected conditional for "virtual" board inclusion in the board list.
ppisa [Thu, 9 Feb 2006 02:23:00 +0000 (03:23 +0100)]
Merge: Corrected conditional for "virtual" board inclusion in the board list.

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

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

13 years agoMerge: Correction of the abnormal looping in SJA1000P ISR reported by Tomas Kupilik.
ppisa [Thu, 19 Jan 2006 17:42:00 +0000 (18:42 +0100)]
Merge: Correction of the abnormal looping in SJA1000P ISR reported by Tomas Kupilik.

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

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

13 years agoMerge: Corrected bad device_lock references by value found in IXXAT iPC-I 165 code
ppisa [Thu, 19 Jan 2006 11:25:00 +0000 (12:25 +0100)]
Merge: Corrected bad device_lock references by value found in IXXAT iPC-I 165 code

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

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

13 years agoMerge: Deep rewrite of TSCAN1 and TS7KV boards support.
ppisa [Wed, 18 Jan 2006 00:20:00 +0000 (01:20 +0100)]
Merge: Deep rewrite of TSCAN1 and TS7KV boards support.

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

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

13 years agoMerge: Some minor updates to adapt sources for changes introduced in 2.6.15 kernel...
ppisa [Sat, 7 Jan 2006 21:09:00 +0000 (22:09 +0100)]
Merge: Some minor updates to adapt sources for changes introduced in 2.6.15 kernel version.

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

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

13 years agoMerge: Added more detailed SJA1000 error reporting and primitive report rate limiting.
ppisa [Wed, 28 Dec 2005 15:04:00 +0000 (16:04 +0100)]
Merge: Added more detailed SJA1000 error reporting and primitive report rate limiting.

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

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

13 years agoMerge: Ronald Gomes from Technologic Systemscontributed support for TS-CAN1 and TS...
ppisa [Thu, 17 Nov 2005 14:36:00 +0000 (15:36 +0100)]
Merge: Ronald Gomes from Technologic Systemscontributed support for TS-CAN1 and TS-7KV cards.

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

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

13 years agoMerge: LinCAN driver updated to work on Real-Time Preemption enabled kernel.
ppisa [Sat, 5 Nov 2005 23:20:00 +0000 (00:20 +0100)]
Merge: LinCAN driver updated to work on Real-Time Preemption enabled kernel.

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

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

13 years agoMerge: The i82527 bus status status change interrupt is now reported and cleared.
ppisa [Fri, 4 Nov 2005 15:25:00 +0000 (16:25 +0100)]
Merge: The i82527 bus status status change interrupt is now reported and cleared.

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

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

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

13 years agoMerge: The system dependent part moved from setup.c into separate file.
ppisa [Thu, 3 Nov 2005 01:45:00 +0000 (02:45 +0100)]
Merge: The system dependent part moved from setup.c into separate file.

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

13 years agoMerge: Introduced basic support for registration of "can" class and call devices,
ppisa [Thu, 3 Nov 2005 01:43:00 +0000 (02:43 +0100)]
Merge: Introduced basic support for registration of "can" class and call devices,

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

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

13 years agoMerge: Included support for PiMX1 board with SJA1000 on MX_DIS1 expansion board.
ppisa [Tue, 25 Oct 2005 15:59:00 +0000 (17:59 +0200)]
Merge: Included support for PiMX1 board with SJA1000 on MX_DIS1 expansion board.

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

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

13 years agoMerge: SJA1000 driver interrupts processing modified to not rely on interrupt registe...
ppisa [Tue, 11 Oct 2005 13:41:00 +0000 (15:41 +0200)]
Merge: SJA1000 driver interrupts processing modified to not rely on interrupt register for Rx and Tx.

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

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

13 years agoMerge: Fixed bug message objects indexing introduced by previous driver changes.
ppisa [Tue, 30 Aug 2005 20:42:00 +0000 (22:42 +0200)]
Merge: Fixed bug message objects indexing introduced by previous driver changes.

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

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

13 years agoMerge: SJA1000 clockout divisors listed explicitly.
ppisa [Fri, 22 Jul 2005 11:05:00 +0000 (13:05 +0200)]
Merge: SJA1000 clockout divisors listed explicitly.

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

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

13 years agoMerge: Updated for 0.3.1 release
ppisa [Wed, 13 Jul 2005 19:44:00 +0000 (21:44 +0200)]
Merge: Updated for 0.3.1 release

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

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

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

13 years agoMerge: Fixed typo
ppisa [Wed, 13 Jul 2005 12:11:00 +0000 (14:11 +0200)]
Merge: Fixed typo

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

13 years agoMerge: ./switch2std replaced by ./switch-omk2std
ppisa [Wed, 13 Jul 2005 12:09:00 +0000 (14:09 +0200)]
Merge: ./switch2std replaced by ./switch-omk2std

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

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

13 years agoMerge: Added missing chip attach and release to the virtual chip driver.
ppisa [Fri, 1 Jul 2005 15:25:00 +0000 (17:25 +0200)]
Merge: Added missing chip attach and release to the virtual chip driver.

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

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

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

13 years agoMerge: Added ipci165_attach_to_chip and ipci165_release_chip, which are mandatory
ppisa [Wed, 15 Jun 2005 11:45:00 +0000 (13:45 +0200)]
Merge: Added ipci165_attach_to_chip and ipci165_release_chip, which are mandatory

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

13 years agoMerge: Committed IXXAT iPC-I 165 (PCI) implemented by Radim Kalas from Unicontrols.cz.
ppisa [Wed, 15 Jun 2005 10:02:00 +0000 (12:02 +0200)]
Merge: Committed IXXAT iPC-I 165 (PCI) implemented by Radim Kalas from Unicontrols.cz.

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

13 years agoMore updates in the C_CAN support, but locking not reworked still.
ppisa [Tue, 7 Jun 2005 01:43:14 +0000 (01:43 +0000)]
More updates in the C_CAN support, but locking not reworked still.
The filters setup should work this time. But separation of CCIF1
only from IRQ and CCIF2 from other places and locking not redone yet.

13 years agoMerge: More updates in the C_CAN support, but locking not reworked still.
ppisa [Mon, 6 Jun 2005 23:43:00 +0000 (01:43 +0200)]
Merge: More updates in the C_CAN support, but locking not reworked still.

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

13 years agons_dev_can.c added for FPGA version of C_CAN ARM device
ppisa [Thu, 2 Jun 2005 13:14:46 +0000 (13:14 +0000)]
ns_dev_can.c added for FPGA version of C_CAN ARM device
Contribution of Neil Bryan from embebidos.com

13 years agoC_CAN sources re-indented
ppisa [Thu, 2 Jun 2005 13:08:34 +0000 (13:08 +0000)]
C_CAN sources re-indented
Linux indentation style used
#!/bin/sh
indent -kr -i8 -ts8 -sob -l80 -ss -ncs -cp6  "$@"

13 years agoC_CAN changes
ppisa [Thu, 2 Jun 2005 12:58:57 +0000 (12:58 +0000)]
C_CAN changes
removed spin_unlock(&c_can_sprlock), because it is not used
in c_can_irq_read_handler(). Modified c_can_pre_read_config().

13 years agoMerge: ns_dev_can.c added for FPGA version of C_CAN ARM device
ppisa [Thu, 2 Jun 2005 11:14:00 +0000 (13:14 +0200)]
Merge: ns_dev_can.c added for FPGA version of C_CAN ARM device

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

13 years agoMerge: C_CAN sources re-indented
ppisa [Thu, 2 Jun 2005 11:08:00 +0000 (13:08 +0200)]
Merge: C_CAN sources re-indented

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

13 years agoMerge: C_CAN changes
ppisa [Thu, 2 Jun 2005 10:58:00 +0000 (12:58 +0200)]
Merge: C_CAN changes

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

13 years agoAdded attach_to_chip() and release_chip() functions for each chip.
ppisa [Thu, 2 Jun 2005 04:06:13 +0000 (04:06 +0000)]
Added  attach_to_chip() and release_chip() functions for each chip.
This enables correct stopping and IRQ disable before driver unload.
This is required to get rid of problematic handling of shut down
for C_CAN ARM in ns_dev_release_io().

13 years agoMerge: Added attach_to_chip() and release_chip() functions for each chip.
ppisa [Thu, 2 Jun 2005 02:06:00 +0000 (04:06 +0200)]
Merge: Added attach_to_chip() and release_chip() functions for each chip.

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

13 years agoEnsure free of checked alloc memory in the case that module_init fails
ppisa [Thu, 2 Jun 2005 00:19:50 +0000 (00:19 +0000)]
Ensure free of checked alloc memory in the case that module_init fails
and unused Unican function deleted.

13 years agoMerge: Ensure free of checked alloc memory in the case that module_init fails
ppisa [Wed, 1 Jun 2005 22:19:00 +0000 (00:19 +0200)]
Merge: Ensure free of checked alloc memory in the case that module_init fails

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

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

13 years agoMerge: Some more C_CAN changes
ppisa [Wed, 1 Jun 2005 16:22:00 +0000 (18:22 +0200)]
Merge: Some more C_CAN changes

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

13 years agoThe MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip.
ppisa [Wed, 1 Jun 2005 15:46:04 +0000 (15:46 +0000)]
The MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip.
This wastes 68-124 bytes for other chips. Some better solution should be
considered.