| To: | Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | [PATCH] 3c574_cs: disable interrupts in el3_close |
| From: | Daniel Ritz <daniel.ritz@xxxxxx> |
| Date: | Sun, 10 Apr 2005 20:27:45 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| Reply-to: | daniel.ritz@xxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | KMail/1.5.4 |
3c574_cs forgets to disable interrupts during el3_close().
fix it by doing what 3c59x does.
Signed-off-by: Daniel Ritz <daniel.ritz@xxxxxx>
--- 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--;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Fwd: Re: r8169 native module problems on 2.6.11], TommyDrum |
|---|---|
| Next by Date: | Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1], Thomas Graf |
| Previous by Thread: | [Fwd: Re: r8169 native module problems on 2.6.11], TommyDrum |
| Next by Thread: | Fw: [Bug 4467] New: Debug: sleeping function called from invalid context at mm/slab.c:2090, Andrew Morton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |