Commit bb7c2713 authored by Adam Wujek's avatar Adam Wujek 💬

Kconfig: add PTP_OPT_TIME_SOURCE config item

NOTE: This option is not supported yet by the PPSI.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent e5e3a0e3
......@@ -783,6 +783,13 @@ config PTP_OPT_PRIORITY2
If set, this configuration item overwrites the default value from
ppsi-pre.conf during generation of ppsi.conf.
config PTP_OPT_TIME_SOURCE
string "time-source"
help
This information-only attribute indicates the source of time used
by the grandmaster (or free-running master).
NOTE: This is not supported yet by the PPSi.
endmenu #"PPSI options"
menu "Management configuration"
......
......@@ -907,6 +907,12 @@ appropriate way, before the respective service is started.
If set, this configuration item overwrites the default value from
ppsi-pre.conf during generation of ppsi.conf.
@item CONFIG_PTP_OPT_TIME_SOURCE
This information-only attribute indicates the source of time used
by the grandmaster (or free-running master).
NOTE: This is not supported yet by the PPSi.
@item CONFIG_SNMP_TRAPSINK_ADDRESS
@itemx CONFIG_SNMP_TRAP2SINK_ADDRESS
@itemx CONFIG_SNMP_RO_COMMUNITY
......
......@@ -63,6 +63,11 @@ if [ -n "$CONFIG_PTP_OPT_PRIORITY2" ]; then
echo priority2 "$CONFIG_PTP_OPT_PRIORITY2" >> $OUTPUT_FILE
fi
if [ -n "$CONFIG_PTP_OPT_TIME_SOURCE" ]; then
echo time-source "$CONFIG_PTP_OPT_TIME_SOURCE" >> $OUTPUT_FILE
fi
# 2 new lines
echo -n -e "\n\n" >> $OUTPUT_FILE
......
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