mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 21:28:03 +07:00
93c1edb27f
Add core components of Mellanox switch driver infrastructure. Core infrastructure is designed so that it can be used by multiple bus drivers (PCI now, I2C and SGMII are planned to be implemented in the future). Multiple switch kind drivers can be registered as well. This core serves as a glue between buses and drivers. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Elad Raz <eladr@mellanox.com> Reviewed-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
24 lines
677 B
Plaintext
24 lines
677 B
Plaintext
#
|
|
# Mellanox driver configuration
|
|
#
|
|
|
|
config NET_VENDOR_MELLANOX
|
|
bool "Mellanox devices"
|
|
default y
|
|
depends on PCI
|
|
---help---
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about Mellanox cards. If you say Y, you will be asked
|
|
for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_MELLANOX
|
|
|
|
source "drivers/net/ethernet/mellanox/mlx4/Kconfig"
|
|
source "drivers/net/ethernet/mellanox/mlx5/core/Kconfig"
|
|
source "drivers/net/ethernet/mellanox/mlxsw/Kconfig"
|
|
|
|
endif # NET_VENDOR_MELLANOX
|