svn commit: r360954 - head/sys/contrib/dev/ath/ath_hal/ar9300
Adrian Chadd
adrian at FreeBSD.org
Tue May 12 02:23:13 UTC 2020
Author: adrian
Date: Tue May 12 02:23:11 2020
New Revision: 360954
URL: https://svnweb.freebsd.org/changeset/base/360954
Log:
[ath_hal_ar9300] Ensure AH_BYTE_ORDER is defined before used.
Same deal here - ensure endian bits are set here first!
Modified:
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_ap121.h
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_aphrodite.h
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_cus157.h
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_generic.h
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_hb112.h
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_hb116.h
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_osprey_k31.h
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_wasp_2.h
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_xb112.h
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_xb113.h
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_ap121.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_ap121.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_ap121.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_aphrodite.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_aphrodite.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_aphrodite.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_cus157.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_cus157.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_cus157.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_generic.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_generic.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_generic.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_hb112.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_hb112.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_hb112.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_hb116.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_hb116.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_hb116.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_osprey_k31.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_osprey_k31.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_osprey_k31.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_wasp_2.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_wasp_2.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_wasp_2.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_xb112.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_xb112.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_xb112.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_xb113.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_xb113.h Tue May 12 02:20:27 2020 (r360953)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300template_xb113.h Tue May 12 02:23:11 2020 (r360954)
@@ -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=
{
More information about the svn-src-all
mailing list