[PATCH] b43: use rx desc underrun interrupt

Michael Büsch m at bues.ch
Sun Apr 21 02:38:22 EDT 2013


On Sat, 20 Apr 2013 23:23:54 +0200 (CEST)
Thommy Jakobsson <thommyj at gmail.com> wrote:

> Isn't that exactly what we do in b43_dma_rx? The initial rx descriptor 
> index is just to make the device to start. Theoretically you could get 
> into a fault situation if the device succeds in using up all descriptors 
> between b43_dma_rx_discard (added by my patch) and the call to b43_dma_rx. 
> Because then you could start reading the same packet as the device is 
> writing to.

Yes this is true.
And thus I'm currently unsure why we need this patch at all.
_Why_ does the DMA stall as soon as the ring is filled up?

-- 
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20130421/201e5823/attachment.sig>


More information about the b43-dev mailing list