]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Complete to commit Add basic skeleton for PTP
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 22 Jan 2020 09:21:13 +0000 (11:21 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Feb 2020 00:51:28 +0000 (16:51 -0800)
commit12a7d718e18d6ebb5b6edc4369c952034cd9c000
tree112a10afa87e0a1e9c29be84e0a0e123db52f6a6
parentea5b67277a0d18856e9a8eb49feee2b1bcb5d37f
igc: Complete to commit Add basic skeleton for PTP

commit d5794b1c61a9 ("igc: Add basic skeleton for PTP") added basic
support for PTP, what's missing is support for suspending.
Legacy power management has been added. Now we can add
the suspend method to the igc_shutdown.
By cleaning the runtime storage for timestamp this avoids a possible
invalid memory access when the system comes back from suspend state.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc.h
drivers/net/ethernet/intel/igc/igc_main.c
drivers/net/ethernet/intel/igc/igc_ptp.c