Don't assume that both iowrite32() and iowrite32be() return values in
the _OS_REG_WRITE definition. _OS_REG_WRITE discards the value anyway.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4061 0192ed92-7a03-0410-a25b-9323aeb14dbd
32-bit PowerPC only gets iowrite32be() and ioread32be() in version
2.6.20. This applies only to the merged "powerpc" architecture
identified by CONFIG_PPC_MERGE. The old "ppc" architecture goes away in
Linux 2.6.27, so CONFIG_PPC_MERGE is no longer valid.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4029 0192ed92-7a03-0410-a25b-9323aeb14dbd
Provide forward declaration of struct ath_hal in ah_osdep.h. Implement
OS_GETUPTIME (the implementation is quite primitive, as it's only used
once for some obscure condition in 5212 chips). Implement HALDEBUG()
and ath_hal_ether_sprintf().
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4019 0192ed92-7a03-0410-a25b-9323aeb14dbd
gcc warns that "array subscript is above array bounds" with -O3 since
pvar is assigned before _i is checked.
Eliminate _i, use a new ppvar variable, which is a pointer to the
reference table. Terminate reference tables with NULL instead of using
ARRAY_SIZE. Fix types of reference tables to match those actually used
by the code.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3987 0192ed92-7a03-0410-a25b-9323aeb14dbd