[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:
parent
41137b0604
commit
43f12c5b66
@ -25,6 +25,11 @@
|
|||||||
#ifndef __ar9300templateAP121_h__
|
#ifndef __ar9300templateAP121_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t ar9300_template_ap121=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -26,6 +26,11 @@
|
|||||||
#ifndef __ar9300templateAphrodite_h__
|
#ifndef __ar9300templateAphrodite_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t ar9300_template_aphrodite=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -25,6 +25,11 @@
|
|||||||
#ifndef __ar9300template_cus157_h__
|
#ifndef __ar9300template_cus157_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t Ar9300Template_cus157=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -25,6 +25,11 @@
|
|||||||
#ifndef __ar9300templateGeneric_h__
|
#ifndef __ar9300templateGeneric_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t ar9300_template_generic=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -25,6 +25,11 @@
|
|||||||
#ifndef __ar9300templateHB112_h__
|
#ifndef __ar9300templateHB112_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t ar9300_template_hb112=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -26,6 +26,11 @@
|
|||||||
#ifndef __ar9300templateHB116_h__
|
#ifndef __ar9300templateHB116_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t ar9300_template_hb116=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -25,6 +25,11 @@
|
|||||||
#ifndef __ar9300templateOsprey_k31_h__
|
#ifndef __ar9300templateOsprey_k31_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t ar9300_template_osprey_k31=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -24,6 +24,12 @@
|
|||||||
|
|
||||||
#ifndef __ar9300template_wasp_2_h__
|
#ifndef __ar9300template_wasp_2_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t ar9300_template_wasp_2=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -25,6 +25,11 @@
|
|||||||
#ifndef __ar9300templateXB112_h__
|
#ifndef __ar9300templateXB112_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t ar9300_template_xb112=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -25,6 +25,11 @@
|
|||||||
#ifndef __ar9300templateXB113_h__
|
#ifndef __ar9300templateXB113_h__
|
||||||
#define __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=
|
static ar9300_eeprom_t ar9300_template_xb113=
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user