All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: IreneV <boir1@yandex.ru>,
	socketcan-users@lists.berlios.de,
	"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Subject: Re: [Socketcan-users] 10 CAN interfaces on ECAN-527d
Date: Wed, 23 Nov 2011 19:56:00 +0100	[thread overview]
Message-ID: <4ECD41C0.6060706@hartkopp.net> (raw)
In-Reply-To: <4ECCDA12.3080908@pengutronix.de>

On 23.11.2011 12:33, Marc Kleine-Budde wrote:

> On 11/23/2011 11:01 AM, IreneV wrote:
>>
>> Hello,
>> I'm a newbie in CAN-interface and I have to write some programs for MicroPC
>> with ECAN-527D board under Ubuntu. After installing drivers from disk 10
>> CAN-interfaces appear in /dev/ and datasheet says that it must be so. Can
>> anyone tell me why there are 10 interface instead of 2 (the board is
>> dual-channel)?
> 
> I don't know the driver, and it's not using the official linux socketcan
> interface. The driver you're using is probably not so well written and
> supports up to 10 CAN interfaces this is why 10 interfaces pop up in /dev.
> 
> About three years ago Alexey Serov[1] (Cc'ed) was using the same board,
> but a socketcan driver. I don't know if the driver is mainline
> meanwhile. I suggest to use the socketcan driver and not the vendor
> specific one.
> 
> cheers, Marc
> 
> [1] http://old.nabble.com/problem-with-82527-PC-104-board-td19020937.html


I think the referenced i82527-iomem driver

http://svn.berlios.de/wsvn/socketcan/trunk/kernel/2.6/drivers/net/can/old/i82527/?#ac21816bb2f78cb7e7b7b1a75f2ecfed0

is *really* very old ... don't know, if it still works.

AFAIK Wolfgang created the CC770 driver which is the successor of the i82527:

http://svn.berlios.de/wsvn/socketcan/trunk/kernel/2.6/drivers/net/can/cc770/?#a12c70fb51cbd498d785ad6d2ee65ff67

This one is more up to date - but only available in the SVN and not in mainline.

Regards,
Oliver

           reply	other threads:[~2011-11-23 18:56 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <4ECCDA12.3080908@pengutronix.de>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECD41C0.6060706@hartkopp.net \
    --to=socketcan@hartkopp.net \
    --cc=boir1@yandex.ru \
    --cc=linux-can@vger.kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=socketcan-users@lists.berlios.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.