Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2026 02:29:25 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 18a67c10488a - stable/15 - LinuxKPI: PTP add (*settime64) to struct ptp_clock_info
Message-ID:  <69a10185.20476.4faf7875@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=18a67c10488a87297878c9cb6f56a08a55f56995

commit 18a67c10488a87297878c9cb6f56a08a55f56995
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-01-20 18:58:22 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-02-26 22:59:13 +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
    Reviewed by:    emaste
    Differential Revision: https://reviews.freebsd.org/D54802
    
    (cherry picked from commit bf4aa758dd79dcb3f5d5abde79d679d17b18afa0)
---
 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 *


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a10185.20476.4faf7875>