]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Export a way to read the PTP timer
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Wed, 2 Sep 2020 23:36:56 +0000 (16:36 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 28 Sep 2020 21:42:46 +0000 (14:42 -0700)
commit7a987c48039131bc2dcf78b915253ce2ee92910d
treef6aa336c8f6789db7a93949206c096a74b259e39
parent6ade4791847b6b953efa5b953a5c1f0a9ccb283e
igc: Export a way to read the PTP timer

The next patch will need a way to retrieve the current timestamp from
the NIC's PTP clock.

The 'i225' suffix is removed, if anything model specific is needed,
those specifics should be hidden by this function.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc.h
drivers/net/ethernet/intel/igc/igc_ptp.c