summaryrefslogtreecommitdiffstats
path: root/sys/sys/timex.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-06-13 09:30:26 +0000
committerphk <phk@FreeBSD.org>1998-06-13 09:30:26 +0000
commit885f9e9d51aad3937cd0b5958dc4547208187eb3 (patch)
tree37d60610268d012ff6fd0d03e72fcee6d7cbde9d /sys/sys/timex.h
parent98ec89f1825fc700e6d9bce147a026b4036af855 (diff)
downloadFreeBSD-src-885f9e9d51aad3937cd0b5958dc4547208187eb3.zip
FreeBSD-src-885f9e9d51aad3937cd0b5958dc4547208187eb3.tar.gz
Introduce std_pps_ioctl() to automagically DTRT.
Add scaling capability to timex.offset, ntpd-4.0.73 will support this.
Diffstat (limited to 'sys/sys/timex.h')
-rw-r--r--sys/sys/timex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/timex.h b/sys/sys/timex.h
index 5e0df4b..47fd808 100644
--- a/sys/sys/timex.h
+++ b/sys/sys/timex.h
@@ -202,8 +202,8 @@
#define MOD_ESTERROR 0x0008 /* set estimated time error */
#define MOD_STATUS 0x0010 /* set clock status bits */
#define MOD_TIMECONST 0x0020 /* set pll time constant */
-#define MOD_CLKB 0x4000 /* set clock B */
-#define MOD_CLKA 0x8000 /* set clock A */
+#define MOD_CANSCALE 0x0040 /* kernel can scale offset field */
+#define MOD_DOSCALE 0x0080 /* userland wants to scale offset field */
/*
* Status codes (timex.status)
OpenPOWER on IntegriCloud