OSDN Git Service

net/mlx5: Imply MLXFW in mlx5_core
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 7 May 2019 20:15:20 +0000 (13:15 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 17 May 2019 20:16:47 +0000 (13:16 -0700)
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>
drivers/net/ethernet/mellanox/mlx5/core/Kconfig

index 9aca808..88ccfcf 100644 (file)
@@ -8,6 +8,7 @@ config MLX5_CORE
        select NET_DEVLINK
        imply PTP_1588_CLOCK
        imply VXLAN
+       imply MLXFW
        default n
        ---help---
          Core driver for low level functionality of the ConnectX-4 and