diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-07-25 11:29:17 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-26 23:50:51 +0300 |
commit | bd02fd76d1909637c95e8ef13e7fd1e748af910d (patch) | |
tree | c7facad089cb99dd047cd8251af2b9e29239670a /drivers/net/ethernet/mellanox/mlxsw/Makefile | |
parent | 7b2d9a1a50ec3bedf067fe234a4a71196c89e826 (diff) | |
download | linux-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/Makefile')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/Makefile b/drivers/net/ethernet/mellanox/mlxsw/Makefile index c2d6d64ffe4b..3ca9fce759ea 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/Makefile +++ b/drivers/net/ethernet/mellanox/mlxsw/Makefile @@ -2,7 +2,7 @@ obj-$(CONFIG_MLXSW_CORE) += mlxsw_core.o mlxsw_core-objs := core.o core_acl_flex_keys.o \ core_acl_flex_actions.o core_env.o \ - core_linecards.o + core_linecards.o core_linecard_dev.o mlxsw_core-$(CONFIG_MLXSW_CORE_HWMON) += core_hwmon.o mlxsw_core-$(CONFIG_MLXSW_CORE_THERMAL) += core_thermal.o obj-$(CONFIG_MLXSW_PCI) += mlxsw_pci.o |