aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/tokenring/Kconfig6
-rw-r--r--drivers/net/tokenring/tms380tr.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/tokenring/Kconfig b/drivers/net/tokenring/Kconfig
index 45550d42b368..ef3bb1326e4f 100644
--- a/drivers/net/tokenring/Kconfig
+++ b/drivers/net/tokenring/Kconfig
@@ -98,7 +98,7 @@ config 3C359
98 98
99config TMS380TR 99config TMS380TR
100 tristate "Generic TMS380 Token Ring ISA/PCI adapter support" 100 tristate "Generic TMS380 Token Ring ISA/PCI adapter support"
101 depends on PCI || ISA && ISA_DMA_API || MCA 101 depends on PCI || ISA || MCA
102 select FW_LOADER 102 select FW_LOADER
103 ---help--- 103 ---help---
104 This driver provides generic support for token ring adapters 104 This driver provides generic support for token ring adapters
@@ -137,7 +137,7 @@ config TMSPCI
137 137
138config SKISA 138config SKISA
139 tristate "SysKonnect TR4/16 ISA support" 139 tristate "SysKonnect TR4/16 ISA support"
140 depends on TMS380TR && ISA 140 depends on TMS380TR && ISA && ISA_DMA_API
141 help 141 help
142 This tms380 module supports SysKonnect TR4/16 ISA cards. 142 This tms380 module supports SysKonnect TR4/16 ISA cards.
143 143
@@ -149,7 +149,7 @@ config SKISA
149 149
150config PROTEON 150config PROTEON
151 tristate "Proteon ISA support" 151 tristate "Proteon ISA support"
152 depends on TMS380TR && ISA 152 depends on TMS380TR && ISA && ISA_DMA_API
153 help 153 help
154 This tms380 module supports Proteon ISA cards. 154 This tms380 module supports Proteon ISA cards.
155 155
diff --git a/drivers/net/tokenring/tms380tr.c b/drivers/net/tokenring/tms380tr.c
index be4813e0366c..b5e0855e4b39 100644
--- a/drivers/net/tokenring/tms380tr.c
+++ b/drivers/net/tokenring/tms380tr.c
@@ -254,7 +254,7 @@ int tms380tr_open(struct net_device *dev)
254 254
255 /* Reset the hardware here. Don't forget to set the station address. */ 255 /* Reset the hardware here. Don't forget to set the station address. */
256 256
257#ifdef CONFIG_ISA 257#if defined(CONFIG_ISA) && defined(CONFIG_ISA_DMA_API)
258 if(dev->dma > 0) 258 if(dev->dma > 0)
259 { 259 {
260 unsigned long flags=claim_dma_lock(); 260 unsigned long flags=claim_dma_lock();
@@ -1125,8 +1125,8 @@ int tms380tr_close(struct net_device *dev)
1125 1125
1126 del_timer(&tp->timer); 1126 del_timer(&tp->timer);
1127 tms380tr_disable_interrupts(dev); 1127 tms380tr_disable_interrupts(dev);
1128 1128
1129#ifdef CONFIG_ISA 1129#if defined(CONFIG_ISA) && defined(CONFIG_ISA_DMA_API)
1130 if(dev->dma > 0) 1130 if(dev->dma > 0)
1131 { 1131 {
1132 unsigned long flags=claim_dma_lock(); 1132 unsigned long flags=claim_dma_lock();