[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070529140155.07693380@freepuppy>
Date: Tue, 29 May 2007 14:01:55 -0700
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Michael Buesch <mb@...sch.de>
Cc: "Gary Zambrano" <zambrano@...adcom.com>,
"Maximilian Engelhardt" <maxi@...monizer.de>,
"linux-kernel" <linux-kernel@...r.kernel.org>,
"linux-wireless" <linux-wireless@...r.kernel.org>,
"Arnaldo Carvalho de Melo" <acme@...stprotocols.net>,
"Jeff Garzik" <jgarzik@...ox.com>, netdev@...r.kernel.org,
"Andrew Morton" <akpm@...ux-foundation.org>
Subject: Re: b44: regression in 2.6.22 (resend)
I am busy bisecting the real cause. Unfortunately, oprofile doesn't work
on the laptop, and build time sucks...
This how I think the IRQ should work:
--- a/drivers/net/b44.c 2007-05-29 09:47:53.000000000 -0700
+++ b/drivers/net/b44.c 2007-05-29 09:49:50.000000000 -0700
@@ -908,9 +908,11 @@ static irqreturn_t b44_interrupt(int irq
u32 istat, imask;
int handled = 0;
- spin_lock(&bp->lock);
-
istat = br32(bp, B44_ISTAT);
+ if (istat == 0 || istat == ~0)
+ return IRQ_NONE;
+
+ spin_lock(&bp->lock);
imask = br32(bp, B44_IMASK);
/* The interrupt mask register controls which interrupt bits
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists