Re: [MeeGo-dev] [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588driver to 2.6.35
From: Richard Cochran
Date: Fri Aug 13 2010 - 04:07:30 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/