svn commit: r221427 - head/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Wed May 4 09:26:33 UTC 2011


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) */


More information about the svn-src-all mailing list