forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/mellanox/mlx4/Kconfig
....@@ -1,14 +1,14 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Mellanox driver configuration
34 #
45
56 config MLX4_EN
67 tristate "Mellanox Technologies 1/10/40Gbit Ethernet support"
7
- depends on MAY_USE_DEVLINK
88 depends on PCI && NETDEVICES && ETHERNET && INET
99 select MLX4_CORE
1010 imply PTP_1588_CLOCK
11
- ---help---
11
+ help
1212 This driver supports Mellanox Technologies ConnectX Ethernet
1313 devices.
1414
....@@ -16,7 +16,7 @@
1616 bool "Data Center Bridging (DCB) Support"
1717 default y
1818 depends on MLX4_EN && DCB
19
- ---help---
19
+ help
2020 Say Y here if you want to use Data Center Bridging (DCB) in the
2121 driver.
2222 If set to N, will not be able to configure QoS and ratelimit attributes.
....@@ -27,13 +27,14 @@
2727 config MLX4_CORE
2828 tristate
2929 depends on PCI
30
+ select NET_DEVLINK
3031 default n
3132
3233 config MLX4_DEBUG
3334 bool "Verbose debugging output" if (MLX4_CORE && EXPERT)
3435 depends on MLX4_CORE
3536 default y
36
- ---help---
37
+ help
3738 This option causes debugging code to be compiled into the
3839 mlx4_core driver. The output can be turned on via the
3940 debug_level module parameter (which can also be set after
....@@ -43,6 +44,6 @@
4344 bool "Support for old gen2 Mellanox PCI IDs" if (MLX4_CORE)
4445 depends on MLX4_CORE
4546 default y
46
- ---help---
47
+ help
4748 Say Y here if you want to use old gen2 Mellanox devices in the
4849 driver.