diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2011-05-04 09:26:33 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2011-05-04 09:26:33 +0000 |
commit | 5a04ce2fdfb0f4d1105ccbca8ef7032f6a24f6c8 (patch) | |
tree | 55604f47f1df8105a663b3a656a8c839bf86fa86 | |
parent | 15bf9014c9bc74dc09bee3e3c7c60346a8d5e2e8 (diff) | |
download | src-5a04ce2fdfb0f4d1105ccbca8ef7032f6a24f6c8.tar.gz src-5a04ce2fdfb0f4d1105ccbca8ef7032f6a24f6c8.zip |
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.
Notes
Notes:
svn path=/head/; revision=221427
-rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar5416_reset.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c index 3700448d222e..95bd966824e9 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c @@ -168,13 +168,6 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode, 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) */ |