Commit e743b7f6 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Grzegorz Daniluk

shell/cmd_ptp: be able to set mechanism

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent d0c910dc
......@@ -17,6 +17,10 @@ struct subcmd {
} subcmd[] = {
{"start", wrc_ptp_run, 1},
{"stop", wrc_ptp_run, 0},
{"e2e", wrc_ptp_sync_mech, PP_E2E_MECH},
{"delay", wrc_ptp_sync_mech, PP_E2E_MECH},
{"p2p", wrc_ptp_sync_mech, PP_P2P_MECH},
{"pdelay", wrc_ptp_sync_mech, PP_P2P_MECH},
};
static int cmd_ptp(const char *args[])
......
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