]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ChangeLog, configure.in, driver4.htm:
authorHarlan Stenn <stenn@ntp.org>
Wed, 15 Sep 1999 02:57:14 +0000 (02:57 -0000)
committerHarlan Stenn <stenn@ntp.org>
Wed, 15 Sep 1999 02:57:14 +0000 (02:57 -0000)
  * configure.in: ReliantUNIX patches
  From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>

bk: 37df0b0aS2Kw3WHYhSCGgKTEA1ycig

ChangeLog
configure.in
html/driver4.htm

index 4e08e5308cc06c6b38731d2cd31e6df5bc6ae98c..170743dcaca20023bae9437395a782abc2b55fc9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-09-14  Harlan Stenn  <stenn@whimsy.udel.edu>
 
+       * configure.in: ReliantUNIX patches
+       From: Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru> 
+
        * ntpd/refclock_atom.c: PPS cleanup
        * ntpd/ntp_refclock.c (refclock_ioctl): PPS cleanup
        From: Dave Mills <mills@udel.edu>
index d769a22b58e235dd0b2ade011d9de6641475c0a3..8e4614f01f47a55b43a302ec16a1d997aadb77ab 100644 (file)
@@ -111,14 +111,19 @@ case "$target" in
  *-*-solaris2.5.1)
     ac_busted_vpath_in_make=yes
     ;;
- mips-sni-sysv4* )
-    #
-    # Add flags for 64 bit file access to enable tickadj to access /dev/kmem
-    #
-    if getconf _LFS_CFLAGS > /dev/null 2>&1 ; then
-      CFLAGS="$CFLAGS `getconf _LFS_CFLAGS`"
-    fi
-    ;;
+dnl This is currently commented out by bor. 
+dnl The new versions of ReliantUNIX round adjtime() interval down
+dnl to 1/100s (system tick). This makes tickadj actually useless.
+dnl So, I'd better not use additional flags.
+dnl I leave it here just in case anybody has better idea
+dnl  mips-sni-sysv4* )
+dnl     #
+dnl     # Add flags for 64 bit file access to enable tickadj to access /dev/kmem
+dnl     #
+dnl     if getconf _LFS_CFLAGS > /dev/null 2>&1 ; then
+dnl       CFLAGS="$CFLAGS `getconf _LFS_CFLAGS`"
+dnl     fi
+dnl     ;;
 esac
 
 case "$ac_busted_vpath_in_make$srcdir" in
@@ -2557,8 +2562,12 @@ case "$ac_cv_var_tickadj" in
  *) AC_DEFINE_UNQUOTED(PRESET_TICKADJ, $ac_cv_var_tickadj) ;;
 esac
 
+# Newer versions of ReliantUNIX round adjtime() values down to
+# 1/100s (system tick). Sigh ...
+# Unfortunately, there is no easy way to know if particular release
+# has this "feature" or any obvious way to test for it.
 case "$target" in
- *-*-sco3.2v5*) AC_DEFINE(SCO5_CLOCK) ;;
+ *-*-sco3.2v5*|mips-sni-sysv4*) AC_DEFINE(SCO5_CLOCK) ;;
 esac
 
 ac_cv_make_tickadj=yes
@@ -2591,6 +2600,14 @@ case "$ac_cv_var_can_kmem$ac_cv_var_tick$ac_cv_var_tickadj" in
     ;;
 esac
 
+# tickadj is pretty useless on newer versions of ReliantUNIX
+# Do not bother
+case "$target" in
+ mips-sni-sysv4*)
+    ac_cv_make_tickadj=no
+ ;;
+esac
+
 AC_SUBST(MAKE_TICKADJ)
 AC_CACHE_CHECK(if we want and can make the tickadj utility, ac_cv_make_tickadj,
 ac_cv_make_tickadj=yes)
index 460ab3e99ea724905fe7865655b87036b3b1c7a4..4f3abd756afe5fe9ff52c8fabf73c09aed3d75b9 100644 (file)
-<HTML>
-<HEAD>
-   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
-   <META NAME="GENERATOR" CONTENT="Mozilla/4.01 [en] (Win95; I) [Netscape]">
-   <TITLE>Spectracom 8170 and Netclock/2 WWVB Receivers
-</TITLE>
-</HEAD>
-<BODY>
-
-<H3>
-Spectracom 8170 and Netclock/2 WWVB Receivers</H3>
-
-<HR>
-<H4>
-Synopsis</H4>
+<HTML><HEAD><TITLE>
+Spectracom 8170 and Netclock/2 WWVB Receivers
+</TITLE></HEAD><BODY><H3>
+Spectracom 8170 and Netclock/2 WWVB Receivers
+</H3><HR>
+
+<H4>Synopsis</H4>
+
 Address: 127.127.4.<I>u</I>
 <BR>Reference ID: <TT>WWVB</TT>
 <BR>Driver ID: <TT>WWVB_SPEC</TT>
