mirror of
https://github.com/opnsense/src.git
synced 2026-07-16 12:33:07 -04:00
Add a note that explains what the current state of the register byte order
macros are.
This commit is contained in:
parent
4fdb8d2aae
commit
36e9589ef3
1 changed files with 4 additions and 0 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue