This is the phc2sys part of the autoconfig patchset. It uses the event subscription mechanism implemented in ptp4l.
The patchset is prepared to handle the "emulated boundary clock" scenario, i.e. ptp4l working over multiple PHC's. I have old patches to do that (the dynamic port allocation patchset + patchset to support multiple PHC's) which I'll rebase on top of this and post after the patchset is accepted. Jiri Jiri Benc (14): phc2sys: generalize run_pmc phc2sys: split update_sync_offset phc2sys: split clock and node phc2sys: store information about clocks being UTC or TAI phc2sys: rearrange declarations phc2sys: open devices in clock_add phc2sys: track ports pmc_common: easy way to set port and broadcast target phc2sys: event subscription phc2sys: propagate received errors phc2sys: autoconfiguration phc2sys: autoconfigure realtime clock on demand only phc2sys: check clockIdentity phc2sys: man page update for -a and -r options phc2sys.8 | 115 +++++-- phc2sys.c | 1076 ++++++++++++++++++++++++++++++++++++++++++++-------------- pmc_common.c | 12 +- pmc_common.h | 2 + 4 files changed, 908 insertions(+), 297 deletions(-) -- 1.7.6.5 ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel