diff options
author | Jacob Keller | 2014-05-16 07:12:28 +0200 |
---|---|---|
committer | Jeff Kirsher | 2014-05-27 08:53:11 +0200 |
commit | 9966d1ee6d270a40b3f7b633c23a18e52968b77a (patch) | |
tree | 3f7f4017edac1e463f5e59aec8a04cb814a188c0 /drivers/net/ethernet/intel/ixgbe/ixgbe.h | |
parent | ixgbe: extract PTP clock device from ptp_init (diff) | |
download | kernel-qcow2-linux-9966d1ee6d270a40b3f7b633c23a18e52968b77a.tar.gz kernel-qcow2-linux-9966d1ee6d270a40b3f7b633c23a18e52968b77a.tar.xz kernel-qcow2-linux-9966d1ee6d270a40b3f7b633c23a18e52968b77a.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h index 4c0203b01941..ac9f2148cdc5 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe.h +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe.h @@ -957,6 +957,7 @@ static inline struct netdev_queue *txring_txq(const struct ixgbe_ring *ring) } void ixgbe_ptp_init(struct ixgbe_adapter *adapter); +void ixgbe_ptp_suspend(struct ixgbe_adapter *adapter); void ixgbe_ptp_stop(struct ixgbe_adapter *adapter); void ixgbe_ptp_overflow_check(struct ixgbe_adapter *adapter); void ixgbe_ptp_rx_hang(struct ixgbe_adapter *adapter); |