[ntp:hackers] NEMA refclock, PPS and Solaris.
John Hay
jhay at meraka.org.za
Sat May 2 10:55:33 UTC 2009
On Sat, May 02, 2009 at 09:05:27AM +0000, Dave Hart wrote:
> http://bugs.ntp.org/1173
>
> I filed a bug on the NMEA PPSAPI version deficiency Brian uncovered.
> The one-line fix to refclock_nmea.c is:
>
> memset(&up->pps_params, 0, sizeof(pps_params_t));
> + up->pps_params.api_version = PPS_API_VERS_1;
>From my reading of the RFC I understood that that field is read-only.
Its purpose is for the kernel or whatever implements the API to report
the API version that it implements.
While we can add this, I do think a kernel that require this field
to be filled in is wrong.
John
--
John Hay -- John.Hay at meraka.csir.co.za / jhay at FreeBSD.org
More information about the hackers
mailing list