netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 3c574_cs: disable interrupts in el3_close
@ 2005-04-10 18:27 Daniel Ritz
  0 siblings, 0 replies; only message in thread
From: Daniel Ritz @ 2005-04-10 18:27 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev

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

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>

--- 1.40/drivers/net/pcmcia/3c574_cs.c	2005-01-25 22:50:25 +01:00
+++ edited/drivers/net/pcmcia/3c574_cs.c	2005-04-09 21:49:02 +02:00
@@ -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--;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-10 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-10 18:27 [PATCH] 3c574_cs: disable interrupts in el3_close Daniel Ritz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).