Re: [PATCH v3 3/4] Add support for driver cross-timestamp to PTP_SYS_OFFSET ioctl
From: Richard Cochran
Date: Tue Aug 25 2015 - 03:31:20 EST
On Mon, Aug 24, 2015 at 08:16:51PM +0000, Hall, Christopher S wrote:
>
> This means: remove code changes from the PTP_SYS_OFFSET ioctl and call getsynctime64() from a new ioctl PTP_SYS_OFFSET_PRECISE. Right?
Yes.
> And use the same type (struct ptp_sys_offset) for the new ioctl? Or should a new simplified struct be used? Such as:
>
> struct precise_ptp_sys_offset {
> struct ptp_clock_time device;
> struct ptp_clock_time system;
> };
I don't have a strong preference either way. I would not mind reusing
the existing struct.
> Does it make sense to keep the "cross-timestamp" capabilities flag as-is?
Yes, indeed.
Thanks,
Richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/