From owner-svn-src-all@FreeBSD.ORG Fri Apr 29 12:52:19 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 106B4106566B; Fri, 29 Apr 2011 12:52:19 +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 F2A498FC1D; Fri, 29 Apr 2011 12:52:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p3TCqITN099732; Fri, 29 Apr 2011 12:52:18 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p3TCqIMs099730; Fri, 29 Apr 2011 12:52:18 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201104291252.p3TCqIMs099730@svn.freebsd.org> From: Adrian Chadd Date: Fri, 29 Apr 2011 12:52:18 +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: r221206 - 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: Fri, 29 Apr 2011 12:52:19 -0000 Author: adrian Date: Fri Apr 29 12:52:18 2011 New Revision: 221206 URL: http://svn.freebsd.org/changeset/base/221206 Log: Remove some holdovers from the AR5212 origin of this code. These aren't relevant here. 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 Fri Apr 29 12:30:15 2011 (r221205) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c Fri Apr 29 12:52:18 2011 (r221206) @@ -201,23 +201,6 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMO HALDEBUG(ah, HAL_DEBUG_RESET, ">>>2 %s: AR_PHY_ADC_CTL=0x%x\n", __func__, OS_REG_READ(ah,AR_PHY_ADC_CTL)); - /* Set the mute mask to the correct default */ - if (AH_PRIVATE(ah)->ah_phyRev >= AR_PHY_CHIP_ID_REV_2) - OS_REG_WRITE(ah, AR_SEQ_MASK, 0x0000000F); - - if (AH_PRIVATE(ah)->ah_phyRev >= AR_PHY_CHIP_ID_REV_3) { - /* Clear reg to alllow RX_CLEAR line debug */ - OS_REG_WRITE(ah, AR_PHY_BLUETOOTH, 0); - } - if (AH_PRIVATE(ah)->ah_phyRev >= AR_PHY_CHIP_ID_REV_4) { -#ifdef notyet - /* Enable burst prefetch for the data queues */ - OS_REG_RMW_FIELD(ah, AR_D_FPCTL, ... ); - /* Enable double-buffering */ - OS_REG_CLR_BIT(ah, AR_TXCFG, AR_TXCFG_DBL_BUF_DIS); -#endif - } - /* * Setup ah_tx_chainmask / ah_rx_chainmask before we fiddle * with enabling the TX/RX radio chains. @@ -228,6 +211,8 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMO * before any radio register twiddling is done. */ ar5416InitChainMasks(ah); + + /* Setup the open-loop temperature compensation if required */ AH5416(ah)->ah_olcInit(ah); /* Setup the transmit power values. */