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

Kconfig: update description of ppsi configuration

Description was outdated because ppsi config is generated based on
the PORTXX_PARAMS not TIME_XX.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent b1e7fd75
......@@ -551,26 +551,19 @@ endchoice
choice
prompt "PTP Port Assignment"
default PTP_PORT_PARAMS
help
You can choose wether to use parameters defined in PORTXX_PARAMS or
your own custom configuration file placed in switch filesystem
or downloaded at boot time.
config PTP_PORT_PARAMS
bool "Raw Ethernet, WR on, Slave on wri1, Master on other ports"
bool "Generate ppsi.conf based on the PORTXX_PARAMS"
help
You can choose wether to use parameters defined in PORTXX_PARAMS or
your own custom configuration file defined by
CONFIG_PTP_CUSTOM_FILENAME.
The default setting for boundary clock forces port wri1
to be PTP slave and all other ports to be master, in
Ethernet mode and with full WR protocol extensions. The default
for a Grand-Master or Free-Running master has all ports as
master ports. PPSI's global settings can be set in file
Generate ppsi.conf based on "proto" and "role" specified for each
port in PORTXX_PARAMS.
PPSI's global settings can be set in file
/wr/etc/ppsi-pre.conf
Other predefined choices select more flexible configuration used
mainly for test purposes. Any special need can be addressed by
providing your own configuration file defined by
CONFIG_PTP_CUSTOM_FILENAME, that you should copy to your switch.
config PTP_CUSTOM
bool "Custom ppsi.conf in the WRS filesystem"
help
......
......@@ -709,10 +709,7 @@ value is changed by the web interface, proper action is taken.
@itemx CONFIG_PTP_REMOTE_CONF
By default, PPSi configuration file is assembled based on role and
protocol parameters stored in @t{PORTxx_PARAMS}. @t{TIME_BC} selected
by @i{Kconfig} defaults role of port @t{wri1} to slave, other ports
to master. For @t{TIME_GM} and @t{TIME_FM} all ports are mandated to
master.
protocol parameters stored in @t{PORTxx_PARAMS}.
Parameters @t{clock-class} and @t{clock-accuracy} can be changed
or new global PPSi settings can be added by editing file
@t{/wr/etc/ppsi-pre.conf}, which is used as begging of final
......
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