Thread (56 messages) 56 messages, 12 authors, 2010-09-22

Re: [PATCH 1/5] ptp: Added a brand new class driver for ptp clocks.

From: Jacob Keller <hidden>
Date: 2010-08-27 16:17:10
Also in: linux-arm-kernel, linux-devicetree, linuxppc-dev

On Fri, Aug 27, 2010 at 8:06 AM, Alan Cox [off-list ref] wrote
quoted
quoted
system time bimble track a source makes sense just as with NTP but
making
quoted
quoted
it a new clock seems the wrong model extending a non-too-bright API
when
quoted
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help