Skip to contentSkip to conversation

3c574_cs: disable interrupts in el3_close

PATCH New Daniel Ritz 1 participant 1 message Apr 10, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 3c574_cs: disable interrupts in el3_close

3c574_cs forgets to disable interrupts during el3_close(). fix it by doing what 3c59x does.

drivers/net/pcmcia/3c574_cs.c +3 -0
@@ -1274,6 +1274,9 @@
 		spin_lock_irqsave(&lp->window_lock, flags);
 		update_stats(dev);
 		spin_unlock_irqrestore(&lp->window_lock, flags);
+
+		/* force interrupts off */
+		outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD);
 	}
 
 	link->open--;