<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Eric S. Raymond pushed to branch master at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff">e9392efa</a></strong>
<div>
<span>by Eric S. Raymond</span>
<i>at 2015-11-23T18:41:26Z</i>
</div>
<pre class='commit-message'>Remove fossil remnants of the long-deprecated ppsclock line discipline.

No logic changes.</pre>
</li>
</ul>
<h4>8 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
include/parse.h
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
ntpd/refclock_arc.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
ntpd/refclock_as2201.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-3'>
ntpd/refclock_jupiter.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-4'>
ntpd/refclock_mx4200.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-5'>
ntpd/refclock_parse.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-6'>
ntpd/refclock_zyfer.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-7'>
pylib/configure.py
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff#diff-0'>
<strong>
include/parse.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/include/parse.h
</span><span style="color: #000000;background-color: #ddffdd">+++ b/include/parse.h
</span><span style="color: #aaaaaa">@@ -112,7 +112,7 @@
</span> #define PARSE_LEAP_DELETE   CLK_FLAG4  /* use flag4 to force leap deletion - only necessary when earth slows down */
 
 #define PARSE_FIXED_FMT     0x10  /* fixed format */
<span style="color: #000000;background-color: #ffdddd">-#define PARSE_PPSCLOCK      0x20  /* try to get PPS time stamp via ppsclock ioctl */
</span><span style="color: #000000;background-color: #ddffdd">+#define PARSE_PPSAPI        0x20  /* try to get PPS time stamp via API */
</span> 
 /*
  * size of buffers
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff#diff-1'>
<strong>
ntpd/refclock_arc.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_arc.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_arc.c
</span><span style="color: #aaaaaa">@@ -258,8 +258,6 @@ TO-DO LIST
</span>     for long-term errors in the clock value (time2 defaults to 0 so the
     correction would be disabled by default).
 
<span style="color: #000000;background-color: #ffdddd">-  * Consider trying to use the tty_clk/ppsclock support.
-
</span>   * Possibly use average or maximum signal quality reported during
     resync, rather than just the last one, which may be atypical.
 
</code></pre>

<br>
</li>
<li id='diff-2'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff#diff-2'>
<strong>
ntpd/refclock_as2201.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_as2201.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_as2201.c
</span><span style="color: #aaaaaa">@@ -37,23 +37,12 @@
</span>  * and "df" commands does not matter. The radio should select UTC
  * timescale using the "ts utc" command.
  *
<span style="color: #000000;background-color: #ffdddd">- * There are two modes of operation for this driver. The first with
- * default configuration is used with stock kernels and serial-line
</span><span style="color: #000000;background-color: #ddffdd">+ * This driver can be used with stock kernels and serial-line
</span>  * drivers and works with almost any machine. In this mode the driver
  * assumes the radio captures a timestamp upon receipt of the "*" that
  * begins the driver query. Accuracies in this mode are in the order of
  * a millisecond or two and the receiver can be connected to only one
  * host.
<span style="color: #000000;background-color: #ffdddd">- *
- * The second mode of operation can be used for SunOS kernels that have
- * been modified with the ppsclock streams module included in this
- * distribution. The mode is enabled if flag3 of the fudge configuration
- * command has been set to 1. In this mode a precise timestamp is
- * available using a gadget box and 1-pps signal from the receiver. This
- * improves the accuracy to the order of a few tens of microseconds. In
- * addition, the serial output and 1-pps signal can be bussed to more
- * than one hosts, but only one of them should be connected to the
- * radio input data line. 
</span>  */
 
 /*
</code></pre>

<br>
</li>
<li id='diff-3'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff#diff-3'>
<strong>
ntpd/refclock_jupiter.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_jupiter.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_jupiter.c
</span><span style="color: #aaaaaa">@@ -33,11 +33,10 @@
</span> 
 /*
  * This driver supports the Rockwell Jupiter GPS Receiver board
<span style="color: #000000;background-color: #ffdddd">- * adapted to precision timing applications.  It requires the
- * ppsclock line discipline or streams module described in the
- * Line Disciplines and Streams Drivers page. It also requires a
- * gadget box and 1-PPS level converter, such as described in the
- * Pulse-per-second (PPS) Signal Interfacing page.
</span><span style="color: #000000;background-color: #ddffdd">+ * adapted to precision timing applications.  It requires the PPS API
+ * support. It also requires a gadget box and 1-PPS level converter,
+ * such as described in the Pulse-per-second (PPS) Signal Interfacing
+ * page.
</span>  *
  * It may work (with minor modifications) with other Rockwell GPS
  * receivers such as the CityTracker.
</code></pre>

<br>
</li>
<li id='diff-4'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff#diff-4'>
<strong>
ntpd/refclock_mx4200.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_mx4200.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_mx4200.c
</span><span style="color: #aaaaaa">@@ -26,26 +26,13 @@
</span> 
 #include "mx4200.h"
 
<span style="color: #000000;background-color: #ffdddd">-#ifdef HAVE_SYS_PPSCLOCK_H
-# include <sys/ppsclock.h>
-#endif
-
-struct ppsclockev {
-       struct timespec tv;
-       u_int serial;
-};
-
</span> #ifdef HAVE_PPSAPI
 # include "ppsapi_timepps.h"
 #endif /* HAVE_PPSAPI */
 
 /*
  * This driver supports the Magnavox Model MX 4200 GPS Receiver
<span style="color: #000000;background-color: #ffdddd">- * adapted to precision timing applications.  It requires the
- * ppsclock line discipline or streams module described in the
- * Line Disciplines and Streams Drivers page. It also requires a
- * gadget box and 1-PPS level converter, such as described in the
- * Pulse-per-second (PPS) Signal Interfacing page.
</span><span style="color: #000000;background-color: #ddffdd">+ * adapted to precision timing applications.  It requires the PPS API.
</span>  *
  * It's likely that other compatible Magnavox receivers such as the
  * MX 4200D, MX 9212, MX 9012R, MX 9112 will be supported by this code.
<span style="color: #aaaaaa">@@ -86,7 +73,6 @@ struct mx4200unit {
</span>   u_int  pollcnt;                 /* poll message counter */
        u_int  polled;                  /* Hand in a time sample? */
        u_int  lastserial;              /* last pps serial number */
<span style="color: #000000;background-color: #ffdddd">-        struct ppsclockev ppsev;        /* PPS control structure */
</span>   double avg_lat;                 /* average latitude */
        double avg_lon;                 /* average longitude */
        double avg_alt;                 /* average height */
</code></pre>

<br>
</li>
<li id='diff-5'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff#diff-5'>
<strong>
ntpd/refclock_parse.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_parse.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_parse.c
</span><span style="color: #aaaaaa">@@ -84,9 +84,6 @@
</span> # include "refclock_atom.h"
 #endif
 
<span style="color: #000000;background-color: #ffdddd">-#ifdef HAVE_SYS_PPSCLOCK_H
-#  include <sys/ppsclock.h>
-#endif
</span> #ifdef HAVE_LINUX_SERIAL_H
 #  include <linux/serial.h>
 #endif
<span style="color: #aaaaaa">@@ -1776,7 +1773,7 @@ local_input(
</span>                   if (!PARSE_PPS(parse->parseio.parse_dtime.parse_state))
                        {
 #ifdef HAVE_PPSAPI
<span style="color: #000000;background-color: #ffdddd">-                                if (parse->flags & PARSE_PPSCLOCK)
</span><span style="color: #000000;background-color: #ddffdd">+                           if (parse->flags & PARSE_PPSAPI)
</span>                           {
                                        struct timespec pps_timeout;
                                        pps_info_t      pps_info;
<span style="color: #aaaaaa">@@ -2295,7 +2292,7 @@ parse_shutdown(
</span>   }
 
 #ifdef HAVE_PPSAPI
<span style="color: #000000;background-color: #ffdddd">-        if (parse->flags & PARSE_PPSCLOCK)
</span><span style="color: #000000;background-color: #ddffdd">+   if (parse->flags & PARSE_PPSAPI)
</span>   {
                (void)time_pps_destroy(parse->atom.handle);
        }
<span style="color: #aaaaaa">@@ -2390,7 +2387,7 @@ parse_ppsapi(
</span>   int cap, mode_ppsoffset;
        const char *cp;
 
<span style="color: #000000;background-color: #ffdddd">-        parse->flags &= (uint8_t) (~PARSE_PPSCLOCK);
</span><span style="color: #000000;background-color: #ddffdd">+   parse->flags &= (uint8_t) (~PARSE_PPSAPI);
</span> 
        /*
         * collect PPSAPI offset capability - should move into generic handling
<span style="color: #aaaaaa">@@ -2453,7 +2450,7 @@ parse_ppsapi(
</span>           return false;
        }
 
<span style="color: #000000;background-color: #ffdddd">-        parse->flags |= PARSE_PPSCLOCK;
</span><span style="color: #000000;background-color: #ddffdd">+   parse->flags |= PARSE_PPSAPI;
</span>   return true;
 }
 #else
<span style="color: #aaaaaa">@@ -2646,7 +2643,7 @@ parse_start(
</span>                           msyslog(LOG_NOTICE,
                                        "refclock_parse: optional PPS processing not available");
                        } else {
<span style="color: #000000;background-color: #ffdddd">-                                parse->flags    |= PARSE_PPSCLOCK;
</span><span style="color: #000000;background-color: #ddffdd">+                           parse->flags    |= PARSE_PPSAPI;
</span> #ifdef ASYNC_PPS_CD_NEG
                                NLOG(NLOG_CLOCKINFO)
                                  msyslog(LOG_INFO,
</code></pre>

<br>
</li>
<li id='diff-6'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff#diff-6'>
<strong>
ntpd/refclock_zyfer.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_zyfer.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_zyfer.c
</span><span style="color: #aaaaaa">@@ -17,9 +17,6 @@
</span> #include <ctype.h>
 
 #include <termios.h>
<span style="color: #000000;background-color: #ffdddd">-#ifdef HAVE_SYS_PPSCLOCK_H
-# include <sys/ppsclock.h>
-#endif
</span> 
 /*
  * This driver provides support for the TOD serial port of a Zyfer GPStarplus.
</code></pre>

<br>
</li>
<li id='diff-7'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff#diff-7'>
<strong>
pylib/configure.py
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/pylib/configure.py
</span><span style="color: #000000;background-color: #ddffdd">+++ b/pylib/configure.py
</span><span style="color: #aaaaaa">@@ -282,7 +282,6 @@ def cmd_configure(ctx):
</span>           "sys/ioctl.h",
                "sys/modem.h",
                "sys/prctl.h",
<span style="color: #000000;background-color: #ffdddd">-                "sys/ppsclock.h",
</span>           "sys/procset.h",
                "sys/sockio.h",
                "sys/soundcard.h",
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/e9392efab1b70af4074e1f5b84ca6e00a35ac0ff"}}</script>
</p>
</div>
</body>
</html>