From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@zip.com.au>,
jgarzik@pobox.com, linux-net@vger.kernel.org
Subject: Fix suspend/resume problems with b44
Date: Tue, 8 Mar 2005 10:46:55 +0100 [thread overview]
Message-ID: <20050308094655.GA16775@elf.ucw.cz> (raw)
Hi!
This should fix problems people have with b44 during
suspend/resume. Please apply,
Pavel
--- clean/drivers/net/b44.c 2004-12-25 13:35:00.000000000 +0100
+++ linux/drivers/net/b44.c 2005-01-19 11:59:12.000000000 +0100
@@ -1921,6 +1921,8 @@
b44_free_rings(bp);
spin_unlock_irq(&bp->lock);
+
+ free_irq(dev->irq, dev);
return 0;
}
@@ -1934,6 +1936,9 @@
if (!netif_running(dev))
return 0;
+ if (request_irq(dev->irq, b44_interrupt, SA_SHIRQ, dev->name, dev))
+ printk(KERN_ERR PFX "%s: request_irq failed\n", dev->name);
+
spin_lock_irq(&bp->lock);
b44_init_rings(bp);
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
next reply other threads:[~2005-03-08 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-08 9:46 Pavel Machek [this message]
2005-03-08 18:17 ` Fix suspend/resume problems with b44 David S. Miller
2005-03-08 21:55 ` Pavel Machek
2005-03-09 3:40 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050308094655.GA16775@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@zip.com.au \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox