ixgbe: separate the PTP suspend and stop actions
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 16 May 2014 05:12:28 +0000 (05:12 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 27 May 2014 06:53:11 +0000 (23:53 -0700)
commit9966d1ee6d270a40b3f7b633c23a18e52968b77a
tree3f7f4017edac1e463f5e59aec8a04cb814a188c0
parent63328ada9ec778315ea6dd91d82014288a7e3d43
ixgbe: separate the PTP suspend and stop actions

Since we are adding proper support for suspend of PTP, extract out of
ixgbe_ptp_stop those things relevant to suspend. Then, have
ixgbe_ptp_stop call ixgbe_ptp_suspend. The next patch in the series will
have ixgbe_ptp_suspend called from the ixgbe_suspend path.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c