Commit 42859007 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by David S. Miller

[ARCNET]: 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: default avatarJan Engelhardt <jengelh@gmx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a31b19c5
...@@ -2,10 +2,8 @@ ...@@ -2,10 +2,8 @@
# Arcnet configuration # Arcnet configuration
# #
menu "ARCnet devices" menuconfig ARCNET
depends on NETDEVICES && (ISA || PCI) depends on NETDEVICES && (ISA || PCI)
config ARCNET
tristate "ARCnet support" tristate "ARCnet support"
---help--- ---help---
If you have a network card of this type, say Y and check out the If you have a network card of this type, say Y and check out the
...@@ -25,9 +23,10 @@ config ARCNET ...@@ -25,9 +23,10 @@ config ARCNET
<file:Documentation/networking/net-modules.txt>. The module will <file:Documentation/networking/net-modules.txt>. The module will
be called arcnet. be called arcnet.
if ARCNET
config ARCNET_1201 config ARCNET_1201
tristate "Enable standard ARCNet packet format (RFC 1201)" tristate "Enable standard ARCNet packet format (RFC 1201)"
depends on ARCNET
help help
This allows you to use RFC1201 with your ARCnet card via the virtual This allows you to use RFC1201 with your ARCnet card via the virtual
arc0 device. You need to say Y here to communicate with arc0 device. You need to say Y here to communicate with
...@@ -38,7 +37,6 @@ config ARCNET_1201 ...@@ -38,7 +37,6 @@ config ARCNET_1201
config ARCNET_1051 config ARCNET_1051
tristate "Enable old ARCNet packet format (RFC 1051)" tristate "Enable old ARCNet packet format (RFC 1051)"
depends on ARCNET
---help--- ---help---
This allows you to use RFC1051 with your ARCnet card via the virtual 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 arc0s device. You only need arc0s if you want to talk to ARCnet
...@@ -53,7 +51,6 @@ config ARCNET_1051 ...@@ -53,7 +51,6 @@ config ARCNET_1051
config ARCNET_RAW config ARCNET_RAW
tristate "Enable raw mode packet interface" tristate "Enable raw mode packet interface"
depends on ARCNET
help help
ARCnet "raw mode" packet encapsulation, no soft headers. Unlikely ARCnet "raw mode" packet encapsulation, no soft headers. Unlikely
to work unless talking to a copy of the same Linux arcnet driver, to work unless talking to a copy of the same Linux arcnet driver,
...@@ -61,7 +58,6 @@ config ARCNET_RAW ...@@ -61,7 +58,6 @@ config ARCNET_RAW
config ARCNET_CAP config ARCNET_CAP
tristate "Enable CAP mode packet interface" tristate "Enable CAP mode packet interface"
depends on ARCNET
help help
ARCnet "cap mode" packet encapsulation. Used to get the hardware ARCnet "cap mode" packet encapsulation. Used to get the hardware
acknowledge back to userspace. After the initial protocol byte every acknowledge back to userspace. After the initial protocol byte every
...@@ -80,7 +76,6 @@ config ARCNET_CAP ...@@ -80,7 +76,6 @@ config ARCNET_CAP
config ARCNET_COM90xx config ARCNET_COM90xx
tristate "ARCnet COM90xx (normal) chipset driver" tristate "ARCnet COM90xx (normal) chipset driver"
depends on ARCNET
help help
This is the chipset driver for the standard COM90xx cards. If you This is the chipset driver for the standard COM90xx cards. If you
have always used the old ARCnet driver without knowing what type of have always used the old ARCnet driver without knowing what type of
...@@ -92,7 +87,6 @@ config ARCNET_COM90xx ...@@ -92,7 +87,6 @@ config ARCNET_COM90xx
config ARCNET_COM90xxIO config ARCNET_COM90xxIO
tristate "ARCnet COM90xx (IO mapped) chipset driver" tristate "ARCnet COM90xx (IO mapped) chipset driver"
depends on ARCNET
---help--- ---help---
This is the chipset driver for the COM90xx cards, using them in This is the chipset driver for the COM90xx cards, using them in
IO-mapped mode instead of memory-mapped mode. This is slower than IO-mapped mode instead of memory-mapped mode. This is slower than
...@@ -105,7 +99,6 @@ config ARCNET_COM90xxIO ...@@ -105,7 +99,6 @@ config ARCNET_COM90xxIO
config ARCNET_RIM_I config ARCNET_RIM_I
tristate "ARCnet COM90xx (RIM I) chipset driver" tristate "ARCnet COM90xx (RIM I) chipset driver"
depends on ARCNET
---help--- ---help---
This is yet another chipset driver for the COM90xx cards, but this 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 time only using memory-mapped mode, and no IO ports at all. This
...@@ -118,7 +111,6 @@ config ARCNET_RIM_I ...@@ -118,7 +111,6 @@ config ARCNET_RIM_I
config ARCNET_COM20020 config ARCNET_COM20020
tristate "ARCnet COM20020 chipset driver" tristate "ARCnet COM20020 chipset driver"
depends on ARCNET
help help
This is the driver for the new COM20020 chipset. It supports such This is the driver for the new COM20020 chipset. It supports such
things as promiscuous mode, so packet sniffing is possible, and things as promiscuous mode, so packet sniffing is possible, and
...@@ -136,5 +128,4 @@ config ARCNET_COM20020_PCI ...@@ -136,5 +128,4 @@ config ARCNET_COM20020_PCI
tristate "Support for COM20020 on PCI" tristate "Support for COM20020 on PCI"
depends on ARCNET_COM20020 && PCI depends on ARCNET_COM20020 && PCI
endmenu endif # ARCNET
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment