Re: [Linuxptp-devel] [PATCH v3] linuxptp: add phc_ctl program to help debug PHC devices

2014-07-09 Thread Keller, Jacob E
On Wed, 2014-07-09 at 22:27 +0200, Richard Cochran wrote: > On Wed, Jul 09, 2014 at 06:54:44PM +, Keller, Jacob E wrote: > > On Wed, 2014-07-09 at 06:51 +0200, Richard Cochran wrote: > > > The man page has an issue... > > > > > > On Mon, Jun 30, 2014 at 02:19:34PM -0700, Jacob Keller wrote: >

Re: [Linuxptp-devel] [PATCH v3] linuxptp: add phc_ctl program to help debug PHC devices

2014-07-09 Thread Richard Cochran
On Wed, Jul 09, 2014 at 06:54:44PM +, Keller, Jacob E wrote: > On Wed, 2014-07-09 at 06:51 +0200, Richard Cochran wrote: > > The man page has an issue... > > > > On Mon, Jun 30, 2014 at 02:19:34PM -0700, Jacob Keller wrote: > > > > > +.TP > > > +.BI cmp > > > +Compare the PHC clock device to

Re: [Linuxptp-devel] [PATCH 3/5] Move signal handling to util.c.

2014-07-09 Thread Keller, Jacob E
On Wed, 2014-07-09 at 10:21 +0200, Miroslav Lichvar wrote: > On Tue, Jul 08, 2014 at 05:18:29PM +, Keller, Jacob E wrote: > > On Tue, 2014-07-08 at 16:14 +0200, Miroslav Lichvar wrote: > > > @@ -404,7 +385,7 @@ int main(int argc, char *argv[]) > > > return -1; > > > } > > > > > >

Re: [Linuxptp-devel] [PATCH v3] linuxptp: add phc_ctl program to help debug PHC devices

2014-07-09 Thread Keller, Jacob E
On Wed, 2014-07-09 at 06:51 +0200, Richard Cochran wrote: > The man page has an issue... > > On Mon, Jun 30, 2014 at 02:19:34PM -0700, Jacob Keller wrote: > > > +.TP > > +.BI cmp > > +Compare the PHC clock device to CLOCK_REALTIME, using the best method > > available. > > +.TP caps > > +Display

[Linuxptp-devel] [PATCH] Add option to set NTP SHM segment number.

2014-07-09 Thread Miroslav Lichvar
Instead of setting it to the PTP domain number, add a new option to ptp4l and phc2sys to set it as needed. The default value is 0. This allows multiple ptp4l/phc2sys instances running in the same domain. Signed-off-by: Miroslav Lichvar --- config.c| 7 ++- default.cfg | 1 + gPTP.cfg

Re: [Linuxptp-devel] [PATCH 3/5] Move signal handling to util.c.

2014-07-09 Thread Miroslav Lichvar
On Tue, Jul 08, 2014 at 05:18:29PM +, Keller, Jacob E wrote: > On Tue, 2014-07-08 at 16:14 +0200, Miroslav Lichvar wrote: > > @@ -404,7 +385,7 @@ int main(int argc, char *argv[]) > > return -1; > > } > > > > - while (running) { > > + while (is_running()) { > > Is there a