linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Any chance to get the Softing CAN-AC PCI card to run with socketcan?
@ 2012-08-09 14:40 Bernhard Thiele
  2012-08-09 18:09 ` Marc Kleine-Budde
  2012-08-09 21:28 ` [softing] CAN-AC PCI card Kurt Van Dijck
  0 siblings, 2 replies; 4+ messages in thread
From: Bernhard Thiele @ 2012-08-09 14:40 UTC (permalink / raw)
  To: linux-can

Hello,

I wonder if anyone could give me an answer whether there is way to get the Softing-AC PCI card running with the current code base.

The card has an SJA1000 chip that seems to be supported by linux-can for some devices. However, for Softing devices I've only found support for the Softing PCMCIA cards in the source tree.

Is there are a way to get a Softing-AC PCI card running with linux-can?

Best regards,

Bernhard


P.S.: I hope this post is not off-topic for this list that seems mainly to be used by developers. If there is an active forum or mailing list for users, I'll gladly take any pointers to that address and repost there.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Any chance to get the Softing CAN-AC PCI card to run with socketcan?
  2012-08-09 14:40 Any chance to get the Softing CAN-AC PCI card to run with socketcan? Bernhard Thiele
@ 2012-08-09 18:09 ` Marc Kleine-Budde
  2012-08-09 21:28 ` [softing] CAN-AC PCI card Kurt Van Dijck
  1 sibling, 0 replies; 4+ messages in thread
From: Marc Kleine-Budde @ 2012-08-09 18:09 UTC (permalink / raw)
  To: Bernhard Thiele; +Cc: linux-can

[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]

Hello,

On 08/09/2012 04:40 PM, Bernhard Thiele wrote:
> I wonder if anyone could give me an answer whether there is way to
> get the Softing-AC PCI card running with the current code base.
> 
> The card has an SJA1000 chip that seems to be supported by linux-can
> for some devices. However, for Softing devices I've only found
> support for the Softing PCMCIA cards in the source tree.

Have you tried to load the generic plx_pci driver?

> Is there are a way to get a Softing-AC PCI card running with linux-can?

If softing has attached the sja1000 with a plx pci bridge, it's probably
not to complicated to add support to the existing plx_pci driver. A
non-socketcan softing driver may be of help here.

> P.S.: I hope this post is not off-topic for this list that seems
> mainly to be used by developers. If there is an active forum or
> mailing list for users, I'll gladly take any pointers to that address
> and repost there.

This is the correct mailing list.

Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [softing] CAN-AC PCI card
  2012-08-09 14:40 Any chance to get the Softing CAN-AC PCI card to run with socketcan? Bernhard Thiele
  2012-08-09 18:09 ` Marc Kleine-Budde
@ 2012-08-09 21:28 ` Kurt Van Dijck
  2012-08-10 16:35   ` Bernhard Thiele
  1 sibling, 1 reply; 4+ messages in thread
From: Kurt Van Dijck @ 2012-08-09 21:28 UTC (permalink / raw)
  To: Bernhard Thiele; +Cc: linux-can

On Thu, Aug 09, 2012 at 04:40:28PM +0200, Bernhard Thiele wrote:
> Hello,
> 
> I wonder if anyone could give me an answer
> whether there is way to get the Softing-AC PCI card
> running with the current code base.

without modification, no.
> 
> The card has an SJA1000 chip that seems to be
> supported by linux-can for some devices.
> However, for Softing devices I've only found support
> for the Softing PCMCIA cards in the source tree.

The softing device is an 'intelligent' CAN device.
They use a CAN chip (mostly SJA1000) connected with a device CPU.
The host CPU must communicate with the device CPU
through dual port RAM.
> 
> Is there are a way to get a Softing-AC PCI card running with linux-can?

The dual port RAM interface is equal for PCI & PCMCIA devices.
The PCMCIA driver (softing_cs.ko) only provides a platform device with the dual port RAM
interface. And the real driver (softing.ko) uses this.
I designed the PCMCIA driver this way to allow for share code
with PCI cards. But I never got to writing the PCI driver
itself since I don't need it.

Adding the PCI driver should not be too hard.
This should be possible without touching existing code.
I may able to assist you with this.
> 
> Best regards,
> 
> Bernhard

Kind regards,
Kurt

-- 
Kurt Van Dijck
GRAMMER EiA ELECTRONICS
http://www.eia.be
kurt.van.dijck@eia.be
+32-38708534

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [softing] CAN-AC PCI card
  2012-08-09 21:28 ` [softing] CAN-AC PCI card Kurt Van Dijck
@ 2012-08-10 16:35   ` Bernhard Thiele
  0 siblings, 0 replies; 4+ messages in thread
From: Bernhard Thiele @ 2012-08-10 16:35 UTC (permalink / raw)
  To: linux-can

Hello Kurt and Marc,

Thanks for the quick reply.

On 08/09/2012 11:28 PM, Kurt Van Dijck wrote:
> [...]
> The dual port RAM interface is equal for PCI & PCMCIA devices.
> The PCMCIA driver (softing_cs.ko) only provides a platform device with the dual port RAM
> interface. And the real driver (softing.ko) uses this.
> I designed the PCMCIA driver this way to allow for share code
> with PCI cards. But I never got to writing the PCI driver
> itself since I don't need it.
>
> Adding the PCI driver should not be too hard.
> This should be possible without touching existing code.
> I may able to assist you with this.
I'm not a kernel hacker. But it would be fun to try. I will try to learn 
a bit about kernel module programming. If I see any chance to succeed, I 
will gladly come back on your offer for some assistance!
>> Best regards,
>>
>> Bernhard
> Kind regards,
> Kurt
>
/Bernhard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-08-10 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 14:40 Any chance to get the Softing CAN-AC PCI card to run with socketcan? Bernhard Thiele
2012-08-09 18:09 ` Marc Kleine-Budde
2012-08-09 21:28 ` [softing] CAN-AC PCI card Kurt Van Dijck
2012-08-10 16:35   ` Bernhard Thiele

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).