From: David S. Miller Date: Wed, 15 Feb 2017 17:42:54 +0000 (-0500) Subject: Merge branch 'qed-ptp' X-Git-Tag: v4.11-rc1~124^2~93 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=dfb011d241e26ebe8ac05aaa2597f00ac2918122;p=linux.git Merge branch 'qed-ptp' Yuval Mintz says: ==================== qed*: Add support for PTP This patch series adds required changes for qed/qede drivers for supporting the IEEE Precision Time Protocol (PTP). Changes from previous versions: v7: Fixed Kbuild robot warnings. v6: Corrected broken loop iteration in previous version. Reduced approximation error of adjfreq. v5: Removed two divisions from the adjust-frequency loop. Resulting logic would use 8 divisions [instead of 24]. v4: Remove the loop iteration for value '0' in the qed_ptp_hw_adjfreq() implementation. v3: Use div_s64 for 64-bit divisions as do_div gives error for signed types. Incorporated review comments from Richard Cochran. - Clear timestamp resgisters as soon as timestamp is read. - Use shift operation in the place of 'divide by 16'. v2: Use do_div for 64-bit divisions. ==================== Acked-by: Richard Cochran Signed-off-by: David S. Miller --- dfb011d241e26ebe8ac05aaa2597f00ac2918122