mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +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>
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Myricom device configuration
|
|
#
|
|
|
|
config NET_VENDOR_MYRI
|
|
bool "Myricom devices"
|
|
default y
|
|
depends on PCI && INET
|
|
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 Myricom cards. If you say Y, you will be asked for
|
|
your specific card in the following questions.
|
|
|
|
if NET_VENDOR_MYRI
|
|
|
|
config MYRI10GE
|
|
tristate "Myricom Myri-10G Ethernet support"
|
|
depends on PCI && INET
|
|
select FW_LOADER
|
|
select CRC32
|
|
help
|
|
This driver supports Myricom Myri-10G Dual Protocol interface in
|
|
Ethernet mode. If the eeprom on your board is not recent enough,
|
|
you will need a newer firmware image.
|
|
You may get this image or more information, at:
|
|
|
|
<http://www.myri.com/scs/download-Myri10GE.html>
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called myri10ge.
|
|
|
|
config MYRI10GE_DCA
|
|
bool "Direct Cache Access (DCA) Support"
|
|
default y
|
|
depends on MYRI10GE && DCA && !(MYRI10GE=y && DCA=m)
|
|
help
|
|
Say Y here if you want to use Direct Cache Access (DCA) in the
|
|
driver. DCA is a method for warming the CPU cache before data
|
|
is used, with the intent of lessening the impact of cache misses.
|
|
|
|
endif # NET_VENDOR_MYRI
|