[GIT *] Clean up most of libertas endianness braindamage
David Woodhouse
dwmw2 at infradead.org
Tue May 15 00:01:34 EDT 2007
At http://git.infradead.org/?p=users/dwmw2/libertas-2.6.git I've made an
attempt to clean up most of the obvious breakage of the libertas driver
on BE machines.
Now I don't get the simple and obvious failures on PPC like rejecting
the firmware -- I get a spinlock deadlock instead, which I shall
investigate when I get home and have more time (and BE machines with
serial console).
These patches should be a no-op on little-endian machines. I have
confirmed it still works on i386 with spinlock debugging disabled, as it
did before.
drivers/net/wireless/libertas/11d.c | 9 +-
drivers/net/wireless/libertas/11d.h | 2 +-
drivers/net/wireless/libertas/assoc.c | 2 +-
drivers/net/wireless/libertas/cmd.c | 260 ++++++++-----------
drivers/net/wireless/libertas/cmdresp.c | 164 +++++--------
drivers/net/wireless/libertas/debugfs.c | 334 ++++++++++++-------------
drivers/net/wireless/libertas/ethtool.c | 16 +-
drivers/net/wireless/libertas/fw.c | 13 +-
drivers/net/wireless/libertas/hostcmd.h | 372 ++++++++++++++--------------
drivers/net/wireless/libertas/if_bootcmd.c | 2 +-
drivers/net/wireless/libertas/if_usb.c | 48 ++--
drivers/net/wireless/libertas/if_usb.h | 18 +-
drivers/net/wireless/libertas/ioctl.c | 18 +-
drivers/net/wireless/libertas/join.c | 95 +++-----
drivers/net/wireless/libertas/main.c | 10 +-
drivers/net/wireless/libertas/rx.c | 6 +-
drivers/net/wireless/libertas/scan.c | 52 ++---
drivers/net/wireless/libertas/scan.h | 4 +-
drivers/net/wireless/libertas/tx.c | 29 ++-
drivers/net/wireless/libertas/types.h | 63 ++++--
drivers/net/wireless/libertas/wext.c | 12 +-
21 files changed, 724 insertions(+), 805 deletions(-)
--
dwmw2
More information about the libertas-dev
mailing list