svn commit: r252235 - head/sys/contrib/dev/ath/ath_hal/ar9300
Adrian Chadd
adrian at FreeBSD.org
Wed Jun 26 04:34:45 UTC 2013
Author: adrian
Date: Wed Jun 26 04:34:45 2013
New Revision: 252235
URL: http://svnweb.freebsd.org/changeset/base/252235
Log:
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.
Modified:
head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h
Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h Wed Jun 26 04:34:16 2013 (r252234)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_freebsd_inc.h Wed Jun 26 04:34:45 2013 (r252235)
@@ -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! */
More information about the svn-src-all
mailing list