aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/igb.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-09-09 09:10:51 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-09-27 19:00:52 -0700
commitac28b41aac35e1000712aaa3aee19bf30fd9a312 (patch)
treeb2cbfb10e945b8f88a7276aca18b66cde15476f8 /drivers/net/ethernet/intel/igb/igb.h
parentigb: bump version to igb-5.4.0 (diff)
downloadlinux-dev-ac28b41aac35e1000712aaa3aee19bf30fd9a312.tar.xz
linux-dev-ac28b41aac35e1000712aaa3aee19bf30fd9a312.zip
igb: restore PPS signal on igb_ptp_reset
When a reset occurs, the PPS SYS_WRAP interrupt was not re-enabled which resulted in disabling of the PPS signaling. Fix this by recording when the interrupt is on and ensuring that we re-enable it every time we reset. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb.h')
-rw-r--r--drivers/net/ethernet/intel/igb/igb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb.h b/drivers/net/ethernet/intel/igb/igb.h
index 03fbe4b7663b..d11093dce1b9 100644
--- a/drivers/net/ethernet/intel/igb/igb.h
+++ b/drivers/net/ethernet/intel/igb/igb.h
@@ -489,6 +489,7 @@ struct igb_adapter {
struct timecounter tc;
u32 tx_hwtstamp_timeouts;
u32 rx_hwtstamp_cleared;
+ bool pps_sys_wrap_on;
struct ptp_pin_desc sdp_config[IGB_N_SDP];
struct {