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

Rafał Miłecki zajec5 at gmail.com
Sun Aug 14 05:31:10 EDT 2011


W dniu 14 sierpnia 2011 11:24 użytkownik Rafał Miłecki
<zajec5 at gmail.com> napisał:
> W dniu 14 sierpnia 2011 11:07 użytkownik Rafał Miłecki
> <zajec5 at gmail.com> napisał:
>> I guess we should just increase RX ring size instead hacking
>> (stripping) 0x1000 bit. We just need to check  on which hardware wl
>> uses 256 ring size.
>
> Ignore that. I just got 8 KiB aligned ring when testing 256 ring size.
>
> I agree with David, that 0x1000 comes from ring address. Depending on
> address alignment it's 0 or 1.

The question I now have is:

1) Should be keep using 4 KiB aligned rings (sometimes, depending on
the luck, 8 KiB) with ignoring 0x1000 bit
2) Switch to 8 KiB aligned rings

Broadcom seems to use second method, it never uses just 4 KiB aligned ring.



More information about the b43-dev mailing list