summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-06-26 04:34:45 +0000
committeradrian <adrian@FreeBSD.org>2013-06-26 04:34:45 +0000
commit385685bc78d8ffc0acbdfea7f258f10fc8fa621f (patch)
tree101f960b5d7672ab6671cde2839a6f973425d26d /sys/contrib
parentbbf3201d046378e71cf96afabf209800dfaac508 (diff)
downloadFreeBSD-src-385685bc78d8ffc0acbdfea7f258f10fc8fa621f.zip
FreeBSD-src-385685bc78d8ffc0acbdfea7f258f10fc8fa621f.tar.gz
In preparation to support AR933x SoC builds, allow the AH_SUPPORT_AR93(xx)
options to set the AR9300 HAL defines. This enables the Wasp, Hornet (and later Scorpion) SoC code.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h
index c13beb4..a159c2c 100644
--- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h
+++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h
@@ -51,10 +51,13 @@
#define AH_SUPPORT_AR9300 1
/* These are the embedded boards; we don't currently support these */
-//#define AH_SUPPORT_HORNET 1
-//#define AH_SUPPORT_WASP 1
+#ifdef AH_SUPPORT_AR9330
+#define AH_SUPPORT_HORNET 1
+#endif /* AH_SUPPORT_AR9330 */
+#ifdef AH_SUPPORT_AR9340
+#define AH_SUPPORT_WASP 1
+#endif /* AH_SUPPORT_AR9340 */
//#define AH_SUPPORT_SCORPION 1
-
#define FIX_NOISE_FLOOR 1
/* XXX this needs to be removed! No atomics in the HAL! */
OpenPOWER on IntegriCloud