From: Harlan Stenn Date: Sat, 23 Feb 2002 02:58:56 +0000 (-0500) Subject: Begin PPS support for the Zyfer. X-Git-Tag: NTP_4_1_73~187^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b0ec115dcd6f57d91f70a13e80ea4bc07e20a5a;p=thirdparty%2Fntp.git Begin PPS support for the Zyfer. bk: 3c770570yzV3sQ3p00PE54sw0mZWOg --- diff --git a/ntpd/refclock_zyfer.c b/ntpd/refclock_zyfer.c index ea9b25bafd..b622931195 100644 --- a/ntpd/refclock_zyfer.c +++ b/ntpd/refclock_zyfer.c @@ -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;