[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44FAE00B.6030701@lwfinger.net>
Date: Sun, 03 Sep 2006 09:00:43 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Miles Lane <miles.lane@...il.com>
CC: Michael Buesch <mb@...sch.de>, Andrew Morton <akpm@...l.org>,
LKML <linux-kernel@...r.kernel.org>, linville@...driver.com
Subject: Re: 2.6.18-rc5-mm1 -- bcm43xx: Out of DMA descriptor slots!
Michael Buesch wrote:
> On Sunday 03 September 2006 11:18, Miles Lane wrote:
>> Michael, I think this is related to your code (bcm43xx_dma.c). It is
>> quite possible that the bug isn't in your code, but rather in the
>> general management of DMA.
>
> Please try latest wireless-2.6 tree. I think it has a bugfix for this.
There is a fix (commit 653d5b55c0125dca97a420b9a5e77fad7adbf3f0) for mac_suspended assertions in the
latest wireless-2.6. If you just want that fix, use the following:
Index: wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -3349,6 +3349,8 @@
memset(bcm->dma_reason, 0, sizeof(bcm->dma_reason));
bcm->irq_savedstate = BCM43xx_IRQ_INITIAL;
+ bcm->mac_suspended = 1;
+
/* Noise calculation context */
memset(&bcm->noisecalc, 0, sizeof(bcm->noisecalc));
If this patch is already in your code, and you are still getting the assertions, please let me know.
Larry
--
VGER BF report: H 0.427049
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists