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) */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to