Re: [Linuxptp-devel] [PATCH v2 04/14] phc2sys: store information about clocks being UTC or TAI

2014-05-23 Thread Miroslav Lichvar
On Wed, May 14, 2014 at 03:39:40PM +0200, Jiri Benc wrote: For now, only CLOCK_REALTIME can be UTC. This may stay this way forever but now we have a clean separation between codepaths where CLOCK_REALTIME is required and codepaths any UTC clock should take. The main motiviation behind this

Re: [Linuxptp-devel] [PATCH v2 11/14] phc2sys: autoconfiguration

2014-05-23 Thread Miroslav Lichvar
On Wed, May 14, 2014 at 03:39:47PM +0200, Jiri Benc wrote: Add automatic configuration option (-a). When using the manual configuration, I get segfault if I specify an invalid master or slave clock device. --- a/phc2sys.c +++ b/phc2sys.c @@ -1035,10 +1260,20 @@ int main(int argc, char

Re: [Linuxptp-devel] [PATCH] hwtstamp_ctl: add support for SIOCGHWTSTAMP

2014-05-23 Thread Richard Cochran
Nitpicking... On Wed, May 14, 2014 at 04:46:23PM -0700, Jacob Keller wrote: - while (EOF != (c = getopt(argc, argv, hi:r:t:v))) { + while (EOF != (c = getopt(argc, argv, hi:r:t:vg))) { Options in alphabetical order here ... switch (c) { case 'i':