On Wed, Aug 05, 2020 at 04:12:02PM -0700, Jacob Keller wrote:
> Here, we are making the implicit assumption that all ptp clock devices
> will always have /dev/ptpX format. I don't think anyone is crazy enough
> to rename these devices...

(Not yet, anyways  ;^)

> An alternative (requiring kernel implementation maybe?) would be to read
> the phc index from the kernel somehow. It doesn't look like this is
> exported anywhere else besides the name.

How about /sys/class/ptp/ptpX/clock_index ?

Is that something you would like to code up for the lkml?

Thanks,
Richard


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

Reply via email to