Re: [PATCH net-next 2/3] net: usb: ax88179: Add PTP Implementation
From: Birger Koblitz
Date: Mon Nov 30 2026 - 00:19:14 EST
Hi Manuel,
thanks for reviewing!
On 29/11/2026 7:31 pm, Manuel Ebner wrote:
Will do.+++ b/drivers/net/usb/ax88179a_ptp.c
@@ -0,0 +1,845 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include <linux/ptp_clock_kernel.h>
+#include <linux/net_tstamp.h>
Sort headers alphabetically.
Will fix.+static int ax88179a_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm)Here's a double" "^^.
+{
+ long ppb = scaled_ppm_to_ppb(scaled_ppm);
+ struct ax88179a_ptp *ax88179a_ptp;
+ struct ax88179_data *ax179_data;
+ bool neg_adj = false;
+ u32 new_addend_val;
+ u64 adjust_val;
+ int ret = 0;
+
+ ax88179a_ptp = ptp_to_dev(ptp);
+ ax179_data = ax88179a_ptp->ax179_data;
Thanks a lot!
Reviewed-by: Manuel Ebner <manuelebnerli@xxxxxxxxxxx>
Thanks
Manuel
Birger