diff options
author | adrian <adrian@FreeBSD.org> | 2012-04-25 01:24:39 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-04-25 01:24:39 +0000 |
commit | 321d5d661d5da641f7f85456e5549c8cb451b3ef (patch) | |
tree | d39fce1b311eb1caa264ab43dcf0c2849e023d5d | |
parent | cdd8faf2987f8ecc3974ae2aa6f6b89ae5b1ed29 (diff) | |
download | FreeBSD-src-321d5d661d5da641f7f85456e5549c8cb451b3ef.zip FreeBSD-src-321d5d661d5da641f7f85456e5549c8cb451b3ef.tar.gz |
Add a note that explains what the current state of the register byte order
macros are.
-rw-r--r-- | sys/dev/ath/ah_osdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ath/ah_osdep.h b/sys/dev/ath/ah_osdep.h index ce9ae29..1808655 100644 --- a/sys/dev/ath/ah_osdep.h +++ b/sys/dev/ath/ah_osdep.h @@ -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) \ |