svn commit: r234663 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Wed Apr 25 01:24:40 UTC 2012
Author: adrian
Date: Wed Apr 25 01:24:39 2012
New Revision: 234663
URL: http://svn.freebsd.org/changeset/base/234663
Log:
Add a note that explains what the current state of the register byte order
macros are.
Modified:
head/sys/dev/ath/ah_osdep.h
Modified: head/sys/dev/ath/ah_osdep.h
==============================================================================
--- head/sys/dev/ath/ah_osdep.h Tue Apr 24 21:38:41 2012 (r234662)
+++ head/sys/dev/ath/ah_osdep.h Wed Apr 25 01:24:39 2012 (r234663)
@@ -75,6 +75,10 @@ struct ath_hal;
* domain registers are not byte swapped! Thus, on big-endian
* platforms we have to explicitly byte-swap those registers.
* OS_REG_UNSWAPPED identifies the registers that need special handling.
+ *
+ * This is not currently used by the FreeBSD HAL osdep code; the HAL
+ * currently does not configure hardware byteswapping for register space
+ * accesses and instead does it through the FreeBSD bus space code.
*/
#if _BYTE_ORDER == _BIG_ENDIAN
#define OS_REG_UNSWAPPED(_reg) \
More information about the svn-src-all
mailing list