From owner-svn-src-all@FreeBSD.ORG Mon Feb 7 21:30:57 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 506A4106566B; Mon, 7 Feb 2011 21:30:57 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0C98FC23; Mon, 7 Feb 2011 21:30:57 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p17LUveP023152; Mon, 7 Feb 2011 21:30:57 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p17LUvRO023150; Mon, 7 Feb 2011 21:30:57 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201102072130.p17LUvRO023150@svn.freebsd.org> From: Adrian Chadd Date: Mon, 7 Feb 2011 21:30:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218416 - head/sys/dev/ath/ath_hal/ar9002 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 21:30:57 -0000 Author: adrian Date: Mon Feb 7 21:30:56 2011 New Revision: 218416 URL: http://svn.freebsd.org/changeset/base/218416 Log: Use analog delay macro for modifying an analog register. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280.c Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar9002/ar9280.c Mon Feb 7 21:30:13 2011 (r218415) +++ head/sys/dev/ath/ath_hal/ar9002/ar9280.c Mon Feb 7 21:30:56 2011 (r218416) @@ -118,7 +118,7 @@ ar9280SetChannel(struct ath_hal *ah, con channelSel = (freq * 0x8000)/15; /* RefDivA setting */ - OS_REG_RMW_FIELD(ah, AR_AN_SYNTH9, + OS_A_REG_RMW_FIELD(ah, AR_AN_SYNTH9, AR_AN_SYNTH9_REFDIVA, refDivA); } if (!fracMode) {