In the effort to reshape the PMC agent logic into a coherent form, it
is necessary to understand how this code is used by phc2sys.

However, that program is a tangle of at least four different program
flows, namely the automatic mode, the manual mode (with and without
waiting for ptp4l), and the kernel-pps mode (with/without waiting).

This series begins the journey of untangling phc2sys by applying a set
of smaller clean ups.

After that, the main phc2sys program flows will be re-factored into a
more human readable form.

And after that, we will be able to finish molding the PMC agent into a
proper module.

Richard Cochran (6):
  phc2sys: Don't duplicate the command line arguments.
  phc2sys: Rename PMC agent pointer from node to agent.
  phc2sys: Replace hard coded tests with a readable helper function.
  phc2sys: Validate the PPS mode right away.
  phc2sys: Expand the validation of the PPS mode.
  phc2sys: Replace magical test with a proper test.

 phc2sys.c | 95 ++++++++++++++++++++++++++++++-------------------------
 1 file changed, 52 insertions(+), 43 deletions(-)

-- 
2.20.1



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to