Re: [Linuxptp-devel] [PATCH] linuxptp: add phc_ctl program to help debug PHC devices
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2014-06-25 03:55:16
|
On Tue, Jun 24, 2014 at 05:06:08PM -0700, Jacob Keller wrote: > This is an updated version of a script I wrote a couple years ago for > debugging the PHC when writing a new driver. I figured that it might be > handy for the LinuxPTP project to include, as it can give some insight > into the PHC directly. I have updated it to make use of the shared code > here, in order to reduce duplication. Hopefully this is of some use to > everyone. I think this would be useful. The Linux testptp program does some of the same things, but it is not very convenient to build. Can you write a man page, too? > diff --git a/phc_ctl.c b/phc_ctl.c > new file mode 100644 > index 000000000000..ff90ce4dbf1b > --- /dev/null > +++ b/phc_ctl.c > @@ -0,0 +1,536 @@ > +/* > + * @file phc2sys.c > + * @brief Utility program to synchronize two clocks via a PPS. > + * @note Copyright (C) 2012 Richard Cochran <ric...@gm...> You should probably change these lines to reflect the new program. Thanks, Richard |