From owner-svn-src-head@FreeBSD.ORG Wed Jun 12 15:18:11 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6AC08276; Wed, 12 Jun 2013 15:18:11 +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 5D5D21398; Wed, 12 Jun 2013 15:18:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5CFIBLZ040398; Wed, 12 Jun 2013 15:18:11 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5CFIBQK040397; Wed, 12 Jun 2013 15:18:11 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201306121518.r5CFIBQK040397@svn.freebsd.org> From: Adrian Chadd Date: Wed, 12 Jun 2013 15:18:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251656 - head/sys/dev/ath/ath_hal/ar9002 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, 12 Jun 2013 15:18:11 -0000 Author: adrian Date: Wed Jun 12 15:18:10 2013 New Revision: 251656 URL: http://svnweb.freebsd.org/changeset/base/251656 Log: Set the antenna "config group" field. The reference HAL pushes a config group parameter to the driver layer to inform it which particular chip behaviour to implement. This particular value tags it as an AR9285. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c Modified: head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c Wed Jun 12 14:52:57 2013 (r251655) +++ head/sys/dev/ath/ath_hal/ar9002/ar9285_phy.c Wed Jun 12 15:18:10 2013 (r251656) @@ -51,6 +51,7 @@ ar9285_antdiv_comb_conf_get(struct ath_h AR_PHY_9285_ANT_DIV_ALT_LNACONF_S; antconf->fast_div_bias = (regval & AR_PHY_9285_FAST_DIV_BIAS) >> AR_PHY_9285_FAST_DIV_BIAS_S; + antconf->antdiv_configgroup = DEFAULT_ANTDIV_CONFIG_GROUP; } void