mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 21:14:44 +08:00
a7f7f6248d
Since commit 84af7a6194
("checkpatch: kconfig: prefer 'help' over
'---help---'"), the number of '---help---' has been gradually
decreasing, but there are still more than 2400 instances.
This commit finishes the conversion. While I touched the lines,
I also fixed the indentation.
There are a variety of indentation styles found.
a) 4 spaces + '---help---'
b) 7 spaces + '---help---'
c) 8 spaces + '---help---'
d) 1 space + 1 tab + '---help---'
e) 1 tab + '---help---' (correct indentation)
f) 1 tab + 1 space + '---help---'
g) 1 tab + 2 spaces + '---help---'
In order to convert all of them to 1 tab + 'help', I ran the
following commend:
$ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
27 lines
784 B
Plaintext
27 lines
784 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Mellanox driver configuration
|
|
#
|
|
|
|
config NET_VENDOR_MELLANOX
|
|
bool "Mellanox devices"
|
|
default y
|
|
depends on PCI || I2C
|
|
help
|
|
If you have a network (Ethernet or RDMA) device 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"
|
|
source "drivers/net/ethernet/mellanox/mlxfw/Kconfig"
|
|
|
|
endif # NET_VENDOR_MELLANOX
|