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 23/30] Use menuconfig objects - netdev

    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/drivers/net/Kconfig
    ===================================================================
    --- linux-2.6.21-rc5.orig/drivers/net/Kconfig
    +++ linux-2.6.21-rc5/drivers/net/Kconfig
    @@ -1897,8 +1897,12 @@ endmenu
    # Gigabit Ethernet
    #

    -menu "Ethernet (1000 Mbit)"
    +menuconfig NETDEV_1000
    + bool "Ethernet (1000 Mbit)"
    depends on !UML
    + default y
    +
    +if NETDEV_1000

    config ACENIC
    tristate "Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support"
    @@ -2327,14 +2331,18 @@ config ATL1
    To compile this driver as a module, choose M here. The module
    will be called atl1.

    -endmenu
    +endif # NETDEV_1000

    #
    # 10 Gigabit Ethernet
    #

    -menu "Ethernet (10000 Mbit)"
    +menuconfig NETDEV_10000
    + bool "Ethernet (10000 Mbit)"
    depends on !UML
    + default y
    +
    +if NETDEV_10000

    config CHELSIO_T1
    tristate "Chelsio 10Gb Ethernet support"
    @@ -2493,7 +2501,7 @@ config PASEMI_MAC
    This driver supports the on-chip 1/10Gbit Ethernet controller on
    PA Semi's PWRficient line of chips.

    -endmenu
    +endif # NETDEV_10000

    source "drivers/net/tokenring/Kconfig"

    #<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:41    [from the cache]
    ©2003-2014 Jasper Spaans. hosted at Digital Ocean