+2001-05-30 Harlan Stenn <stenn@whimsy.udel.edu>
+
+ * README.cvs: More updates and cleanup.
+
+ * ntpd/ntp_loopfilter.c (loop_config):
+ Check against STA_NANO instead of (NTP_API > 3) to catch kernels
+ that were rolled while the spec was evolving.
+ From: John.Hay@icomtek.csir.co.za
+
+ * README.cvs: Note that we want to check out NTP into a clean
+ subdir.
+ Reported by jrd@cc.usu.edu (Joe Doupnik)
+
2001-05-27 Harlan Stenn <stenn@whimsy.udel.edu>
* configure.in: 4.0.99k40
To get the NTP distribution via anonymous CVS:
- cvs -d :pserver:anoncvs@www.ntp.org:/cvs/ntp login
+ % cvs -d :pserver:anoncvs@www.ntp.org:/cvs/ntp login
the password is: anoncvs
- cvs -d :pserver:anoncvs@www.ntp.org:/cvs/ntp co ntp
+ % rm -rf ntp
+ % cvs -d :pserver:anoncvs@www.ntp.org:/cvs/ntp co ntp
after which the "ntp_update" script in the top-level of the tree should
keep things in synch and properly timestamped.
information, send a message to <majordomo@ntp.org> with the word "lists"
in the body of the message.
-If you get NTP via CVS, you will need to build the release using GNU make
+If you get NTP via CVS, you MAY need to build the release using GNU make
and gcc.
You can then "make dist" to build a release tarball that does not require
GNU make or gcc.
-The reason GNU make and gcc are required is because the repository version
-of NTP does not have the make dependencies built-in. These dependencies
-are created dynamically, and this dynamic process requires GNU make and gcc.
+The reason GNU make and gcc may be required is because the repository
+version of NTP does not have the make dependencies built-in. These
+dependencies are created dynamically, and this dynamic process may
+require GNU make and gcc.
-I'm told that an upcoming version of automake will not require GNU make or
-gcc for the dependency tracking.
+I'm told that the version of automake we are now using does not require
+GNU make or gcc for the dependency tracking, but I haven't tested this
+yet.
*/
pll_control = 1;
memset(&ntv, 0, sizeof(ntv));
-#if NTP_API > 3
+#ifdef STA_NANO
ntv.modes = MOD_BITS | MOD_NANO;
#else
ntv.modes = MOD_BITS;
-#endif /* NTP_API */
+#endif /* STA_NANO */
ntv.maxerror = MAXDISPERSE;
ntv.esterror = MAXDISPERSE;
ntv.status = STA_UNSYNC;
#endif /* SIGSYS */
pll_status = ntv.status;
if (pll_control) {
-#if NTP_API > 3
+#ifdef STA_NANO
if (pll_status & STA_NANO)
pll_nano = 1;
if (pll_status & STA_CLK)
ext_enable = 1;
-#endif /* NTP_API */
+#endif /* STA_NANO */
msyslog(LOG_NOTICE,
"kernel time discipline status %04x",
pll_status);