diff options
author | David S. Miller <davem@davemloft.net> | 2017-02-15 12:42:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-15 12:42:54 -0500 |
commit | dfb011d241e26ebe8ac05aaa2597f00ac2918122 (patch) | |
tree | 9ea214d52889e57fd7532a8039509a7fe86a1d5e /drivers/ptp | |
parent | b93f79bea9c1fcb1dd4619eaa528b6a5688c3ece (diff) | |
parent | 4c55215c05d252e975930fe08ff418d02e002ceb (diff) |
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 <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions