Skip to content

Commit

Permalink
[TR]: 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 4285900 commit 8a903be
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions drivers/net/tokenring/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
# Token Ring driver configuration
#

menu "Token Ring devices"
depends on NETDEVICES && !UML

# So far, we only have PCI, ISA, and MCA token ring devices
config TR
menuconfig TR
bool "Token Ring driver support"
depends on NETDEVICES && !UML
depends on (PCI || ISA || MCA || CCW)
select LLC
help
Expand All @@ -20,9 +18,11 @@ config TR
from <http://www.tldp.org/docs.html#howto>. Most people can
say N here.

if TR

config IBMTR
tristate "IBM Tropic chipset based adapter support"
depends on TR && (ISA || MCA)
depends on ISA || MCA
---help---
This is support for all IBM Token Ring cards that don't use DMA. If
you have such a beast, say Y and read the Token-Ring mini-HOWTO,
Expand All @@ -36,7 +36,7 @@ config IBMTR

config IBMOL
tristate "IBM Olympic chipset PCI adapter support"
depends on TR && PCI
depends on PCI
---help---
This is support for all non-Lanstreamer IBM PCI Token Ring Cards.
Specifically this is all IBM PCI, PCI Wake On Lan, PCI II, PCI II
Expand All @@ -54,7 +54,7 @@ config IBMOL

config IBMLS
tristate "IBM Lanstreamer chipset PCI adapter support"
depends on TR && PCI && !64BIT
depends on PCI && !64BIT
help
This is support for IBM Lanstreamer PCI Token Ring Cards.

Expand All @@ -66,7 +66,7 @@ config IBMLS

config 3C359
tristate "3Com 3C359 Token Link Velocity XL adapter support"
depends on TR && PCI
depends on PCI
---help---
This is support for the 3Com PCI Velocity XL cards, specifically
the 3Com 3C359, please note this is not for the 3C339 cards, you
Expand All @@ -84,7 +84,7 @@ config 3C359

config TMS380TR
tristate "Generic TMS380 Token Ring ISA/PCI adapter support"
depends on TR && (PCI || ISA && ISA_DMA_API || MCA)
depends on PCI || ISA && ISA_DMA_API || MCA
select FW_LOADER
---help---
This driver provides generic support for token ring adapters
Expand All @@ -108,7 +108,7 @@ config TMS380TR

config TMSPCI
tristate "Generic TMS380 PCI support"
depends on TR && TMS380TR && PCI
depends on TMS380TR && PCI
---help---
This tms380 module supports generic TMS380-based PCI cards.

Expand All @@ -123,7 +123,7 @@ config TMSPCI

config SKISA
tristate "SysKonnect TR4/16 ISA support"
depends on TR && TMS380TR && ISA
depends on TMS380TR && ISA
help
This tms380 module supports SysKonnect TR4/16 ISA cards.

Expand All @@ -135,7 +135,7 @@ config SKISA

config PROTEON
tristate "Proteon ISA support"
depends on TR && TMS380TR && ISA
depends on TMS380TR && ISA
help
This tms380 module supports Proteon ISA cards.

Expand All @@ -148,7 +148,7 @@ config PROTEON

config ABYSS
tristate "Madge Smart 16/4 PCI Mk2 support"
depends on TR && TMS380TR && PCI
depends on TMS380TR && PCI
help
This tms380 module supports the Madge Smart 16/4 PCI Mk2
cards (51-02).
Expand All @@ -158,7 +158,7 @@ config ABYSS

config MADGEMC
tristate "Madge Smart 16/4 Ringnode MicroChannel"
depends on TR && TMS380TR && MCA
depends on TMS380TR && MCA
help
This tms380 module supports the Madge Smart 16/4 MC16 and MC32
MicroChannel adapters.
Expand All @@ -168,7 +168,7 @@ config MADGEMC

config SMCTR
tristate "SMC ISA/MCA adapter support"
depends on TR && (ISA || MCA_LEGACY) && (BROKEN || !64BIT)
depends on (ISA || MCA_LEGACY) && (BROKEN || !64BIT)
---help---
This is support for the ISA and MCA SMC Token Ring cards,
specifically SMC TokenCard Elite (8115T) and SMC TokenCard Elite/A
Expand All @@ -182,5 +182,4 @@ config SMCTR
To compile this driver as a module, choose M here: the module will be
called smctr.

endmenu

endif # TR

0 comments on commit 8a903be

Please sign in to comment.