On 22 March 2010 22:49, Pavel Roskin <[email protected]> wrote:

>> I'm using ath9k on a MIPS platform, and the driver seems to do _lot_ of
>> unaligned accesses, something like 270.000/sec

I checked and I'm seeing a whole lot of unaligned accesses on my
openWRT router as well.

> I checked the sources for "unaligned_instructions" and found
> "unaligned_action" nearby.  If set to 2 (UNALIGNED_ACTION_SHOW), it
> would print registers, and then perhaps you could find the exact
> location in the kernel.

I tried twice, but the router once freezed and once rebooted instantly.
I tried to pass -Wcast-align to OpenWRT cross-compiler, and I got a
heap of "warning: cast increases required alignment of target type"
Interestingly, none of them belonged to ath9k though...

Cheers,

Luca
_______________________________________________
ath9k-devel mailing list
[email protected]
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to