Commit Graph

10 Commits

Author SHA1 Message Date
mrg 7c9a97ab4a initialise some variables whined about by gcc -O3. 2009-01-06 06:03:57 +00:00
christos d1018e8baf KNF.
NB: These were not imported properly. The Id RCS keyword lines were not
cleaned up, and there were no NetBSD keywords added. Perhaps Re-import
correctly?
2008-12-31 14:08:46 +00:00
phil 806ddf688c Add a return HAL_OK in the AR_EEP_MACADDR case. Without this
it falls through to the next case and returns a register value.
Found by Aran Clauson.
2008-12-31 07:24:01 +00:00
alc 0a5dd2a285 Restore a valid call to ath_hal_wait() and wrap the if() statement with curly bracket.
Fix build wrt the original HAL, prevent the next call to OS_REG_WRITE() to be skipped
if HALDEBUG() is not defined.

pointed out by <sam>
2008-12-13 05:16:28 +00:00
alc c3d9f7dbb1 Don't display the global kernel symbol `version' but the *eeprom* version, as done in the original code. 2008-12-12 21:31:49 +00:00
cegger 9d34af294b make i386 ALL kernel compile 2008-12-12 21:01:59 +00:00
alc 26688c3395 Add HAL standard option and file list.
I forgot to `cvs add' them :).
2008-12-11 14:11:43 +00:00
alc b297f5e6b5 Import HAL's OS dependent code and config(9)'s interface header. 2008-12-11 05:37:40 +00:00
alc a9d4fb0bb4 Fix the build of the new HAL:
- constify link-set iterator
 - do RF lookup only if any RF has been built
 - fix global symbols shadowing
 - const static -> static const
 - don't redefine `uintptr_t'
 - use `unsigned long' in __DECONST()
 - fix AH_RF() macros
 - __va_list -> va_list
 - add missing struct trailing element
 - add a few #ifdef AH_DEBUG block to avoid empty if() statement
 - some other nits...
2008-12-11 05:30:29 +00:00
alc 1e10b93de9 Import Atheros HAL, from FreeBSD (revision 185521) 2008-12-11 04:46:22 +00:00