On Thu, Sep 26, 2019 at 10:47:21AM -0700, Jacob Keller wrote: > @@ -320,12 +320,16 @@ static int do_caps(clockid_t clkid, int cmdc, char > *cmdv[]) > " %d programable alarms\n" > " %d external time stamp channels\n" > " %d programmable periodic signals\n" > - " %s pulse per second support", > + " %d configurable input/output pins\n" > + " %s pulse per second support\n" > + " %s cross timestamping support\n", > caps.max_adj, > caps.n_alarm, > caps.n_ext_ts, > caps.n_per_out, > - caps.pps ? "has" : "doesn't have"); > + caps.n_pins, > + caps.pps ? "has" : "doesn't have", > + caps.cross_timestamping ? "has" : "doesn't have");
On an older kernel: Building m68k /home/richard/git/linuxptp/phc_ctl.c: In function 'do_caps': /home/richard/git/linuxptp/phc_ctl.c:318:2: error: 'struct ptp_clock_caps' has no member named 'cross_timestamping' make: *** [<builtin>: phc_ctl.o] Error 1 Probably the easiest way to handle this is to cast to a local structure definition that is up to date... Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel