]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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:21:56 +0000 (18:21 +0200)
[ 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

index 37a551436e4ab7a5ac36752dd237ef9e6d931ad8..b7e3b8902e7e540627d247a349cc998bc3b88717 100644 (file)
@@ -8,6 +8,7 @@ config MLX5_CORE
        depends on PCI
        imply PTP_1588_CLOCK
        imply VXLAN
+       imply MLXFW
        default n
        ---help---
          Core driver for low level functionality of the ConnectX-4 and