Date: Tue, 13 Jan 2009 05:50:22 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ath/ath_hal/ar5212 ar5212_rfgain.c Message-ID: <200901130550.n0D5oUek062945@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901130550.n0D5oUek062945>