From: Wolfgang Grandegger <wg@grandegger.com>
To: "Heinz-Jürgen Oertel" <oe@port.de>
Cc: linux-can@vger.kernel.org
Subject: Re: SocketCAN version numbering
Date: Fri, 27 Apr 2012 11:46:50 +0200 [thread overview]
Message-ID: <4F9A6B0A.4090504@grandegger.com> (raw)
In-Reply-To: <201204271125.43138.oe@port.de>
Hello Heinz,
On 04/27/2012 11:25 AM, Heinz-Jürgen Oertel wrote:
>
> Hello,
>
> What is the suggested way to get the SocketCAN version number?
> On my two systems, according to Documentation/networking/can.txt, I always get
>
> $ cat /proc/net/can/version
> rev 20090105 abi 8
This is for the CAN protocol implementation but I'm not sure if it's
well maintained...
> on different systems.
> But one has support for error counters the other not with the same interface board
... and for CAN drives we do not maintain extra version number. Usually,
the kernel version is used to understand if a feature exists or is
supported. For the bus error counter and such features, capability flags
would be a nice to have, though Anyway, what would you like to use the
berr_counters for? If they are not available, a netlink request will
return an error.
Wolfgang.
prev parent reply other threads:[~2012-04-27 9:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-27 9:25 SocketCAN version numbering Heinz-Jürgen Oertel
2012-04-27 9:43 ` Oliver Hartkopp
2012-04-27 9:46 ` Wolfgang Grandegger [this message]
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=4F9A6B0A.4090504@grandegger.com \
--to=wg@grandegger.com \
--cc=linux-can@vger.kernel.org \
--cc=oe@port.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.