提交 3df25df3 编写于 作者: J Jan Engelhardt 提交者: David S. Miller

[DCCP]: Use menuconfig objects.

Use menuconfigs instead of menus, so the whole menu can be disabled at
once instead of going through all options.
Signed-off-by: NJan Engelhardt <jengelh@gmx.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 7e7a2d07
menu "DCCP Configuration (EXPERIMENTAL)" menuconfig IP_DCCP
depends on INET && EXPERIMENTAL
config IP_DCCP
tristate "The DCCP Protocol (EXPERIMENTAL)" tristate "The DCCP Protocol (EXPERIMENTAL)"
depends on INET && EXPERIMENTAL
---help--- ---help---
Datagram Congestion Control Protocol (RFC 4340) Datagram Congestion Control Protocol (RFC 4340)
...@@ -19,19 +17,20 @@ config IP_DCCP ...@@ -19,19 +17,20 @@ config IP_DCCP
If in doubt, say N. If in doubt, say N.
if IP_DCCP
config INET_DCCP_DIAG config INET_DCCP_DIAG
depends on IP_DCCP && INET_DIAG depends on INET_DIAG
def_tristate y if (IP_DCCP = y && INET_DIAG = y) def_tristate y if (IP_DCCP = y && INET_DIAG = y)
def_tristate m def_tristate m
config IP_DCCP_ACKVEC config IP_DCCP_ACKVEC
depends on IP_DCCP
bool bool
source "net/dccp/ccids/Kconfig" source "net/dccp/ccids/Kconfig"
menu "DCCP Kernel Hacking" menu "DCCP Kernel Hacking"
depends on IP_DCCP && DEBUG_KERNEL=y depends on DEBUG_KERNEL=y
config IP_DCCP_DEBUG config IP_DCCP_DEBUG
bool "DCCP debug messages" bool "DCCP debug messages"
...@@ -61,4 +60,4 @@ config NET_DCCPPROBE ...@@ -61,4 +60,4 @@ config NET_DCCPPROBE
endmenu endmenu
endmenu endif # IP_DDCP
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册