Commit b9a6eaff authored by Daniel Ritz's avatar Daniel Ritz Committed by Jeff Garzik

[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: default avatarDaniel Ritz <daniel.ritz@gmx.ch>
parent 254feb88
...@@ -1274,6 +1274,9 @@ static int el3_close(struct net_device *dev) ...@@ -1274,6 +1274,9 @@ static int el3_close(struct net_device *dev)
spin_lock_irqsave(&lp->window_lock, flags); spin_lock_irqsave(&lp->window_lock, flags);
update_stats(dev); update_stats(dev);
spin_unlock_irqrestore(&lp->window_lock, flags); spin_unlock_irqrestore(&lp->window_lock, flags);
/* force interrupts off */
outw(SetIntrEnb | 0x0000, ioaddr + EL3_CMD);
} }
link->open--; link->open--;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment