lkml.org 
[lkml]   [2006]   [Sep]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 03 Sep 2006 09:00:43 -0500
FromLarry Finger <>
SubjectRe: 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-03 16:03    [from the cache]
©2003-2008