]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Imply MLXFW in mlx5_core
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 7 May 2019 20:15:20 +0000 (13:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 May 2019 16:16:17 +0000 (18:16 +0200)
commitabf7b7f7cba6daf07048a9d99083ee60ee60d2a5
treead25f84a56c096ee4f4eaa2dd9a245bde429cfc2
parentfeded96a7ddbfd60e6e8383f3d59a1cdfa1a97b3
net/mlx5: Imply MLXFW in mlx5_core

[ Upstream commit bad861f31bb15a99becef31aab59640eaeb247e2 ]

mlxfw can be compiled as external module while mlx5_core can be
builtin, in such case mlx5 will act like mlxfw is disabled.

Since mlxfw is just a service library for mlx* drivers,
imply it in mlx5_core to make it always reachable if it was enabled.

Fixes: 3ffaabecd1a1 ("net/mlx5e: Support the flash device ethtool callback")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig