mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
devlink: add a new info version tag
Add definition and documentation for the new generic info "board.part_number". The new one is for part number specific use, and board.id is modified to match the documentation in devlink-info. Signed-off-by: Fei Qin <fei.qin@corigine.com> Signed-off-by: Louis Peens <louis.peens@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
697a6c8cec
commit
3bb946c9d3
2 changed files with 8 additions and 1 deletions
|
@ -146,6 +146,11 @@ board.manufacture
|
||||||
|
|
||||||
An identifier of the company or the facility which produced the part.
|
An identifier of the company or the facility which produced the part.
|
||||||
|
|
||||||
|
board.part_number
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
Part number of the board and its components.
|
||||||
|
|
||||||
fw
|
fw
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
|
@ -599,12 +599,14 @@ enum devlink_param_generic_id {
|
||||||
.validate = _validate, \
|
.validate = _validate, \
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Part number, identifier of board design */
|
/* Identifier of board design */
|
||||||
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_ID "board.id"
|
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_ID "board.id"
|
||||||
/* Revision of board design */
|
/* Revision of board design */
|
||||||
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_REV "board.rev"
|
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_REV "board.rev"
|
||||||
/* Maker of the board */
|
/* Maker of the board */
|
||||||
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_MANUFACTURE "board.manufacture"
|
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_MANUFACTURE "board.manufacture"
|
||||||
|
/* Part number of the board and its components */
|
||||||
|
#define DEVLINK_INFO_VERSION_GENERIC_BOARD_PART_NUMBER "board.part_number"
|
||||||
|
|
||||||
/* Part number, identifier of asic design */
|
/* Part number, identifier of asic design */
|
||||||
#define DEVLINK_INFO_VERSION_GENERIC_ASIC_ID "asic.id"
|
#define DEVLINK_INFO_VERSION_GENERIC_ASIC_ID "asic.id"
|
||||||
|
|
Loading…
Add table
Reference in a new issue