Skip to content

Commit

Permalink
[DCCP]: Use menuconfig objects.
Browse files Browse the repository at this point in the history
Use menuconfigs instead of menus, so the whole menu can be disabled at
once instead of going through all options.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jan Engelhardt authored and David S. Miller committed May 24, 2007
1 parent 7e7a2d0 commit 3df25df
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions net/dccp/Kconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
menu "DCCP Configuration (EXPERIMENTAL)"
depends on INET && EXPERIMENTAL

config IP_DCCP
menuconfig IP_DCCP
tristate "The DCCP Protocol (EXPERIMENTAL)"
depends on INET && EXPERIMENTAL
---help---
Datagram Congestion Control Protocol (RFC 4340)

Expand All @@ -19,19 +17,20 @@ config IP_DCCP

If in doubt, say N.

if IP_DCCP

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 m

config IP_DCCP_ACKVEC
depends on IP_DCCP
bool

source "net/dccp/ccids/Kconfig"

menu "DCCP Kernel Hacking"
depends on IP_DCCP && DEBUG_KERNEL=y
depends on DEBUG_KERNEL=y

config IP_DCCP_DEBUG
bool "DCCP debug messages"
Expand Down Expand Up @@ -61,4 +60,4 @@ config NET_DCCPPROBE

endmenu

endmenu
endif # IP_DDCP

0 comments on commit 3df25df

Please sign in to comment.