diff options
author | Volodymyr Vorobiov <volodymyr.vorobiov@globallogic.com> | 2022-09-24 16:36:47 +0300 |
---|---|---|
committer | Volodymyr Vorobiov <volodymyr.vorobiov@globallogic.com> | 2022-09-24 16:36:47 +0300 |
commit | 077a8cbfc0f42e669178f6311c4a68f5aeb61f19 (patch) | |
tree | 2fc36a7650b73561db795870774095329f05a707 | |
parent | e3978729ce069a3a473299b029b8edfe4ffac44b (diff) | |
download | mts-id-eeprom-077a8cbfc0f42e669178f6311c4a68f5aeb61f19.tar.gz mts-id-eeprom-077a8cbfc0f42e669178f6311c4a68f5aeb61f19.tar.bz2 mts-id-eeprom-077a8cbfc0f42e669178f6311c4a68f5aeb61f19.zip |
[MTX-4639] [GP-1757] MTCDT3 - EEPROM review available settings and values format
update field names 'eth-switch-version' and 'eth-switch-mac-addr'
-rw-r--r-- | src/eeprom_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eeprom_main.c b/src/eeprom_main.c index 8745dbc..d2199a0 100644 --- a/src/eeprom_main.c +++ b/src/eeprom_main.c @@ -322,8 +322,8 @@ static int mtcdt3b_yaml_out(const char *name, struct mtcdt3b_eeprom_layout *mtcd mtcdt3b_eeprom->slot[i].lora_eui[7]); } fprintf(file, "capa-eth-switch: %s\n", DEVICE_CAPA(mtcdt3b_eeprom->capa, MTCDT3B_CAPA_ETH_SWITCH) ? "true" : "false"); - fprintf(file, "hw-version-eth-switch: %hu\n", mtcdt3b_eeprom->hw_version_eth_switch); - fprintf(file, "mac-eth-switch: \"%02X:%02X:%02X:%02X:%02X:%02X\"\n", + fprintf(file, "eth-switch-version: %hu\n", mtcdt3b_eeprom->hw_version_eth_switch); + fprintf(file, "eth-switch-mac-addr: \"%02X:%02X:%02X:%02X:%02X:%02X\"\n", mtcdt3b_eeprom->mac_eth_switch[0], mtcdt3b_eeprom->mac_eth_switch[1], mtcdt3b_eeprom->mac_eth_switch[2], @@ -536,8 +536,8 @@ static void mtcdt3b_eeprom_inspect(struct mtcdt3b_eeprom_layout *mtcdt3b_eeprom) mtcdt3b_eeprom->slot[i].lora_eui[7]); } log_info("capa-eth-switch: %s", DEVICE_CAPA(mtcdt3b_eeprom->capa, MTCDT3B_CAPA_ETH_SWITCH) ? "yes" : "no"); - log_info("hw-version-eth-switch: %hu", mtcdt3b_eeprom->hw_version_eth_switch); - log_info("mac-eth-switch: \"%02X:%02X:%02X:%02X:%02X:%02X\"", + log_info("eth-switch-version: %hu", mtcdt3b_eeprom->hw_version_eth_switch); + log_info("eth-switch-mac-addr: \"%02X:%02X:%02X:%02X:%02X:%02X\"", mtcdt3b_eeprom->mac_eth_switch[0], mtcdt3b_eeprom->mac_eth_switch[1], mtcdt3b_eeprom->mac_eth_switch[2], |