[ath_hal_ar9300] Ensure AH_BYTE_ORDER is defined before used.

Same deal here - ensure endian bits are set here first!
This commit is contained in:
Adrian Chadd 2020-05-12 02:23:11 +00:00
parent 41137b0604
commit 43f12c5b66
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360954
10 changed files with 51 additions and 0 deletions

View File

@ -25,6 +25,11 @@
#ifndef __ar9300templateAP121_h__
#define __ar9300templateAP121_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t ar9300_template_ap121=
{

View File

@ -26,6 +26,11 @@
#ifndef __ar9300templateAphrodite_h__
#define __ar9300templateAphrodite_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t ar9300_template_aphrodite=
{

View File

@ -25,6 +25,11 @@
#ifndef __ar9300template_cus157_h__
#define __ar9300template_cus157_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t Ar9300Template_cus157=
{

View File

@ -25,6 +25,11 @@
#ifndef __ar9300templateGeneric_h__
#define __ar9300templateGeneric_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t ar9300_template_generic=
{

View File

@ -25,6 +25,11 @@
#ifndef __ar9300templateHB112_h__
#define __ar9300templateHB112_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t ar9300_template_hb112=
{

View File

@ -26,6 +26,11 @@
#ifndef __ar9300templateHB116_h__
#define __ar9300templateHB116_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t ar9300_template_hb116=
{

View File

@ -25,6 +25,11 @@
#ifndef __ar9300templateOsprey_k31_h__
#define __ar9300templateOsprey_k31_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t ar9300_template_osprey_k31=
{

View File

@ -24,6 +24,12 @@
#ifndef __ar9300template_wasp_2_h__
#define __ar9300template_wasp_2_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t ar9300_template_wasp_2=
{

View File

@ -25,6 +25,11 @@
#ifndef __ar9300templateXB112_h__
#define __ar9300templateXB112_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t ar9300_template_xb112=
{

View File

@ -25,6 +25,11 @@
#ifndef __ar9300templateXB113_h__
#define __ar9300templateXB113_h__
/* Ensure that AH_BYTE_ORDER is defined */
#ifndef AH_BYTE_ORDER
#error AH_BYTE_ORDER needs to be defined!
#endif
static ar9300_eeprom_t ar9300_template_xb113=
{