[PATCH 1/5] ptp: Added a brand new class driver for ptp clocks.
Jacob Keller
jacob.keller at gmail.com
Fri Aug 27 12:17:10 EDT 2010
On Fri, Aug 27, 2010 at 8:06 AM, Alan Cox <alan at lxorguk.ukuu.org.uk> wrote
> > > system time bimble track a source makes sense just as with NTP but
> making
> > > it a new clock seems the wrong model extending a non-too-bright API
> when
> > > you can just put the time sources in a file tree.
> >
> > Don't get your meaning here, what did you mean by "file tree?"
>
> Something like
>
> /sys/class/timesource/<name>/...
>
> at which point we don't have to enumerate them all, add special system
> calls and then fret about the fact you can't access them from things like
> shell scripts.
>
I agree that this interface is the best way to be future proof. This appears
to allow for multiple "clocks" or nodes, and doesn't get messed up when we
add more than one NIC with separate clocks to a machine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100827/958e52ae/attachment-0001.html>
More information about the linux-arm-kernel
mailing list