From owner-svn-src-all@FreeBSD.ORG Sat Mar 19 03:09:22 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 2B3381065673; Sat, 19 Mar 2011 03:09:22 +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 1C0FF8FC13; Sat, 19 Mar 2011 03:09:22 +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 p2J39L2B088319; Sat, 19 Mar 2011 03:09:21 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p2J39Lh4088317; Sat, 19 Mar 2011 03:09:21 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201103190309.p2J39Lh4088317@svn.freebsd.org> From: Adrian Chadd Date: Sat, 19 Mar 2011 03:09:21 +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: r219770 - head/sys/dev/ath/ath_hal/ar5416 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: Sat, 19 Mar 2011 03:09:22 -0000 Author: adrian Date: Sat Mar 19 03:09:21 2011 New Revision: 219770 URL: http://svn.freebsd.org/changeset/base/219770 Log: Use the HAL method rather than directly calling ar5212ResetTxQueue(). Since ath9k does some slightly different bit fiddling when setting up the TX queues, it may that the TX queue setup/reset functions will need overriding later on. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c Sat Mar 19 01:41:58 2011 (r219769) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c Sat Mar 19 03:09:21 2011 (r219770) @@ -285,7 +285,7 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMO ahp->ah_intrTxqs = 0; for (i = 0; i < AH_PRIVATE(ah)->ah_caps.halTotalQueues; i++) - ar5212ResetTxQueue(ah, i); + ah->ah_resetTxQueue(ah, i); ar5416InitIMR(ah, opmode); ar5212SetCoverageClass(ah, AH_PRIVATE(ah)->ah_coverageClass, 1);