projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
254feb8
)
[PATCH] 3c574_cs: disable interrupts in el3_close
author
Daniel Ritz
<daniel.ritz@gmx.ch>
Sun, 10 Apr 2005 18:27:45 +0000
(20:27 +0200)
committer
Jeff Garzik
<jgarzik@pobox.com>
Sat, 28 May 2005 02:16:39 +0000
(22:16 -0400)
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>
drivers/net/pcmcia/3c574_cs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/pcmcia/3c574_cs.c
b/drivers/net/pcmcia/3c574_cs.c
index 41e517114807052707dad7bace8529f7080ba25a..c6e8b25f968529837ec3987baac52e7f55d73dea 100644
(file)
--- a/
drivers/net/pcmcia/3c574_cs.c
+++ b/
drivers/net/pcmcia/3c574_cs.c
@@
-1274,6
+1274,9
@@
static int el3_close(struct net_device *dev)
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--;