Commit Graph

9 Commits

Author SHA1 Message Date
proski
a252469c71 Add support for AR9280 from FreeBSD HAL
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4107 0192ed92-7a03-0410-a25b-9323aeb14dbd
2010-01-13 06:50:17 +00:00
proski
e0712b8175 Fix compiler warning on some big-endian systems
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
2009-06-26 01:31:05 +00:00
proski
97b4d431f7 Fix compilation for 32-bit PowerPC on old kernels
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
2009-05-24 06:30:27 +00:00
proski
14247bc74f Provide compatibility iowrite32() and ioread() for old sparc32
32-bit sparc only gets those functions in Linux 2.6.18.


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4028 0192ed92-7a03-0410-a25b-9323aeb14dbd
2009-05-24 06:14:18 +00:00
proski
200f8b8a6a Fix compilation with HAL_DEBUG=1
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
2009-05-07 20:40:54 +00:00
proski
2975ae47f2 Eliminate __CONCAT1 and __CONCAT, we don't need that complexity
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4009 0192ed92-7a03-0410-a25b-9323aeb14dbd
2009-04-22 22:07:23 +00:00
proski
c135dc326c Simplify linker set implementation, fix compiler warning with -O3
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
2009-04-08 08:52:59 +00:00
proski
5702465321 Merge madwifi-free branch into the trunk
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3978 0192ed92-7a03-0410-a25b-9323aeb14dbd
2009-04-07 01:26:53 +00:00
mrenzmann
2c0d8db912 Restructuring the repository layout in response to ath5k.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2721 0192ed92-7a03-0410-a25b-9323aeb14dbd
2007-10-04 13:07:51 +00:00