lkml.org 
[lkml]   [2010]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [MeeGo-dev] [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 driver to 2.6.35
On Wed, Aug 11, 2010 at 07:00:27PM -0700, Greg KH wrote:
> On Thu, Aug 12, 2010 at 09:13:24AM +0800, Wang, Qi wrote:
> > > Please express yours. Why do you feel you need these to be ioctls?
> > > What exactly are they doing? Where is the documentation for them all?
>
> You forgot to answer this.

I recently introduced a PTP clock infrastructure on the netdev
list. While the patch set is still under review, some necessary
background patches have already been accepted, and the response to the
API has been positive.

One major goal of the framework is to reduce the amount of driver code
need to support a new PTP clock. Another goal is remove the need for
MAC drivers to add a bunch of new, private ioctls just for PTP.

Please take a look at that patch set (latest was v4) and also submit
any PTP code on the netdev list for review.

In any case, a MAC driver that offers time stamping on network packets
must implement the SO_TIMESTAMPING API, which has been a part of Linux
since 2.6.30.

Richard


\
 
 \ /
  Last update: 2010-08-13 10:09    [W:0.129 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site