linux-loongson/drivers/net/ethernet/fungible/funeth/Kconfig
Lukas Bulwahn 5bee990f49 net: remove redundant config PCI dependency for some network driver configs
While reviewing dependencies in some Kconfig files, I noticed the redundant
dependency "depends on PCI && PCI_MSI". The config PCI_MSI has always,
since its introduction, been dependent on the config PCI. So, it is
sufficient to just depend on PCI_MSI, and know that the dependency on PCI
is implicitly implied.

Reduce the dependencies of some network driver configs.
No functional change and effective change of Kconfig dependendencies.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Dimitris Michailidis <dmichail@fungible.com>
Link: https://lore.kernel.org/r/20230111125855.19020-1-lukas.bulwahn@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-01-12 21:38:10 -08:00

18 lines
480 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
#
# Fungible Ethernet driver configuration
#
config FUN_ETH
tristate "Fungible Ethernet device driver"
depends on PCI_MSI
depends on TLS && TLS_DEVICE || TLS_DEVICE=n
select NET_DEVLINK
select FUN_CORE
help
This driver supports the Ethernet functionality of Fungible adapters.
It works with both physical and virtual functions.
To compile this driver as a module, choose M here. The module
will be called funeth.