Commit 672c0cd5 authored by Adam Wujek's avatar Adam Wujek 💬

[FEATURE: 1524] Kconfig: add items for dot-config management

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 3a33270f
mainmenu "White Rabbit Switch configuration"
config DOTCONF_FW_VERSION
string "Firmware version"
default "5.0"
help
Free-text information about switch's firmware version. This field is
for information purpose only. Additionally this field describes
version of Kconfig.
config DOTCONF_HW_VERSION
string "Hardware version"
help
Free-text information about switch's Hardware version. This field is
for information purpose only.
config DOTCONF_INFO
string "Additional info about dot-config"
help
Free-text information about switch's dot-config. This field is
for information purpose only.
choice DOTCONF_SOURCE
prompt "Source for a run-time replacement of dot-config"
default DOTCONF_SOURCE_TRY_DHCP
......
......@@ -386,7 +386,28 @@ The configuration step creates @t{.config}, that you can copy to your
@sc{wrs} as @t{/wr/etc/dot-config}. After reboot, you'll see your
choices in effect.
The first configuration choice is about source of the @t{dot-config} file
The first three configuration items are free-text fields which are intended for
dot-config management purposed. As now (v5.0.1) these fields are not used for
any functionality on the switch.
@table @t
@item CONFIG_DOTCONF_FW_VERSION
@itemx CONFIG_DOTCONF_HW_VERSION
Free-text items to describe switch's firmware
@t{CONFIG_DOTCONF_FW_VERSION} and hardware
@t{CONFIG_DOTCONF_HW_VERSION} version. Additionally, the default value
of @t{CONFIG_DOTCONF_FW_VERSION} can be used as a version of a Kconfig
file.
@item CONFIG_DOTCONF_INFO
Free-text item to descibe additional information about dot-config.
@end table
The next configuration item is a choice about source of the @t{dot-config} file
(items starting with @t{CONFIG_DOTCONF_SOURCE_}). The following @t{dot-config}
sources are implemented in current version:
@table @t
......
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