From owner-cvs-src-old@FreeBSD.ORG Wed Jan 26 10:08:51 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 838AF1065698 for ; Wed, 26 Jan 2011 10:08:51 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 718F58FC19 for ; Wed, 26 Jan 2011 10:08:51 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p0QA8p8D066735 for ; Wed, 26 Jan 2011 10:08:51 GMT (envelope-from adrian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0QA8p9q066734 for cvs-src-old@freebsd.org; Wed, 26 Jan 2011 10:08:51 GMT (envelope-from adrian@repoman.freebsd.org) Message-Id: <201101261008.p0QA8p9q066734@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to adrian@repoman.freebsd.org using -f From: Adrian Chadd Date: Wed, 26 Jan 2011 10:08:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath/ath_hal/ar5416 ar5416.h ar5416_reset.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2011 10:08:51 -0000 adrian 2011-01-26 10:08:37 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_hal/ar5416 ar5416.h ar5416_reset.c Log: SVN rev 217879 on 2011-01-26 10:08:37Z by adrian Break out the chainmask init code into a new function - ar5416InitChainMasks() . ath9k does a few different things here during config - if it's an early AR5416 with two chains, it enables all three chains for calibration and then restores the chainmask to the original values after initial calibration has completed. The reason behind this commit is to begin breaking out the chainmask configuration for this specific reason; follow-up commits will add the chainmask restore in the ar5416Reset() routine. Revision Changes Path 1.13 +1 -1 src/sys/dev/ath/ath_hal/ar5416/ar5416.h 1.22 +17 -7 src/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c