]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARCNET]: Use menuconfig objects.
authorJan Engelhardt <jengelh@gmx.de>
Wed, 23 May 2007 21:50:18 +0000 (14:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 24 May 2007 23:36:51 +0000 (16:36 -0700)
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>
drivers/net/arcnet/Kconfig

index 7284ccad0b919383a72ef6da0589c1d256cc6a8e..4030274fe788d1bf3f1e7f0fdc3f589965856bb0 100644 (file)
@@ -2,10 +2,8 @@
 # Arcnet configuration
 #
 
-menu "ARCnet devices"
+menuconfig ARCNET
        depends on NETDEVICES && (ISA || PCI)
-
-config ARCNET
        tristate "ARCnet support"
        ---help---
          If you have a network card of this type, say Y and check out the
@@ -25,9 +23,10 @@ config ARCNET
          <file:Documentation/networking/net-modules.txt>.  The module will
          be called arcnet.
 
+if ARCNET
+
 config ARCNET_1201
        tristate "Enable standard ARCNet packet format (RFC 1201)"
-       depends on ARCNET
        help
          This allows you to use RFC1201 with your ARCnet card via the virtual
          arc0 device.  You need to say Y here to communicate with
@@ -38,7 +37,6 @@ config ARCNET_1201
 
 config ARCNET_1051
        tristate "Enable old ARCNet packet format (RFC 1051)"
-       depends on ARCNET
        ---help---
          This allows you to use RFC1051 with your ARCnet card via the virtual
          arc0s device. You only need arc0s if you want to talk to ARCnet
@@ -53,7 +51,6 @@ config ARCNET_1051
 
 config ARCNET_RAW
        tristate "Enable raw mode packet interface"
-       depends on ARCNET
        help
          ARCnet "raw mode" packet encapsulation, no soft headers.  Unlikely
          to work unless talking to a copy of the same Linux arcnet driver,
@@ -61,7 +58,6 @@ config ARCNET_RAW
 
 config ARCNET_CAP
        tristate "Enable CAP mode packet interface"
-       depends on ARCNET
        help
          ARCnet "cap mode" packet encapsulation. Used to get the hardware
           acknowledge back to userspace. After the initial protocol byte every
@@ -80,7 +76,6 @@ config ARCNET_CAP
 
 config ARCNET_COM90xx
        tristate "ARCnet COM90xx (normal) chipset driver"
-       depends on ARCNET
        help
          This is the chipset driver for the standard COM90xx cards. If you
          have always used the old ARCnet driver without knowing what type of
@@ -92,7 +87,6 @@ config ARCNET_COM90xx
 
 config ARCNET_COM90xxIO
        tristate "ARCnet COM90xx (IO mapped) chipset driver"
-       depends on ARCNET
        ---help---
          This is the chipset driver for the COM90xx cards, using them in
          IO-mapped mode instead of memory-mapped mode. This is slower than
@@ -105,7 +99,6 @@ config ARCNET_COM90xxIO
 
 config ARCNET_RIM_I
        tristate "ARCnet COM90xx (RIM I) chipset driver"
-       depends on ARCNET
        ---help---
          This is yet another chipset driver for the COM90xx cards, but this
          time only using memory-mapped mode, and no IO ports at all. This
@@ -118,7 +111,6 @@ config ARCNET_RIM_I
 
 config ARCNET_COM20020
        tristate "ARCnet COM20020 chipset driver"
-       depends on ARCNET
        help
          This is the driver for the new COM20020 chipset. It supports such
          things as promiscuous mode, so packet sniffing is possible, and
@@ -136,5 +128,4 @@ config ARCNET_COM20020_PCI
        tristate "Support for COM20020 on PCI"
        depends on ARCNET_COM20020 && PCI
 
-endmenu
-
+endif # ARCNET