Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
b34b11ef
Commit
b34b11ef
authored
Dec 10, 2020
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(non technical): fix typos
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
435f90cf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
Kconfig_port_timing.in
Kconfig_port_timing.in
+2
-2
gen_kconfig_port_timing.sh
userspace/host_tools/gen_kconfig_port_timing.sh
+2
-2
hal_shmem.h
userspace/libwr/include/libwr/hal_shmem.h
+1
-1
wrsMemoryGroup.c
userspace/snmpd/wrsMemoryGroup.c
+1
-1
wrsPstatsHCTable.c
userspace/snmpd/wrsPstatsHCTable.c
+1
-1
wr_mon.c
userspace/tools/wr_mon.c
+6
-6
No files found.
Kconfig_port_timing.in
View file @
b34b11ef
...
@@ -6,7 +6,7 @@ config PTP_OPT_EXT_PORT_CONFIG_ENABLED
...
@@ -6,7 +6,7 @@ config PTP_OPT_EXT_PORT_CONFIG_ENABLED
help
help
This option is used by the high accuracy profile to force the port state.
This option is used by the high accuracy profile to force the port state.
When set, BMCA is disabled.
When set, BMCA is disabled.
For more details please refer to the IEEE 1588-20
0
19 (clause 17.6.2)
For more details please refer to the IEEE 1588-2019 (clause 17.6.2)
config PTP_SLAVE_ONLY
config PTP_SLAVE_ONLY
depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED="n"
depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED="n"
...
@@ -15,7 +15,7 @@ config PTP_SLAVE_ONLY
...
@@ -15,7 +15,7 @@ config PTP_SLAVE_ONLY
help
help
A slaveOnly Ordinary Clock utilizes the slaveOnly state machine
A slaveOnly Ordinary Clock utilizes the slaveOnly state machine
which does not enable transition to MASTER state.
which does not enable transition to MASTER state.
For more details please refer to the IEEE 1588-20
0
19 (clause 9.2.2.1)
For more details please refer to the IEEE 1588-2019 (clause 9.2.2.1)
menu "PORT 1"
menu "PORT 1"
...
...
userspace/host_tools/gen_kconfig_port_timing.sh
View file @
b34b11ef
...
@@ -36,7 +36,7 @@ function print_header() {
...
@@ -36,7 +36,7 @@ function print_header() {
echo
-e
"
\t
help"
>>
$OUTPUT_FILE
echo
-e
"
\t
help"
>>
$OUTPUT_FILE
echo
-e
"
\t
This option is used by the high accuracy profile to force the port state."
>>
$OUTPUT_FILE
echo
-e
"
\t
This option is used by the high accuracy profile to force the port state."
>>
$OUTPUT_FILE
echo
-e
"
\t
When set, BMCA is disabled."
>>
$OUTPUT_FILE
echo
-e
"
\t
When set, BMCA is disabled."
>>
$OUTPUT_FILE
echo
-e
"
\t
For more details please refer to the IEEE 1588-20
0
19 (clause 17.6.2)"
>>
$OUTPUT_FILE
echo
-e
"
\t
For more details please refer to the IEEE 1588-2019 (clause 17.6.2)"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PTP_SLAVE_ONLY"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PTP_SLAVE_ONLY"
>>
$OUTPUT_FILE
echo
-e
"
\t
depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED=
\"
n
\"
"
>>
$OUTPUT_FILE
echo
-e
"
\t
depends on PTP_OPT_EXT_PORT_CONFIG_ENABLED=
\"
n
\"
"
>>
$OUTPUT_FILE
...
@@ -45,7 +45,7 @@ function print_header() {
...
@@ -45,7 +45,7 @@ function print_header() {
echo
-e
"
\t
help"
>>
$OUTPUT_FILE
echo
-e
"
\t
help"
>>
$OUTPUT_FILE
echo
-e
"
\t
A slaveOnly Ordinary Clock utilizes the slaveOnly state machine"
>>
$OUTPUT_FILE
echo
-e
"
\t
A slaveOnly Ordinary Clock utilizes the slaveOnly state machine"
>>
$OUTPUT_FILE
echo
-e
"
\t
which does not enable transition to MASTER state."
>>
$OUTPUT_FILE
echo
-e
"
\t
which does not enable transition to MASTER state."
>>
$OUTPUT_FILE
echo
-e
"
\t
For more details please refer to the IEEE 1588-20
0
19 (clause 9.2.2.1)"
>>
$OUTPUT_FILE
echo
-e
"
\t
For more details please refer to the IEEE 1588-2019 (clause 9.2.2.1)"
>>
$OUTPUT_FILE
}
}
function
print_footer
()
{
function
print_footer
()
{
...
...
userspace/libwr/include/libwr/hal_shmem.h
View file @
b34b11ef
...
@@ -47,7 +47,7 @@ typedef struct hal_port_calibration {
...
@@ -47,7 +47,7 @@ typedef struct hal_port_calibration {
uint32_t
delta_tx_phy
;
uint32_t
delta_tx_phy
;
uint32_t
delta_rx_phy
;
uint32_t
delta_rx_phy
;
/* bit slide expresse in picos */
/* bit slide expresse
d
in picos */
uint32_t
bitslide_ps
;
uint32_t
bitslide_ps
;
/* Current board routing delays (between the DDMTD inputs to
/* Current board routing delays (between the DDMTD inputs to
...
...
userspace/snmpd/wrsMemoryGroup.c
View file @
b34b11ef
...
@@ -42,7 +42,7 @@ time_t wrsMemory_data_fill(void)
...
@@ -42,7 +42,7 @@ time_t wrsMemory_data_fill(void)
f
=
fopen
(
MEMINFO_FILE
,
"r"
);
f
=
fopen
(
MEMINFO_FILE
,
"r"
);
if
(
!
f
)
{
if
(
!
f
)
{
snmp_log
(
LOG_ERR
,
"SNMP: "
SL_ER
snmp_log
(
LOG_ERR
,
"SNMP: "
SL_ER
" wrsMemoryGroup filed to open "
MEMINFO_FILE
"
\n
"
);
" wrsMemoryGroup f
a
iled to open "
MEMINFO_FILE
"
\n
"
);
/* notify snmp about error in kernel modules */
/* notify snmp about error in kernel modules */
return
time_update
;
return
time_update
;
...
...
userspace/snmpd/wrsPstatsHCTable.c
View file @
b34b11ef
...
@@ -115,7 +115,7 @@ wrsPstatsHCTable_data_fill(unsigned int *n_rows)
...
@@ -115,7 +115,7 @@ wrsPstatsHCTable_data_fill(unsigned int *n_rows)
f
=
fopen
(
fname
,
"r"
);
f
=
fopen
(
fname
,
"r"
);
if
(
!
f
)
{
if
(
!
f
)
{
snmp_log
(
LOG_ERR
,
snmp_log
(
LOG_ERR
,
"SNMP: wrsPstatsHCTable filed to open file "
"SNMP: wrsPstatsHCTable f
a
iled to open file "
"%s
\n
"
,
fname
);
"%s
\n
"
,
fname
);
continue
;
continue
;
}
}
...
...
userspace/tools/wr_mon.c
View file @
b34b11ef
...
@@ -184,7 +184,7 @@ static char * l1e_instance_extension_state[]={
...
@@ -184,7 +184,7 @@ static char * l1e_instance_extension_state[]={
#endif
#endif
static
char
*
timin
d
_mode_state
[]
=
{
static
char
*
timin
g
_mode_state
[]
=
{
[
WRH_TM_GRAND_MASTER
]
=
"GM"
,
[
WRH_TM_GRAND_MASTER
]
=
"GM"
,
[
WRH_TM_FREE_MASTER
]
=
"FR"
,
[
WRH_TM_FREE_MASTER
]
=
"FR"
,
[
WRH_TM_BOUNDARY_CLOCK
]
=
"BC"
,
[
WRH_TM_BOUNDARY_CLOCK
]
=
"BC"
,
...
@@ -407,13 +407,13 @@ int read_servo(void){
...
@@ -407,13 +407,13 @@ int read_servo(void){
/* Copy extra interesting data */
/* Copy extra interesting data */
{
{
currentDS_t
*
currenDS
;
currentDS_t
*
curren
t
DS
;
if
(
!
(
currenDS
=
wrs_shm_follow
(
ppsi_head
,
ppg
->
currentDS
)
)
)
if
(
!
(
curren
t
DS
=
wrs_shm_follow
(
ppsi_head
,
ppg
->
currentDS
)
)
)
break
;
break
;
servo
->
offsetFromMaster
=
currenDS
->
offsetFromMaster
;
/* currentDS.offsetFromMaster */
servo
->
offsetFromMaster
=
curren
t
DS
->
offsetFromMaster
;
/* currentDS.offsetFromMaster */
servo
->
meanDelay
=
currenDS
->
meanDelay
;
/* currentDS.meanDelay */
servo
->
meanDelay
=
curren
t
DS
->
meanDelay
;
/* currentDS.meanDelay */
}
}
{
{
portDS_t
*
portDS
;
portDS_t
*
portDS
;
...
@@ -638,7 +638,7 @@ void show_ports(int hal_alive, int ppsi_alive)
...
@@ -638,7 +638,7 @@ void show_ports(int hal_alive, int ppsi_alive)
if
(
ppsi_alive
&&
ppg_arch
!=
NULL
)
{
if
(
ppsi_alive
&&
ppg_arch
!=
NULL
)
{
term_cprintf
(
C_BLUE
,
"TimingMode: "
);
term_cprintf
(
C_BLUE
,
"TimingMode: "
);
term_cprintf
(
C_WHITE
,
"%s"
,
getStateAsString
(
timin
d
_mode_state
,((
wrs_arch_data_t
*
)
ppg_arch
)
->
timingMode
));
term_cprintf
(
C_WHITE
,
"%s"
,
getStateAsString
(
timin
g
_mode_state
,((
wrs_arch_data_t
*
)
ppg_arch
)
->
timingMode
));
term_cprintf
(
C_BLUE
,
" PLL locking state: "
);
term_cprintf
(
C_BLUE
,
" PLL locking state: "
);
term_cprintf
(
C_WHITE
,
"%s
\n
"
,
getStateAsString
(
pll_locking_state
,((
wrs_arch_data_t
*
)
ppg_arch
)
->
timingModeLockingState
));
term_cprintf
(
C_WHITE
,
"%s
\n
"
,
getStateAsString
(
pll_locking_state
,((
wrs_arch_data_t
*
)
ppg_arch
)
->
timingModeLockingState
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment