Re: [PATCH RFC] hv_utils: implement Hyper-V PTP source

From: Vitaly Kuznetsov
Date: Fri Jan 13 2017 - 10:38:26 EST


Richard Cochran <richardcochran@xxxxxxxxx> writes:

>> +struct ptp_clock_info ptp_hyperv_info = {
>> + .name = "hyperv",
>> + .enable = hv_ptp_enable,
>> + .gettime64 = hv_ptp_gettime,
>
> The code in drivers/ptp/ptp_clock.c calls
>
> .adjfreq (or adjfine)
> .adjtime
> .settime64
>
> unconditionally, so you need to implement these returning EOPNOTSUPP.
> (See also Documentation/ptp/ptp.txt)
>

Sure, thanks, will do in non-RFC version.

--
Vitaly