summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/Kconfig
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2022-07-25 11:29:17 +0300
committerJakub Kicinski <kuba@kernel.org>2022-07-26 23:50:51 +0300
commitbd02fd76d1909637c95e8ef13e7fd1e748af910d (patch)
treec7facad089cb99dd047cd8251af2b9e29239670a /drivers/net/ethernet/mellanox/mlxsw/Kconfig
parent7b2d9a1a50ec3bedf067fe234a4a71196c89e826 (diff)
downloadlinux-bd02fd76d1909637c95e8ef13e7fd1e748af910d.tar.xz
mlxsw: core_linecards: Introduce per line card auxiliary device
In order to be eventually able to expose line card gearbox version and possibility to flash FW, model the line card as a separate device on auxiliary bus. Add the auxiliary device for provisioned line card in order to be able to expose provisioned line card info over devlink dev info. When the line card becomes active, there may be other additional info added to the output. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/Kconfig')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/Kconfig b/drivers/net/ethernet/mellanox/mlxsw/Kconfig
index 4683312861ac..a510bf2cff2f 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/Kconfig
+++ b/drivers/net/ethernet/mellanox/mlxsw/Kconfig
@@ -7,6 +7,7 @@ config MLXSW_CORE
tristate "Mellanox Technologies Switch ASICs support"
select NET_DEVLINK
select MLXFW
+ select AUXILIARY_BUS
help
This driver supports Mellanox Technologies Switch ASICs family.