Linux CAN drivers development
 help / color / mirror / Atom feed
From: wg <wg@grandegger.com>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Sven Schuchmann <schuchmann@schleissheimer.de>,
	linux-can@vger.kernel.org
Subject: Re: flexcan: use hardware timestamp
Date: Mon, 29 Apr 2013 20:42:35 +0200	[thread overview]
Message-ID: <05b3a72eaa4694232ba34598c325a345@grandegger.com> (raw)
In-Reply-To: <517EB531.20803@pengutronix.de>

On Mon, 29 Apr 2013 20:00:17 +0200, Marc Kleine-Budde <mkl@pengutronix.de>

wrote:

> On 04/29/2013 07:58 PM, Marc Kleine-Budde wrote:

>> On 04/29/2013 07:33 PM, Sven Schuchmann wrote:

>>> Hello,

>>> I was wondering if the flexcan driver uses the hardware timestamp

>>> and by looking at the code under drivers/net/can/flexcan.c and did

>>> not find any access to those registers.

>>>  

>>> is there a special reason for this?

>> 

>> Yes, no one has implemented it yet :)

>> 

>>> If not, I would try implementing to use skb_shared_hwtstamps...

> 

> I mean, go ahead implement hardware timestamps, but I haven't checked if

> skb_shared_hwtstamps is the correct interface.



Looks good according to:



http://lxr.linux.no/#linux+v3.9/Documentation/networking/timestamping.txt

http://lxr.linux.no/#linux+v3.9/Documentation/networking/timestamping/timestamping.c



Wolfgang,

      reply	other threads:[~2013-04-29 18:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-29 17:33 flexcan: use hardware timestamp Sven Schuchmann
2013-04-29 17:58 ` Marc Kleine-Budde
2013-04-29 18:00   ` Marc Kleine-Budde
2013-04-29 18:42     ` wg [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=05b3a72eaa4694232ba34598c325a345@grandegger.com \
    --to=wg@grandegger.com \
    --cc=linux-can@vger.kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=schuchmann@schleissheimer.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox