The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=bf4aa758dd79dcb3f5d5abde79d679d17b18afa0
commit bf4aa758dd79dcb3f5d5abde79d679d17b18afa0 Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2026-01-20 18:58:22 +0000 Commit: Bjoern A. Zeeb <[email protected]> CommitDate: 2026-01-25 12:35:21 +0000 LinuxKPI: PTP add (*settime64) to struct ptp_clock_info While iwlwifi supportes PTP, LinuxKPI does not and we only add the definitons to avoid mangling upstream drivers. iwlwifi(4) does not even support the (*settime64) callback but only returns -EOPNOTSUPP. Sponosred by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D54802 --- sys/compat/linuxkpi/common/include/linux/ptp_clock_kernel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/ptp_clock_kernel.h b/sys/compat/linuxkpi/common/include/linux/ptp_clock_kernel.h index aad46cc25b1b..6491cbeab7e2 100644 --- a/sys/compat/linuxkpi/common/include/linux/ptp_clock_kernel.h +++ b/sys/compat/linuxkpi/common/include/linux/ptp_clock_kernel.h @@ -49,6 +49,7 @@ struct ptp_clock_info { int (*adjtime)(struct ptp_clock_info *, s64); int (*getcrosststamp)(struct ptp_clock_info *, struct system_device_crosststamp *); int (*gettime64)(struct ptp_clock_info *, struct timespec *); + int (*settime64)(struct ptp_clock_info *, const struct timespec *); }; static inline struct ptp_clock *
