Commit b34b11ef authored by Adam Wujek's avatar Adam Wujek

(non technical): fix typos

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 435f90cf
...@@ -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-20019 (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-20019 (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"
......
...@@ -36,7 +36,7 @@ function print_header() { ...@@ -36,7 +36,7 @@ function print_header() {
echo -e "\thelp" >>$OUTPUT_FILE echo -e "\thelp" >>$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-20019 (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 "\nconfig PTP_SLAVE_ONLY" >>$OUTPUT_FILE echo -e "\nconfig PTP_SLAVE_ONLY" >>$OUTPUT_FILE
echo -e "\tdepends on PTP_OPT_EXT_PORT_CONFIG_ENABLED=\"n\" " >>$OUTPUT_FILE echo -e "\tdepends 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 "\thelp" >>$OUTPUT_FILE echo -e "\thelp" >>$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-20019 (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() {
......
...@@ -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 expressed 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
......
...@@ -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 failed 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;
......
...@@ -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 failed to open file "
"%s\n", fname); "%s\n", fname);
continue; continue;
} }
......
...@@ -184,7 +184,7 @@ static char * l1e_instance_extension_state[]={ ...@@ -184,7 +184,7 @@ static char * l1e_instance_extension_state[]={
#endif #endif
static char * timind_mode_state[] = { static char * timing_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 *currentDS;
if ( !(currenDS = wrs_shm_follow(ppsi_head, ppg->currentDS) ) ) if ( !(currentDS = wrs_shm_follow(ppsi_head, ppg->currentDS) ) )
break; break;
servo->offsetFromMaster=currenDS->offsetFromMaster; /* currentDS.offsetFromMaster */ servo->offsetFromMaster=currentDS->offsetFromMaster; /* currentDS.offsetFromMaster */
servo->meanDelay=currenDS->meanDelay; /* currentDS.meanDelay */ servo->meanDelay=currentDS->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(timind_mode_state,((wrs_arch_data_t *)ppg_arch)->timingMode)); term_cprintf(C_WHITE, "%s",getStateAsString(timing_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));
} }
......
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