-<BR>Serial Port: <TT>/dev/wwvb<I>u</I></TT>; 9600 baud, 8-bits, no parity
+<BR>Serial Port: <TT>/dev/wwvb<I>u</I></TT>; 9600 baud, 8-bits, no
+parity
 <BR>Features: <TT>tty_clk</TT>
-<H4>
-Description</H4>
-This driver supports the Spectracom Model 8170 and Netclock/2 WWVB Synchronized
-Clock. This clock has proven a reliable source of time, except in some
-cases of high ambient conductive RF interference. The claimed accuracy
-of the clock is 100 usec relative to the broadcast signal; however, in
-most cases the actual accuracy is limited by the precision of the timecode
-and the latencies of the serial interface and operating system.
-
-<P>The DIPswitches on this clock should be set to 24-hour display, AUTO
-DST off, data format 0 or 2 (see below) and baud rate 9600. If this clock
-is to used as the source for the IRIG Audio Decoder (refclock_irig.c in
-this distribution), set the DIPswitches for AM IRIG output and IRIG format
-1 (IRIG B with signature control).
+
+<H4>Description</H4>
+
+This driver supports all known Spectracom radio and satellite clocks,
+including the Model 8170 and Netclock/2 WWVB Synchronized Clocks and the
+Netclock/GPS GPS Master Clock. The claimed accuracy of the WWVB clocks
+is 100 usec relative to the broadcast signal. These clocks have proven a
+reliable source of time, except in some parts of the country with high
+levels of conducted RF interference. WIth the GPS clock the claimed
+accuracy is 130 ns. However, in most cases the actual accuracy is
+limited by the precision of the timecode and the latencies of the serial
+interface and operating system.
+
+<P>The DIPswitches on these clocks should be set to 24-hour display,
+AUTO DST off, data format 0 or 2 (see below) and baud rate 9600. If this
+clock is used as the source for the IRIG Audio Decoder
+(<tt>refclock_irig.c</tt> in this distribution), set the DIPswitches for
+AM IRIG output and IRIG format 1 (IRIG B with signature control).
 
 <P>There are two timecode formats used by these clocks. Format 0, which
-is available with both the Netclock/2 and 8170, and format 2, which is
-available only with the Netclock/2 and specially modified 8170.
+is available with all clocks, and format 2, which is available with all
+clocks except the original (unmodified) Model 8170.
 
 <P>Format 0 (22 ASCII printing characters):
-<PRE>&lt;cr>&lt;lf>i&nbsp; ddd hh:mm:ss&nbsp; TZ=zz&lt;cr>&lt;lf>
+<br>&lt;cr&gt;&lt;lf&gt;i ddd hh:mm:ss TZ=zz&lt;cr&gt;&lt;lf&gt;
 
-on-time = first &lt;cr>
-i = synchronization flag (' ' = in synch, '?' = out synch)
-hh:mm:ss = hours, minutes, seconds</PRE>
-The alarm condition is indicated by other than ' ' at <TT>i</TT>, which
-occurs during initial synchronization and when received signal is lost
-for about ten hours.
+<p>on-time = first &lt;cr&gt;
+<br>i = synchronization flag (' ' = in synch, '?' = out synch)
+<br>hh:mm:ss = hours, minutes, seconds</PRE>
+
+<p>The alarm condition is indicated by other than ' ' at <TT>i</TT>,
+which occurs during initial synchronization and when received signal is
+lost for about ten hours.
 
 <P>Format 2 (24 ASCII printing characters):
-<PRE>&lt;cr>&lt;lf>iqyy ddd hh:mm:ss.fff ld
-
-on-time = &lt;cr>
-i = synchronization flag (' ' = in synch, '?' = out synch)
-q = quality indicator (' ' = locked, 'A'...'D' = unlocked)
-yy = year (as broadcast)
-ddd = day of year
-hh:mm:ss.fff = hours, minutes, seconds, milliseconds</PRE>
-The alarm condition is indicated by other than ' ' at <TT>i</TT>, which
-occurs during initial synchronization and when received signal is lost
-for about ten hours. The unlock condition is indicated by other than '
-' at <TT>q</TT>.
+<br>lt;cr&gt;lf&gt;iqyy ddd hh:mm:ss.fff ld
+
+<p>on-time = &lt;cr>
+<br>i = synchronization flag (' ' = in synch, '?' = out synch)
+<br>q = quality indicator (' ' = locked, 'A'...'D' = unlocked)
+<br>yy = year (as broadcast)
+<br>ddd = day of year
+<br>hh:mm:ss.fff = hours, minutes, seconds, milliseconds</PRE>
+
+<p>The alarm condition is indicated by other than ' ' at <TT>i</TT>,
+which occurs during initial synchronization and when received signal is
+lost for about ten hours. The unlock condition is indicated by other
+than ' ' at <TT>q</TT>.
 
 <P>The <TT>q</TT> is normally ' ' when the time error is less than 1 ms
-and a character in the set <TT>A...D</TT> when the time error is less than
-10, 100, 500 and greater than 500 ms respectively. The <TT>l</TT> is normally
-' ', but is set to <TT>L</TT> early in the month of an upcoming UTC leap
-second and reset to ' ' on the first day of the following month. The <TT>d</TT>
-is set to <TT>S</TT> for standard time <TT>S</TT>, <TT>I</TT> on the day
-preceding a switch to daylight time, <TT>D</TT> for daylight time and <TT>O</TT>
-on the day preceding a switch to standard time. The start bit of the first
-&lt;cr> is synchronized to the indicated time as returned.
-
-<P>This driver does not need to be told which format is in use - it figures
-out which one from the length of the message. A three-stage median filter
-is used to reduce jitter and provide a dispersion measure. The driver makes
-no attempt to correct for the intrinsic jitter of the radio itself, which
-is a known problem with the older radios.
-<H4>
-Monitor Data</H4>
+and a character in the set <TT>A...D</TT> when the time error is less
+than 10, 100, 500 and greater than 500 ms respectively. The <TT>l</TT>
+is normally ' ', but is set to <TT>L</TT> early in the month of an
+upcoming UTC leap second and reset to ' ' on the first day of the
+following month. The <TT>d</TT> is set to <TT>S</TT> for standard time
+<TT>S</TT>, <TT>I</TT> on the day preceding a switch to daylight time,
+<TT>D</TT> for daylight time and <TT>O</TT> on the day preceding a
+switch to standard time. The start bit of the first
+&lt;cr&gt; is synchronized to the indicated time as returned.
+
+<P>This driver does not need to be told which format is in use - it
+figures out which one from the length of the message. A three-stage
+median filter is used to reduce jitter and provide a dispersion measure.
+The driver makes no attempt to correct for the intrinsic jitter of the
+radio itself, which is a known problem with the older radios.
+
+<H4>Monitor Data</H4>
+
 The driver writes each timecode as received to the <TT>clockstats</TT>
 file. When enabled by the <TT>flag4</TT> fudge flag, a table of quality
 data maintained internally by the Netclock/2 is retrieved and written to
-the <TT>clockstats</TT> file when the first timecode message of a new day
-is received.
-<H4>
-Fudge Factors</H4>
+the <TT>clockstats</TT> file when the first timecode message of a new
+dayis received.
+
+<H4>Fudge Factors</H4>
 
 <DL>
-<DT>
-<TT>time1 <I>time</I></TT></DT>
 
-<DD>
-Specifies the time offset calibration factor, in seconds and fraction,
+<DT><TT>time1 <I>time</I></TT></DT>
+<DD>Specifies the time offset calibration factor, in seconds and
+fraction,
 with default 0.0.</DD>
 
-<DT>
-<TT>time2 <I>time</I></TT></DT>
-
-<DD>
-Not used by this driver.</DD>
-
-<DT>
-<TT>stratum <I>number</I></TT></DT>
-
-<DD>
-Specifies the driver stratum, in decimal from 0 to 15, with default 0.</DD>
-
-<DT>
-<TT>refid <I>string</I></TT></DT>
+<DT><TT>time2 <I>time</I></TT></DT>
+<DD>Not used by this driver.</DD>
 
-<DD>
-Specifies the driver reference identifier, an ASCII string from one to
-four characters, with default <TT>WWVB</TT>.</DD>
+<DT><TT>stratum <I>number</I></TT></DT>
+<DD>Specifies the driver stratum, in decimal from 0 to 15, with default
+0.</DD>
 
-<DT>
-<TT>flag1 0 | 1</TT></DT>
+<DT><TT>refid <I>string</I></TT></DT>
+<DD>Specifies the driver reference identifier, an ASCII string from one
+to four characters, with default <TT>WWVB</TT>.</DD>
 
-<DD>
-Not used by this driver.</DD>
+<DT><TT>flag1 0 | 1</TT></DT>
+<DD>Not used by this driver.</DD>
 
-<DT>
-<TT>flag2 0 | 1</TT></DT>
+<DT><TT>flag2 0 | 1</TT></DT>
+<DD>Not used by this driver.</DD>
 
-<DD>
-Not used by this driver.</DD>
+<DT><TT>flag3 0 | 1</TT></DT>
+<DD>Not used by this driver.</DD>
 
-<DT>
-<TT>flag3 0 | 1</TT></DT>
+<DT><TT>flag4 0 | 1</TT></DT>
+<DD>Enable verbose <TT>clockstats</TT> recording if set.</DD>
 
-<DD>
-Not used by this driver.</DD>
-
-<DT>
-<TT>flag4 0 | 1</TT></DT>
-
-<DD>
-Enable verbose <TT>clockstats</TT> recording if set.</DD>
 </DL>
-Additional Information
 
-<P><A HREF="refclock.htm">Reference Clock Drivers</A>&nbsp;
-<HR>
-<ADDRESS>
-David L. Mills (mills@udel.edu)</ADDRESS>
+Additional Information
 
-</BODY>
-</HTML>
+<P><A HREF="refclock.htm">Reference Clock Drivers</A>
+<HR><ADDRESS>David L. Mills (mills@udel.edu)</ADDRESS></BODY></HTML>