diff options
Diffstat (limited to 'drivers/net/tokenring/Config.in')
-rw-r--r-- | drivers/net/tokenring/Config.in | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/drivers/net/tokenring/Config.in b/drivers/net/tokenring/Config.in index 9fc87041f..e087359bc 100644 --- a/drivers/net/tokenring/Config.in +++ b/drivers/net/tokenring/Config.in @@ -5,21 +5,29 @@ mainmenu_option next_comment comment 'Token Ring devices' -bool 'Token Ring driver support' CONFIG_TR +# So far, we only have PCI, ISA, and MCA token ring devices +if [ "$CONFIG_PCI" = "y" -o "$CONFIG_ISA" = "y" -o "$CONFIG_MCA" = "y" ]; then + bool 'Token Ring driver support' CONFIG_TR +else + define_bool CONFIG_TR n +fi + if [ "$CONFIG_TR" != "n" ]; then - dep_tristate ' IBM Tropic chipset based adapter support' CONFIG_IBMTR $CONFIG_TR - dep_tristate ' IBM Olympic chipset PCI adapter support' CONFIG_IBMOL $CONFIG_TR - dep_tristate ' IBM Lanstreamer chipset PCI adapter support' CONFIG_IBMLS $CONFIG_TR - dep_tristate ' Generic TMS380 Token Ring ISA/PCI adapter support' CONFIG_TMS380TR $CONFIG_TR + if [ "$CONFIG_ISA" = "y" -o "$CONFIG_MCA" = "y" ]; then + tristate ' IBM Tropic chipset based adapter support' CONFIG_IBMTR + fi + dep_tristate ' IBM Olympic chipset PCI adapter support' CONFIG_IBMOL $CONFIG_TR $CONFIG_PCI + dep_tristate ' IBM Lanstreamer chipset PCI adapter support' CONFIG_IBMLS $CONFIG_TR $CONFIG_PCI + tristate ' Generic TMS380 Token Ring ISA/PCI adapter support' CONFIG_TMS380TR if [ "$CONFIG_TMS380TR" != "n" ]; then - dep_tristate ' Generic TMS380 PCI support' CONFIG_TMSPCI $CONFIG_TMS380TR - dep_tristate ' Generic TMS380 ISA support' CONFIG_TMSISA $CONFIG_TMS380TR - dep_tristate ' Madge Smart 16/4 PCI Mk2 support' CONFIG_ABYSS $CONFIG_TMS380TR - if [ "$CONFIG_MCA" = "y" ]; then - dep_tristate ' Madge Smart 16/4 Ringnode MicroChannel' CONFIG_MADGEMC $CONFIG_TMS380TR - fi + dep_tristate ' Generic TMS380 PCI support' CONFIG_TMSPCI $CONFIG_PCI + dep_tristate ' Generic TMS380 ISA support' CONFIG_TMSISA $CONFIG_ISA + dep_tristate ' Madge Smart 16/4 PCI Mk2 support' CONFIG_ABYSS $CONFIG_PCI + dep_tristate ' Madge Smart 16/4 Ringnode MicroChannel' CONFIG_MADGEMC $CONFIG_MCA + fi + if [ "$CONFIG_ISA" = "y" -o "$CONFIG_MCA" = "y" ]; then + tristate ' SMC ISA/MCA adapter support' CONFIG_SMCTR fi - dep_tristate ' SMC ISA/MCA adapter support' CONFIG_SMCTR $CONFIG_TR fi endmenu |