Skip to content
Snippets Groups Projects
Commit dc4f3958 authored by Adam Wujek's avatar Adam Wujek
Browse files

Kconfig: remove _VAL entries


Remove _VAL entries from Kconfig*. Replace with a syntax:
prompt "" if XXX

Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
parent def4d25f
No related merge requests found
......@@ -666,8 +666,7 @@ config PTP_OPT_OVERWRITE_ATTRIBUTES
of the timing mode for the clock accuracy, the clock Allan variance.
config PTP_OPT_DOMAIN_NUMBER
int "domain-number"
depends on PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
int "domain-number" if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 0
range 0 255
help
......@@ -677,29 +676,17 @@ config PTP_OPT_DOMAIN_NUMBER
timescale. PTP devices may participate in multiple domains.
For more details please refer to the IEEE 1588-2019 standard.
config PTP_OPT_DOMAIN_NUMBER_VAL
int
default PTP_OPT_DOMAIN_NUMBER if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 0
config PTP_OPT_PRIORITY1
int "priority1"
depends on PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default "128"
int "priority1" if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 128
range 0 255
help
A user configurable designation that a clock belongs to an ordered
set of PTP devices from which a PTP Master is selected.
For more details please refer to the IEEE 1588-2019 standard
config PTP_OPT_PRIORITY1_VAL
int
default PTP_OPT_PRIORITY1 if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 128
config PTP_OPT_PRIORITY2
int "priority2"
depends on PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
int "priority2" if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 128
range 0 255
help
......@@ -707,14 +694,8 @@ config PTP_OPT_PRIORITY2
among otherwise equivalent PTP devices.
For more details please refer to the IEEE 1588-2019 standard
config PTP_OPT_PRIORITY2_VAL
int
default PTP_OPT_PRIORITY2 if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 128
config PTP_OPT_CLOCK_ACCURACY
int "clock-accuracy"
depends on PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
int "clock-accuracy" if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 33 if TIME_GM || TIME_ARB_GM
default 32 if TIME_FM
default 254
......@@ -724,16 +705,8 @@ config PTP_OPT_CLOCK_ACCURACY
oscillator) of a Boundary Clock or Ordinary Clock.
For more details please refer to the IEEE 1588-2019 standard.
config PTP_OPT_CLOCK_ACCURACY_VAL
int
default PTP_OPT_CLOCK_ACCURACY if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 33 if TIME_GM || TIME_ARB_GM
default 32 if TIME_FM
default 254
config PTP_OPT_CLOCK_ALLAN_VARIANCE
int "clock-allan-variance/offsetScaledLogVariance"
depends on PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
int "clock-allan-variance/offsetScaledLogVariance" if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 47360 if TIME_GM || TIME_ARB_GM
default 50973 if TIME_FM
default 65535
......@@ -743,16 +716,8 @@ config PTP_OPT_CLOCK_ALLAN_VARIANCE
Boundary Clock or Ordinary Clock.
For more details please refer to the IEEE 1588-2019 standard.
config PTP_OPT_CLOCK_ALLAN_VARIANCE_VAL
int
default PTP_OPT_CLOCK_ALLAN_VARIANCE if PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM
default 47360 if TIME_GM || TIME_ARB_GM
default 50973 if TIME_FM
default 65535
config PTP_OPT_TIME_SOURCE
int "time-source"
depends on (!TIME_BC) && (PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM)
int "time-source" if (!TIME_BC) && (PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM)
default 32 if TIME_GM || TIME_ARB_GM
default 160 if TIME_FM
default 160
......@@ -761,17 +726,8 @@ config PTP_OPT_TIME_SOURCE
This information-only attribute indicates the source of time used
by the grandmaster (or free-running master).
config PTP_OPT_TIME_SOURCE_VAL
int
default PTP_OPT_TIME_SOURCE if (!TIME_BC) && (PTP_OPT_OVERWRITE_ATTRIBUTES || TIME_CUSTOM)
default 32 if TIME_GM || TIME_ARB_GM
default 160 if TIME_FM
default 160
config PTP_OPT_CLOCK_CLASS
int "clock-class"
depends on TIME_CUSTOM
int "clock-class" if TIME_CUSTOM
default 6 if TIME_GM
range 6 6 if TIME_GM
default 13 if TIME_ARB_GM
......@@ -788,15 +744,6 @@ config PTP_OPT_CLOCK_CLASS
Boundary Clock or Ordinary Clock.
For more details please refer to the IEEE 1588-2019 standard.
config PTP_OPT_CLOCK_CLASS_VAL
int
default PTP_OPT_CLOCK_CLASS if TIME_CUSTOM
default 6 if TIME_GM
default 13 if TIME_ARB_GM
default 193 if TIME_FM
default 248 if TIME_BC
default 248 if TIME_CUSTOM
endmenu #"PPSI options"
source Kconfig_port_timing.in
......
This diff is collapsed.
......@@ -76,13 +76,13 @@ CONFIG_TIME_BC=y
# CONFIG_TIME_CUSTOM is not set
# CONFIG_PTP_OPT_PTP_VERSION_OVERWRITE is not set
# CONFIG_PTP_OPT_OVERWRITE_ATTRIBUTES is not set
CONFIG_PTP_OPT_DOMAIN_NUMBER_VAL=0
CONFIG_PTP_OPT_PRIORITY1_VAL=128
CONFIG_PTP_OPT_PRIORITY2_VAL=128
CONFIG_PTP_OPT_CLOCK_ACCURACY_VAL=254
CONFIG_PTP_OPT_CLOCK_ALLAN_VARIANCE_VAL=65535
CONFIG_PTP_OPT_TIME_SOURCE_VAL=160
CONFIG_PTP_OPT_CLOCK_CLASS_VAL=248
CONFIG_PTP_OPT_DOMAIN_NUMBER=0
CONFIG_PTP_OPT_PRIORITY1=128
CONFIG_PTP_OPT_PRIORITY2=128
CONFIG_PTP_OPT_CLOCK_ACCURACY=254
CONFIG_PTP_OPT_CLOCK_ALLAN_VARIANCE=65535
CONFIG_PTP_OPT_TIME_SOURCE=160
CONFIG_PTP_OPT_CLOCK_CLASS=248
#
# Port PTP/Timing configuration
......@@ -120,13 +120,14 @@ CONFIG_PORT01_INST01_EGRESS_LATENCY=238903
CONFIG_PORT01_INST01_INGRESS_LATENCY=275901
CONFIG_PORT01_INST01_T24P_TRANS_POINT=13600
# CONFIG_PORT01_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT01_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT01_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT01_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT01_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT01_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT01_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT01_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT01_INST01_SYNC_INTERVAL=0
# CONFIG_PORT01_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT01_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT01_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT01_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 2
......@@ -160,13 +161,14 @@ CONFIG_PORT02_INST01_EGRESS_LATENCY=239923
CONFIG_PORT02_INST01_INGRESS_LATENCY=278835
CONFIG_PORT02_INST01_T24P_TRANS_POINT=10800
# CONFIG_PORT02_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT02_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT02_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT02_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT02_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT02_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT02_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT02_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT02_INST01_SYNC_INTERVAL=0
# CONFIG_PORT02_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT02_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT02_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT02_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 3
......@@ -200,13 +202,14 @@ CONFIG_PORT03_INST01_EGRESS_LATENCY=238566
CONFIG_PORT03_INST01_INGRESS_LATENCY=277396
CONFIG_PORT03_INST01_T24P_TRANS_POINT=13650
# CONFIG_PORT03_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT03_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT03_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT03_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT03_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT03_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT03_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT03_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT03_INST01_SYNC_INTERVAL=0
# CONFIG_PORT03_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT03_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT03_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT03_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 4
......@@ -240,13 +243,14 @@ CONFIG_PORT04_INST01_EGRESS_LATENCY=239491
CONFIG_PORT04_INST01_INGRESS_LATENCY=277469
CONFIG_PORT04_INST01_T24P_TRANS_POINT=12150
# CONFIG_PORT04_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT04_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT04_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT04_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT04_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT04_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT04_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT04_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT04_INST01_SYNC_INTERVAL=0
# CONFIG_PORT04_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT04_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT04_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT04_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 5
......@@ -280,13 +284,14 @@ CONFIG_PORT05_INST01_EGRESS_LATENCY=238040
CONFIG_PORT05_INST01_INGRESS_LATENCY=277694
CONFIG_PORT05_INST01_T24P_TRANS_POINT=13550
# CONFIG_PORT05_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT05_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT05_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT05_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT05_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT05_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT05_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT05_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT05_INST01_SYNC_INTERVAL=0
# CONFIG_PORT05_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT05_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT05_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT05_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 6
......@@ -320,13 +325,14 @@ CONFIG_PORT06_INST01_EGRESS_LATENCY=237334
CONFIG_PORT06_INST01_INGRESS_LATENCY=277146
CONFIG_PORT06_INST01_T24P_TRANS_POINT=14500
# CONFIG_PORT06_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT06_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT06_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT06_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT06_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT06_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT06_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT06_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT06_INST01_SYNC_INTERVAL=0
# CONFIG_PORT06_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT06_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT06_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT06_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 7
......@@ -360,13 +366,14 @@ CONFIG_PORT07_INST01_EGRESS_LATENCY=237543
CONFIG_PORT07_INST01_INGRESS_LATENCY=278371
CONFIG_PORT07_INST01_T24P_TRANS_POINT=13950
# CONFIG_PORT07_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT07_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT07_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT07_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT07_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT07_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT07_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT07_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT07_INST01_SYNC_INTERVAL=0
# CONFIG_PORT07_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT07_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT07_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT07_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 8
......@@ -400,13 +407,14 @@ CONFIG_PORT08_INST01_EGRESS_LATENCY=237687
CONFIG_PORT08_INST01_INGRESS_LATENCY=278687
CONFIG_PORT08_INST01_T24P_TRANS_POINT=14450
# CONFIG_PORT08_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT08_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT08_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT08_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT08_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT08_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT08_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT08_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT08_INST01_SYNC_INTERVAL=0
# CONFIG_PORT08_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT08_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT08_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT08_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 9
......@@ -440,13 +448,14 @@ CONFIG_PORT09_INST01_EGRESS_LATENCY=238676
CONFIG_PORT09_INST01_INGRESS_LATENCY=278256
CONFIG_PORT09_INST01_T24P_TRANS_POINT=14750
# CONFIG_PORT09_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT09_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT09_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT09_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT09_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT09_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT09_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT09_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT09_INST01_SYNC_INTERVAL=0
# CONFIG_PORT09_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT09_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT09_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT09_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 10
......@@ -480,13 +489,14 @@ CONFIG_PORT10_INST01_EGRESS_LATENCY=238848
CONFIG_PORT10_INST01_INGRESS_LATENCY=278678
CONFIG_PORT10_INST01_T24P_TRANS_POINT=15100
# CONFIG_PORT10_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT10_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT10_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT10_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT10_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT10_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT10_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT10_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT10_INST01_SYNC_INTERVAL=0
# CONFIG_PORT10_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT10_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT10_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT10_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 11
......@@ -520,13 +530,14 @@ CONFIG_PORT11_INST01_EGRESS_LATENCY=238294
CONFIG_PORT11_INST01_INGRESS_LATENCY=279326
CONFIG_PORT11_INST01_T24P_TRANS_POINT=14500
# CONFIG_PORT11_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT11_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT11_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT11_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT11_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT11_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT11_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT11_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT11_INST01_SYNC_INTERVAL=0
# CONFIG_PORT11_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT11_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT11_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT11_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 12
......@@ -560,13 +571,14 @@ CONFIG_PORT12_INST01_EGRESS_LATENCY=239243
CONFIG_PORT12_INST01_INGRESS_LATENCY=278867
CONFIG_PORT12_INST01_T24P_TRANS_POINT=9850
# CONFIG_PORT12_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT12_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT12_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT12_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT12_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT12_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT12_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT12_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT12_INST01_SYNC_INTERVAL=0
# CONFIG_PORT12_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT12_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT12_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT12_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 13
......@@ -600,13 +612,14 @@ CONFIG_PORT13_INST01_EGRESS_LATENCY=225920
CONFIG_PORT13_INST01_INGRESS_LATENCY=231130
CONFIG_PORT13_INST01_T24P_TRANS_POINT=14150
# CONFIG_PORT13_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT13_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT13_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT13_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT13_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT13_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT13_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT13_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT13_INST01_SYNC_INTERVAL=0
# CONFIG_PORT13_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT13_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT13_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT13_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 14
......@@ -640,13 +653,14 @@ CONFIG_PORT14_INST01_EGRESS_LATENCY=226071
CONFIG_PORT14_INST01_INGRESS_LATENCY=233579
CONFIG_PORT14_INST01_T24P_TRANS_POINT=11950
# CONFIG_PORT14_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT14_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT14_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT14_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT14_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT14_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT14_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT14_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT14_INST01_SYNC_INTERVAL=0
# CONFIG_PORT14_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT14_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT14_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT14_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 15
......@@ -680,13 +694,14 @@ CONFIG_PORT15_INST01_EGRESS_LATENCY=226329
CONFIG_PORT15_INST01_INGRESS_LATENCY=233041
CONFIG_PORT15_INST01_T24P_TRANS_POINT=12900
# CONFIG_PORT15_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT15_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT15_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT15_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT15_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT15_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT15_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT15_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT15_INST01_SYNC_INTERVAL=0
# CONFIG_PORT15_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT15_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT15_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT15_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 16
......@@ -720,13 +735,14 @@ CONFIG_PORT16_INST01_EGRESS_LATENCY=226467
CONFIG_PORT16_INST01_INGRESS_LATENCY=232311
CONFIG_PORT16_INST01_T24P_TRANS_POINT=13800
# CONFIG_PORT16_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT16_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT16_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT16_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT16_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT16_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT16_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT16_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT16_INST01_SYNC_INTERVAL=0
# CONFIG_PORT16_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT16_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT16_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT16_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 17
......@@ -760,13 +776,14 @@ CONFIG_PORT17_INST01_EGRESS_LATENCY=226596
CONFIG_PORT17_INST01_INGRESS_LATENCY=230376
CONFIG_PORT17_INST01_T24P_TRANS_POINT=14200
# CONFIG_PORT17_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT17_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT17_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT17_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT17_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT17_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT17_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT17_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT17_INST01_SYNC_INTERVAL=0
# CONFIG_PORT17_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT17_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT17_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT17_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# PORT 18
......@@ -800,13 +817,14 @@ CONFIG_PORT18_INST01_EGRESS_LATENCY=226835
CONFIG_PORT18_INST01_INGRESS_LATENCY=230323
CONFIG_PORT18_INST01_T24P_TRANS_POINT=14350
# CONFIG_PORT18_INST01_ANNOUNCE_INTERVAL_OVERWRITE is not set
CONFIG_PORT18_INST01_ANNOUNCE_INTERVAL_VAL=1
CONFIG_PORT18_INST01_ANNOUNCE_INTERVAL=1
# CONFIG_PORT18_INST01_ANNOUNCE_RECEIPT_TIMEOUT_OVERWRITE is not set
CONFIG_PORT18_INST01_ANNOUNCE_RECEIPT_TIMEOUT_VAL=3
CONFIG_PORT18_INST01_ANNOUNCE_RECEIPT_TIMEOUT=3
# CONFIG_PORT18_INST01_SYNC_INTERVAL_OVERWRITE is not set
CONFIG_PORT18_INST01_SYNC_INTERVAL_VAL=0
CONFIG_PORT18_INST01_SYNC_INTERVAL=0
# CONFIG_PORT18_INST01_MIN_DELAY_REQ_INTERVAL_OVERWRITE is not set
CONFIG_PORT18_INST01_MIN_DELAY_REQ_INTERVAL_VAL=0
CONFIG_PORT18_INST01_MIN_DELAY_REQ_INTERVAL=0
CONFIG_PORT18_INST01_MIN_PDELAY_REQ_INTERVAL=0
#
# SFP and Media Timing Configuration
......
This diff is collapsed.
......@@ -401,22 +401,22 @@ declare -A inst_dotc_ppsi_key_mapping='(\
[DESIRADE_STATE_MASTER]="desiredState master" [DESIRADE_STATE_SLAVE]="desiredState slave" [DESIRADE_STATE_PASSIVE]="desiredState passive" \
[PTP_VERSION_2_0]="ptpVersion 2.0" \
[PTP_VERSION_2_1]="ptpVersion 2.1" \
[ANNOUNCE_INTERVAL_VAL]="logAnnounceInterval" \
[ANNOUNCE_RECEIPT_TIMEOUT_VAL]="announceReceiptTimeout" \
[SYNC_INTERVAL_VAL]="logSyncInterval" \
[MIN_DELAY_REQ_INTERVAL_VAL]="logMinDelayReqInterval" \
[MIN_PDELAY_REQ_INTERVAL_VAL]="logMinPDelayReqInterval" \
[ANNOUNCE_INTERVAL]="logAnnounceInterval" \
[ANNOUNCE_RECEIPT_TIMEOUT]="announceReceiptTimeout" \
[SYNC_INTERVAL]="logSyncInterval" \
[MIN_DELAY_REQ_INTERVAL]="logMinDelayReqInterval" \
[MIN_PDELAY_REQ_INTERVAL]="logMinPDelayReqInterval" \
[ASYMMETRY_CORRECTION_ENABLE]="asymmetryCorrectionEnable" \
[BMODE_MASTER_ONLY]="masterOnly" \
[EGRESS_LATENCY]="egressLatency" [INGRESS_LATENCY]="ingressLatency" \
[L1SYNC_ENABLED_VAL]="l1SyncEnabled" \
[L1SYNC_INTERVAL_VAL]="logL1SyncInterval" \
[L1SYNC_RECEIPT_TIMEOUT_VAL]="l1SyncReceiptTimeout" \
[L1SYNC_OPT_PARAMS_ENABLED_VAL]="l1SyncOptParamsEnabled" \
[L1SYNC_OPT_PARAMS_TS_CORRECTED_TX_ENABLED_VAL]="l1SyncTimestampsCorrectedTxEnabled" \
[L1SYNC_TX_COHERENT_IS_REQUIRED_VAL]="l1SyncTxCoherentIsRequired" \
[L1SYNC_RX_COHERENT_IS_REQUIRED_VAL]="l1SyncRxCoherentIsRequired" \
[L1SYNC_CONGRUENT_IS_REQUIRED_VAL]="l1SyncCongruentIsRequired" \
[L1SYNC_ENABLED]="l1SyncEnabled" \
[L1SYNC_INTERVAL]="logL1SyncInterval" \
[L1SYNC_RECEIPT_TIMEOUT]="l1SyncReceiptTimeout" \
[L1SYNC_OPT_PARAMS_ENABLED]="l1SyncOptParamsEnabled" \
[L1SYNC_OPT_PARAMS_TS_CORRECTED_TX_ENABLED]="l1SyncTimestampsCorrectedTxEnabled" \
[L1SYNC_TX_COHERENT_IS_REQUIRED]="l1SyncTxCoherentIsRequired" \
[L1SYNC_RX_COHERENT_IS_REQUIRED]="l1SyncRxCoherentIsRequired" \
[L1SYNC_CONGRUENT_IS_REQUIRED]="l1SyncCongruentIsRequired" \
[_VLAN]="vlan" \
[_FAKE1]="extAutonegotiation" \
)'
......@@ -450,8 +450,8 @@ else
globals[bmca]="ptp"
fi
if [ -n "$CONFIG_PTP_OPT_CLOCK_CLASS_VAL" ]; then
globals[clock-class]="$CONFIG_PTP_OPT_CLOCK_CLASS_VAL"
if [ -n "$CONFIG_PTP_OPT_CLOCK_CLASS" ]; then
globals[clock-class]="$CONFIG_PTP_OPT_CLOCK_CLASS"
else # Use BC as default
globals[clock-class]="248"
fi
......@@ -460,24 +460,24 @@ if [ -n "$CONFIG_PTP_OPT_CLOCK_ACCURACY" ]; then
globals[clock-accuracy]="$CONFIG_PTP_OPT_CLOCK_ACCURACY"
fi
if [ -n "$CONFIG_PTP_OPT_CLOCK_ALLAN_VARIANCE_VAL" ]; then
globals[clock-allan-variance]="$CONFIG_PTP_OPT_CLOCK_ALLAN_VARIANCE_VAL"
if [ -n "$CONFIG_PTP_OPT_CLOCK_ALLAN_VARIANCE" ]; then
globals[clock-allan-variance]="$CONFIG_PTP_OPT_CLOCK_ALLAN_VARIANCE"
fi
if [ -n "$CONFIG_PTP_OPT_TIME_SOURCE_VAL" ]; then
globals[time-source]="$CONFIG_PTP_OPT_TIME_SOURCE_VAL"
if [ -n "$CONFIG_PTP_OPT_TIME_SOURCE" ]; then
globals[time-source]="$CONFIG_PTP_OPT_TIME_SOURCE"
fi
if [ -n "$CONFIG_PTP_OPT_DOMAIN_NUMBER_VAL" ]; then
globals[domain-number]="$CONFIG_PTP_OPT_DOMAIN_NUMBER_VAL"
if [ -n "$CONFIG_PTP_OPT_DOMAIN_NUMBER" ]; then
globals[domain-number]="$CONFIG_PTP_OPT_DOMAIN_NUMBER"
fi
if [ -n "$CONFIG_PTP_OPT_PRIORITY1_VAL" ]; then
globals[priority1]="$CONFIG_PTP_OPT_PRIORITY1_VAL"
if [ -n "$CONFIG_PTP_OPT_PRIORITY1" ]; then
globals[priority1]="$CONFIG_PTP_OPT_PRIORITY1"
fi
if [ -n "$CONFIG_PTP_OPT_PRIORITY2_VAL" ]; then
globals[priority2]="$CONFIG_PTP_OPT_PRIORITY2_VAL"
if [ -n "$CONFIG_PTP_OPT_PRIORITY2" ]; then
globals[priority2]="$CONFIG_PTP_OPT_PRIORITY2"
fi
if [ -n "$CONFIG_PPSGEN_PTP_THRESHOLD_MS" ]; then
......
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