summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-01-07 20:23:05 +0000
committeradrian <adrian@FreeBSD.org>2012-01-07 20:23:05 +0000
commitbb6e0c39393772b71f38276e21b813233f9136e5 (patch)
tree17c21e98b3c6d32d06f00fc94ce39aa24829ed08 /sys/dev
parent9fdf403f85bfac6149c9c54846162dd91a7605c4 (diff)
downloadFreeBSD-src-bb6e0c39393772b71f38276e21b813233f9136e5.zip
FreeBSD-src-bb6e0c39393772b71f38276e21b813233f9136e5.tar.gz
.. the AR5416 HAL code touches the MIMO parts in HAL_CHANNEL,
so this is also needed. Pointed out by: bz
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/ath_hal/ah_desc.h2
-rw-r--r--sys/dev/ath/ath_hal/ah_internal.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ah_desc.h b/sys/dev/ath/ath_hal/ah_desc.h
index b7d4e2d..0fa9bf6 100644
--- a/sys/dev/ath/ath_hal/ah_desc.h
+++ b/sys/dev/ath/ath_hal/ah_desc.h
@@ -31,7 +31,9 @@
* they'll be initialised to 0 anyway.
*/
+#ifndef AH_SUPPORT_AR5416
#define AH_SUPPORT_AR5416 1
+#endif
/*
* Transmit descriptor status. This structure is filled
diff --git a/sys/dev/ath/ath_hal/ah_internal.h b/sys/dev/ath/ath_hal/ah_internal.h
index a253b65..b34d925 100644
--- a/sys/dev/ath/ath_hal/ah_internal.h
+++ b/sys/dev/ath/ath_hal/ah_internal.h
@@ -30,6 +30,10 @@
#include <net80211/_ieee80211.h>
#include "opt_ah.h" /* needed for AH_SUPPORT_AR5416 */
+#ifndef AH_SUPPORT_AR5416
+#define AH_SUPPORT_AR5416 1
+#endif
+
#ifndef NBBY
#define NBBY 8 /* number of bits/byte */
#endif
OpenPOWER on IntegriCloud