Date: Wed, 4 May 2011 09:26:33 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r221427 - head/sys/dev/ath/ath_hal/ar5416 Message-ID: <201105040926.p449QXPr039713@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Wed May 4 09:26:33 2011 New Revision: 221427 URL: http://svn.freebsd.org/changeset/base/221427 Log: Remove this useless bit of code for Kite. The RIFS register value is overriden by the initvals, so disabling RIFS before calling writeIni() effectively does nothing. 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 Wed May 4 09:05:39 2011 (r221426) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c Wed May 4 09:26:33 2011 (r221427) @@ -168,13 +168,6 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMO if (AR_SREV_MERLIN_10_OR_LATER(ah)) OS_REG_SET_BIT(ah, AR_GPIO_INPUT_EN_VAL, AR_GPIO_JTAG_DISABLE); - if (AR_SREV_KITE(ah)) { - uint32_t val; - val = OS_REG_READ(ah, AR_PHY_HEAVY_CLIP_FACTOR_RIFS); - val &= ~AR_PHY_RIFS_INIT_DELAY; - OS_REG_WRITE(ah, AR_PHY_HEAVY_CLIP_FACTOR_RIFS, val); - } - AH5416(ah)->ah_writeIni(ah, chan); /* Override ini values (that can be overriden in this fashion) */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105040926.p449QXPr039713>