Search Linux Wireless

Re: zd1211rw (2.6.22 sparc64): unaligned access (do_rx)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jean,

Jean Tourrilhes wrote:
	Personally, I was under the impression that in userspace libc
trap unaligned access and make them work. I mean, this code was tested
on other 64/32 bit platforms (PPC, AMD-64, PS3) and was working there,
so this seems to be specific to your platform.

Sure. The platform is a Sun Ultra 10, running Debian Lenny:

Linux trad 2.6.22 #2 Fri Nov 30 13:47:43 EST 2007 sparc64 GNU/Linux

(just noticed that the clock is wrong. I'll sort that out later).

	In any case, I've modified my code to use a memcpy() instead
of direct memory access. I'm not 100% sure it will fix it because many
time memcpy() is optimised away to a direct memory access.

	So, you'll find attached a new version of Wireless Tools. Just
tell me if it work. You can remove the debugging output by commenting
out the "#define DEBUG" lines (grep for it).

Yes, that has fixed it. Thank you very much.

Regards,
Shaddy

-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux