summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-01-24 17:03:22 +0000
committeradrian <adrian@FreeBSD.org>2011-01-24 17:03:22 +0000
commit7116b24f385da6a8d5578444981715afd77678a6 (patch)
treecaafa33d3305cf38e5dbd7b898a1bd65e5c905ea
parent8a991ae92b77e0f810fb9fbf2529ff6e6a4e2aa5 (diff)
downloadFreeBSD-src-7116b24f385da6a8d5578444981715afd77678a6.zip
FreeBSD-src-7116b24f385da6a8d5578444981715afd77678a6.tar.gz
Remove an invalid register setup; this is likely a holdover from
the AR5212 code. It doesn't exist in ath9k and I've been told it doesn't exist in the Atheros internal driver.
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_reset.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
index 9c30bfe..2c37feb 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
@@ -209,9 +209,6 @@ ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode,
#endif
}
- /* Set ADC/DAC select values */
- OS_REG_WRITE(ah, AR_PHY_SLEEP_SCAL, 0x0e);
-
if (AH5416(ah)->ah_rx_chainmask == 0x5 ||
AH5416(ah)->ah_tx_chainmask == 0x5)
OS_REG_WRITE(ah, AR_PHY_ANALOG_SWAP, AR_PHY_SWAP_ALT_CHAIN);
OpenPOWER on IntegriCloud