diff options
author | Miroslav Lichvar <mlichvar@redhat.com> | 2018-12-03 13:59:42 +0100 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-12-20 05:06:00 -0800 |
commit | 4a0475d57ad134429f9bb56068bb738b4afc5992 (patch) | |
tree | 732560128a19a73aacdab980e52bed3d473a5a34 /drivers/net/ethernet/arc/emac_rockchip.c | |
parent | 5d8678365c90b9ce1fd2243ff5ea562609f6cec1 (diff) | |
download | linux-4a0475d57ad134429f9bb56068bb738b4afc5992.tar.bz2 |
mlx5: extend PTP gettime function to read system clock
Read the system time right before and immediately after reading the low
register of the internal timer. This adds support for the
PTP_SYS_OFFSET_EXTENDED ioctl.
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/arc/emac_rockchip.c')
0 files changed, 0 insertions, 0 deletions