[PATCH] b43: Mask out unwanted bits of RX slot address

David Woodhouse dwmw2 at infradead.org
Sun Aug 14 07:35:52 EDT 2011


On Sun, 2011-08-14 at 13:17 +0200, Rafał Miłecki wrote:
> I wanted to check if firmware ever uses 0x1000 for addressing
> purposes. To test that I've increased RX ring size to 257 and waited
> for 8 KiB aligned ring address (to avoid copying 0x1000 bit from
> address). 

Erm, if you increase the ring size to 257, don't you have to allocate
8KiB for the ring buffer? If you're still allocating only 4KiB you'll be
scribbling off the end of it. And if you allocate 8KiB there'll be no
waiting; it'll *always* be aligned to 8KiB.

-- 
dwmw2




More information about the b43-dev mailing list