diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2011-04-29 12:52:18 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2011-04-29 12:52:18 +0000 |
commit | 1422779793a9eac5b7e79eedbf08a95564fa5d94 (patch) | |
tree | b2ee865085512202220d80d7f4a8bfbd6a6983fd /sys/dev/ath/ath_hal/ar5416/ar5416_reset.c | |
parent | 8b713a2f8a44ead97e850fc261658a8fbfab1958 (diff) | |
download | src-1422779793a9eac5b7e79eedbf08a95564fa5d94.tar.gz src-1422779793a9eac5b7e79eedbf08a95564fa5d94.zip |
Remove some holdovers from the AR5212 origin of this code.
These aren't relevant here.
Notes
Notes:
svn path=/head/; revision=221206
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5416/ar5416_reset.c')
-rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar5416_reset.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c index 49f1b61211e1..3700448d222e 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c +++ b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c @@ -201,23 +201,6 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode, 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_OPMODE opmode, * 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. */ |