igb: support PEROUT on 82580/i354/i350
authorRuud Bos <kernel.hbk@gmail.com>
Thu, 28 Oct 2021 14:34:58 +0000 (16:34 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 29 Dec 2021 18:01:04 +0000 (10:01 -0800)
commit1819fc753aca18e6dcd283c98040e1ac4b963058
tree6429642aaead0b74ef63dd18d2b6cf57af63e968
parentcf99c1dd7b7729091043374b90807c7a5f9fd9b1
igb: support PEROUT on 82580/i354/i350

Support for the PEROUT PTP pin function on 82580/i354/i350 based adapters.
Because the time registers of these adapters do not have the nice split in
second rollovers as the i210 has, the implementation is slightly more
complex compared to the i210 implementation.

Signed-off-by: Ruud Bos <kernel.hbk@gmail.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c
drivers/net/ethernet/intel/igb/igb_ptp.c