* ntpd/ntp_refclock.c (refclock_ioctl): Declaration cleanup.
Dave patched some PPS stuff in this one, too.
* ntpd/ntp_proto.c (init_proto): msyslog kern_enable at LOG_DEBUG.
bk: 37dc76c84aMAhgMG0PRi3NCpd9W00Q
1999-09-12 Harlan Stenn <stenn@whimsy.udel.edu>
+ * ntpd/ntp_refclock.c (refclock_ioctl): Declaration cleanup.
+
+ * ntpd/ntp_proto.c (init_proto): msyslog kern_enable at LOG_DEBUG.
+
* ntpd/refclock_atom.c: Add missing declaration.
1999-09-11 Harlan Stenn <stenn@whimsy.udel.edu>
#ifndef KERNEL_FLL_BUG
kern_enable = 1;
#endif
+ msyslog(LOG_DEBUG, "kern_enable is %d", kern_enable);
stats_control = 1;
#if defined SCO5_CLOCK
if ((int) sys_precision < -10) {
#ifdef REFCLOCK
+#ifdef HAVE_PPSAPI
+#undef STREAM
+#undef TTYCLK
+#endif
+
#ifdef TTYCLK
#include <sys/clkdefs.h>
#endif /* TTYCLK */
* support.
*/
if (flags & LDISC_PPS) {
+#ifdef HAVE_TIOCSPPS /* Solaris */
int one = 1;
+#endif
if (fdpps > 0) {
msyslog(LOG_ERR,
* requires ppsclock compiled into the kernel on non STREAMS
* systems.
*/
- if (flags & LDISC_PPS) {
+ if (flags & (LDISC_PPS | LDISC_CLKPPS)) {
pps_params_t pp;
int mode;