[Bug 259036] Add PPS_SYNC to GENERIC kernel configuration
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 259036] feature request: add PPS_SYNC to GENERIC"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Oct 2021 14:23:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259036
--- Comment #2 from Konstantin Belousov <kib@FreeBSD.org> ---
I will commit the following after tinderbox finishes.
commit 3822304620c392fbef3e7bee197bf1f3b0860aed
Author: Konstantin Belousov <kib@FreeBSD.org>
Date: Sun Oct 10 15:20:45 2021 +0300
Enable PPS_SYNC on amd64, arm64 and armv7.
Remove the option from NOTES/LINT.
PR: 259036
Requested by: John Hay <john@sanren.ac.za>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC
index 40c14e90aef0..f47b995beb2c 100644
--- a/sys/amd64/conf/GENERIC
+++ b/sys/amd64/conf/GENERIC
@@ -138,6 +138,12 @@ options PCI_IOV # PCI SR-IOV
support
options COMPAT_LINUXKPI
+# Enable support for the kernel PLL to use an external PPS signal,
+# under supervision of [x]ntpd(8)
+# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
+
+options PPS_SYNC
+
# Floppy drives
device fdc
diff --git a/sys/arm/conf/std.armv7 b/sys/arm/conf/std.armv7
index 2d1dfa135780..fda291df289a 100644
--- a/sys/arm/conf/std.armv7
+++ b/sys/arm/conf/std.armv7
@@ -84,3 +84,9 @@ options VERBOSE_SYSINIT=0 # Support
debug.verbose_sysinit, off by default
#options KTR_VERBOSE=0
#options USB_REQ_DEBUG
#options USB_VERBOSE
+
+# Enable support for the kernel PLL to use an external PPS signal,
+# under supervision of [x]ntpd(8)
+# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
+
+options PPS_SYNC
diff --git a/sys/arm64/conf/std.arm64 b/sys/arm64/conf/std.arm64
index 8460d449939d..5c26f19b4299 100644
--- a/sys/arm64/conf/std.arm64
+++ b/sys/arm64/conf/std.arm64
@@ -96,3 +96,9 @@ options NETDUMP # netdump(4) client
support
# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel
+
+# Enable support for the kernel PLL to use an external PPS signal,
+# under supervision of [x]ntpd(8)
+# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
+
+options PPS_SYNC
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 39446fba06b3..e41b00edf2f6 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -1245,12 +1245,6 @@ options CAPABILITY_MODE # sandboxes with no global
namespace access
options HZ=100
-# Enable support for the kernel PLL to use an external PPS signal,
-# under supervision of [x]ntpd(8)
-# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
-
-options PPS_SYNC
-
# Enable support for generic feed-forward clocks in the kernel.
# The feed-forward clock support is an alternative to the feedback oriented
# ntpd/system clock approach, and is to be used with a feed-forward
--
You are receiving this mail because:
You are the assignee for the bug.