e1000e: extend PTP gettime function to read system clock
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 9 Nov 2018 10:14:46 +0000 (11:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Nov 2018 03:43:51 +0000 (19:43 -0800)
commit98942d70538a16cdc06389456a4cd0ea62559432
treec83e080554d6f656165214af617a574b4167c4fd
parent916444df305ef5b8a7d824aac7dd2aeba3a4db3b
e1000e: extend PTP gettime function to read system clock

This adds support for the PTP_SYS_OFFSET_EXTENDED ioctl.

Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Jacob Keller <jacob.e.keller@intel.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/ptp.c