Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
99
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
de513ea6
Commit
de513ea6
authored
1 year ago
by
Adam Wujek
Browse files
Options
Downloads
Patches
Plain Diff
[BUG:
#312
] Kconfig_port_timing.in: don't allow setting ports to slave for GM
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
b40cd12e
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Kconfig_port_timing.in
+18
-0
18 additions, 0 deletions
Kconfig_port_timing.in
userspace/host_tools/gen_kconfig_port_timing.sh
+1
-0
1 addition, 0 deletions
userspace/host_tools/gen_kconfig_port_timing.sh
with
19 additions
and
0 deletions
Kconfig_port_timing.in
+
18
−
0
View file @
de513ea6
...
...
@@ -113,6 +113,7 @@ choice
bool "Master"
config PORT01_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT01_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -559,6 +560,7 @@ choice
bool "Master"
config PORT02_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT02_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -1005,6 +1007,7 @@ choice
bool "Master"
config PORT03_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT03_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -1451,6 +1454,7 @@ choice
bool "Master"
config PORT04_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT04_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -1897,6 +1901,7 @@ choice
bool "Master"
config PORT05_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT05_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -2343,6 +2348,7 @@ choice
bool "Master"
config PORT06_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT06_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -2789,6 +2795,7 @@ choice
bool "Master"
config PORT07_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT07_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -3235,6 +3242,7 @@ choice
bool "Master"
config PORT08_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT08_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -3681,6 +3689,7 @@ choice
bool "Master"
config PORT09_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT09_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -4127,6 +4136,7 @@ choice
bool "Master"
config PORT10_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT10_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -4573,6 +4583,7 @@ choice
bool "Master"
config PORT11_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT11_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -5019,6 +5030,7 @@ choice
bool "Master"
config PORT12_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT12_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -5465,6 +5477,7 @@ choice
bool "Master"
config PORT13_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT13_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -5911,6 +5924,7 @@ choice
bool "Master"
config PORT14_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT14_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -6357,6 +6371,7 @@ choice
bool "Master"
config PORT15_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT15_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -6803,6 +6818,7 @@ choice
bool "Master"
config PORT16_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT16_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -7249,6 +7265,7 @@ choice
bool "Master"
config PORT17_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT17_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
@@ -7695,6 +7712,7 @@ choice
bool "Master"
config PORT18_INST01_DESIRADE_STATE_SLAVE
bool "Slave"
depends on !TIME_GM
config PORT18_INST01_DESIRADE_STATE_PASSIVE
bool "Passive"
endchoice
...
...
This diff is collapsed.
Click to expand it.
userspace/host_tools/gen_kconfig_port_timing.sh
+
1
−
0
View file @
de513ea6
...
...
@@ -171,6 +171,7 @@ function print_instance_header() {
echo
-e
" bool
\"
Master
\"
"
>>
$OUTPUT_FILE
echo
-e
" config PORT
${
portStr
}
_INST
${
instStr
}
_DESIRADE_STATE_SLAVE"
>>
$OUTPUT_FILE
echo
-e
" bool
\"
Slave
\"
"
>>
$OUTPUT_FILE
echo
-e
" depends on !TIME_GM"
>>
$OUTPUT_FILE
echo
-e
" config PORT
${
portStr
}
_INST
${
instStr
}
_DESIRADE_STATE_PASSIVE"
>>
$OUTPUT_FILE
echo
-e
" bool
\"
Passive
\"
"
>>
$OUTPUT_FILE
echo
-e
"endchoice"
>>
$OUTPUT_FILE
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment