Commit 70a48bf3 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk Committed by Alessandro Rubini

disable 1-PPS output when PTP is stopped

parent eec0286f
...@@ -202,6 +202,7 @@ int wrc_ptp_stop() ...@@ -202,6 +202,7 @@ int wrc_ptp_stop()
{ {
struct pp_instance *ppi = &ppi_static; struct pp_instance *ppi = &ppi_static;
shw_pps_gen_enable_output(0);
/* Moving fiber: forget about this parent (FIXME: shouldn't be here) */ /* Moving fiber: forget about this parent (FIXME: shouldn't be here) */
WR_DSPOR(ppi)->parentWrConfig = WR_DSPOR(ppi)->parentWrModeOn = 0; WR_DSPOR(ppi)->parentWrConfig = WR_DSPOR(ppi)->parentWrModeOn = 0;
memset(ppi->frgn_master, 0, sizeof(ppi->frgn_master)); memset(ppi->frgn_master, 0, sizeof(ppi->frgn_master));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment