]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ntp-dev Praecis updates. Needs a fix for CLK_TYPE().
authorHarlan Stenn <stenn@ntp.org>
Thu, 28 Nov 2002 04:41:56 +0000 (23:41 -0500)
committerHarlan Stenn <stenn@ntp.org>
Thu, 28 Nov 2002 04:41:56 +0000 (23:41 -0500)
bk: 3de59e94TlVCJpw6XfYrCqmo7MWd5Q

html/driver29.html
ntpd/refclock_palisade.c

index ab43ba8cd2856a72d6e400da243e81d85c1ea41e..27338f71b64dc56e68752de0456657d11af21254 100644 (file)
             <dt><a name="flag2"></a><tt><font size="+1"><a href="#Configuration">flag2 0 | 1</a></font></tt>
             <dd>When set to 1, driver does not use hardware event capture. The synchronous packet output by the receiver at the beginning of each second is time stamped by the driver. If triggering the event pulse fails, the driver falls back to this mode automatically.
         </dl>
+        <h2><font size=+1>Mode Parameter</font></h2>
+        <dl>
+            <dt><tt><font size=+1>mode <i>number</i></font></tt></dt>
+             <dd>The mode parameter to the server command specifies the specific hardware this driver is for. The default is 0 for a normal Trimble Palisade. The only other option at this time is 1 for a Endrun Praecis in Trimble emulation mode.
+        </dl>
         <h2><font size="+1">DEFINEs</font></h2>
         The following constants are defined in the driver source code. These defines may be modified to improve performance or adapt to new operating systems.<br>
         &nbsp;
index bbb6ed56452415e157b3ddcb4db047e884819f9b..bc36ff7682a942ccdc5a9197d847ca81c10d08de 100644 (file)
@@ -89,7 +89,8 @@ struct refclock refclock_palisade = {
 int day_of_year P((char *dt));
 
 /* Extract the clock type from the mode setting */
-#define CLK_TYPE(x) ((int)(((x)->ttlmax) & 0x7F))
+/* #define CLK_TYPE(x) ((int)(((x)->ttlmax) & 0x7F)) */
+#define CLK_TYPE(x) 0
 
 /* Supported clock types */
 #define CLK_TRIMBLE    0       /* Trimble Palisade */