opnsense-src/sys/dev/ath/ath_hal
Adrian Chadd 41137b0604 [ath_hal] [ath_hal_ar9300] Fix endian macros to work in and out of kernel tree.
Yes, people shouldn't use bitfields in C for structure parsing.
If someone ever wants a cleanup task then it'd be great to remove them
from this vendor code and other places in the ar9285/ar9287 HALs.

Alas, here we are.

AH_BYTE_ORDER wasn't defined and neither were the two values it could be.
So when compiling ath_ee_print_9300 it'd default to the big endian struct
layout and get a WHOLE lot of stuff wrong.

So:

* move AH_BYTE_ORDER into ath_hal/ah.h where it can be used by everyone.
* ensure that AH_BYTE_ORDER is actually defined before using it!

This should work on both big and little endian platforms.
2020-05-12 02:20:27 +00:00
..
ah_regdomain SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar5210 [ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI. 2019-04-21 02:36:01 +00:00
ar5211 [ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI. 2019-04-21 02:36:01 +00:00
ar5212 [ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI. 2019-04-21 02:36:01 +00:00
ar5312 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar5416 [ath] [ath_hal] [ath_hal_9300] Extend the start PCU receive to handle resetting ANI. 2019-04-21 02:36:01 +00:00
ar9001 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar9002 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ar9003 SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah.c [ath_hal] Fix queue bits a bit 2019-05-28 18:05:10 +00:00
ah.h [ath_hal] [ath_hal_ar9300] Fix endian macros to work in and out of kernel tree. 2020-05-12 02:20:27 +00:00
ah_btcoex.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_debug.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_decode.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_desc.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_devid.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_diagcodes.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_9287.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_9287.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v1.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v1.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v3.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v3.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v4k.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v4k.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v14.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_eeprom_v14.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_internal.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_regdomain.c ath_hal: fix typo in ath_hal_printf 2020-03-18 03:14:17 +00:00
ah_regdomain.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
ah_soc.h SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00