From: Daniel Ritz Date: Sun, 10 Apr 2005 18:27:45 +0000 (+0200) Subject: [PATCH] 3c574_cs: disable interrupts in el3_close X-Git-Tag: v2.6.12-rc6~7^2~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=b9a6eaffe7ff3d3481efa9fa353b2c6a02eda756;p=~emulex%2Finfiniband.git [PATCH] 3c574_cs: disable interrupts in el3_close 3c574_cs forgets to disable interrupts during el3_close(). fix it by doing what 3c59x does. Signed-off-by: Daniel Ritz --- diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c index 41e51711480..c6e8b25f968 100644 --- 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--;