From owner-cvs-src-old@FreeBSD.ORG Tue Jan 13 05:50:30 2009 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 E0166106576A for ; Tue, 13 Jan 2009 05:50:30 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C18438FC1A for ; Tue, 13 Jan 2009 05:50:30 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0D5oUSp062946 for ; Tue, 13 Jan 2009 05:50:30 GMT (envelope-from sam@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0D5oUek062945 for cvs-src-old@freebsd.org; Tue, 13 Jan 2009 05:50:30 GMT (envelope-from sam@repoman.freebsd.org) Message-Id: <200901130550.n0D5oUek062945@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sam@repoman.freebsd.org using -f From: Sam Leffler Date: Tue, 13 Jan 2009 05:50:22 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ath/ath_hal/ar5212 ar5212_rfgain.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: Tue, 13 Jan 2009 05:50:31 -0000 sam 2009-01-13 05:50:22 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_hal/ar5212 ar5212_rfgain.c Log: SVN rev 187129 on 2009-01-13 05:50:22Z by sam On some platforms touching the bb registers when the phy is powered down will cause a fault. Check the phy power state before possibly reading from the bb, this can happen as ar5212Reset intentionally calls ar5212GetRfgain before bringing the bb out of reset (but we do it here and not in the caller to guard against other possible uses). Revision Changes Path 1.2 +3 -2 src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c