]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Begin PPS support for the Zyfer.
authorHarlan Stenn <stenn@ntp.org>
Sat, 23 Feb 2002 02:58:56 +0000 (21:58 -0500)
committerHarlan Stenn <stenn@ntp.org>
Sat, 23 Feb 2002 02:58:56 +0000 (21:58 -0500)
bk: 3c770570yzV3sQ3p00PE54sw0mZWOg

ntpd/refclock_zyfer.c

index ea9b25bafda7bff9e06e252b1dbf5a03f67b9065..b62293119519fd8397858c1e475a38f7a1085c8a 100644 (file)
@@ -208,6 +208,16 @@ zyfer_receive(
        int tfom;               /* Time Figure Of Merit */
        int omode;              /* Operation mode */
        u_char *p;
+#ifdef PPS
+       struct ppsclockev ppsev;
+       int request;
+#ifdef HAVE_CIOGETEV
+        request = CIOGETEV;
+#endif
+#ifdef HAVE_TIOCGPPSEV
+        request = TIOCGPPSEV;
+#endif
+#endif /* PPS */
 
        peer = (struct peer *)rbufp->recv_srcclock;
        pp = peer->procptr;