From owner-svn-src-head@FreeBSD.ORG Wed Jun 26 04:34:45 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A5D745C8; Wed, 26 Jun 2013 04:34:45 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 984F91CCB; Wed, 26 Jun 2013 04:34:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5Q4Yjnw084400; Wed, 26 Jun 2013 04:34:45 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5Q4YjPn084399; Wed, 26 Jun 2013 04:34:45 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201306260434.r5Q4YjPn084399@svn.freebsd.org> From: Adrian Chadd Date: Wed, 26 Jun 2013 04:34:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r252235 - head/sys/contrib/dev/ath/ath_hal/ar9300 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2013 04:34:45 -0000 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! */