lkml.org 
[lkml]   [2007]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 18/30] Use menuconfig objects - SCTP

    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>

    Index: linux-2.6.21-rc5/net/sctp/Kconfig
    ===================================================================
    --- linux-2.6.21-rc5.orig/net/sctp/Kconfig
    +++ linux-2.6.21-rc5/net/sctp/Kconfig
    @@ -2,11 +2,9 @@
    # SCTP configuration
    #

    -menu "SCTP Configuration (EXPERIMENTAL)"
    - depends on INET && EXPERIMENTAL
    -
    -config IP_SCTP
    +menuconfig IP_SCTP
    tristate "The SCTP Protocol (EXPERIMENTAL)"
    + depends on NET && EXPERIMENTAL
    depends on IPV6 || IPV6=n
    select CRYPTO if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
    select CRYPTO_HMAC if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
    @@ -36,9 +34,10 @@ config IP_SCTP

    If in doubt, say N.

    +if IP_SCTP
    +
    config SCTP_DBG_MSG
    bool "SCTP: Debug messages"
    - depends on IP_SCTP
    help
    If you say Y, this will enable verbose debugging messages.

    @@ -47,7 +46,6 @@ config SCTP_DBG_MSG

    config SCTP_DBG_OBJCNT
    bool "SCTP: Debug object counts"
    - depends on IP_SCTP
    help
    If you say Y, this will enable debugging support for counting the
    type of objects that are currently allocated. This is useful for
    @@ -59,7 +57,6 @@ config SCTP_DBG_OBJCNT

    choice
    prompt "SCTP: Cookie HMAC Algorithm"
    - depends on IP_SCTP
    default SCTP_HMAC_MD5
    help
    HMAC algorithm to be used during association initialization. It
    @@ -86,4 +83,5 @@ config SCTP_HMAC_MD5
    advised to use either HMAC-MD5 or HMAC-SHA1.

    endchoice
    -endmenu
    +
    +endif # IP_SCTP
    #<EOF>
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-04-10 23:31    [W:0.039 / U:0.384 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site