Date: Sun, 10 Oct 2021 06:29:38 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 259036] feature request: add PPS_SYNC to GENERIC Message-ID: <bug-259036-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259036 Bug ID: 259036 Summary: feature request: add PPS_SYNC to GENERIC Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: john@sanren.ac.za For those of us using a GPS or other form of PPS signal with ntpd, the only reason to recompile the kernel is to add the PPS_SYNC option. Other FreeBSD derived projects like pfsense already have it in by default. There are only two files affected by this option, kern_ntptime.c and kern_t= c.c. (kern_clock.c also includes opt_ntp.h, but does not use PPS_SYNC.) It adds very little code. Last time somebody counted, it was about 218 line= s. In kern_tc.c it only adds code to implement the PPS_IOC_KCBIND ioctl and ad= ds code to pps_event(). Both of these code paths will only be used by people u= sing PPS. If one has to select only one architecture, it would be amd64, but the different arm kernels would also be very useful. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259036-227>