summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5416
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-05-08 00:23:00 +0000
committersam <sam@FreeBSD.org>2009-05-08 00:23:00 +0000
commita51a65fed4c9f5062b1713275072bf2d9f2b63e5 (patch)
treec0cff35a70f51f933e56723fcb8d107c6489a517 /sys/dev/ath/ath_hal/ar5416
parent5d9a8a010d786ffa9c861454cfb7a1214a5a6719 (diff)
downloadFreeBSD-src-a51a65fed4c9f5062b1713275072bf2d9f2b63e5.zip
FreeBSD-src-a51a65fed4c9f5062b1713275072bf2d9f2b63e5.tar.gz
kill more portability functions that are no longer useful
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5416')
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
index ac3d84a..4593588 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_reset.c
@@ -818,7 +818,7 @@ ar5416SetTransmitPower(struct ath_hal *ah,
HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER14_1);
/* Setup info for the actual eeprom */
- ath_hal_memzero(ratesArray, sizeof(ratesArray));
+ OS_MEMZERO(ratesArray, sizeof(ratesArray));
cfgCtl = ath_hal_getctl(ah, chan);
powerLimit = chan->ic_maxregpower * 2;
twiceAntennaReduction = chan->ic_maxantgain;
@@ -1759,7 +1759,7 @@ ar5416SetPowerCalTable(struct ath_hal *ah, struct ar5416eeprom *pEepData,
uint16_t xpdGainValues[AR5416_NUM_PD_GAINS];
uint32_t reg32, regOffset, regChainOffset;
- ath_hal_memzero(xpdGainValues, sizeof(xpdGainValues));
+ OS_MEMZERO(xpdGainValues, sizeof(xpdGainValues));
xpdMask = pEepData->modalHeader[IEEE80211_IS_CHAN_2GHZ(chan)].xpdGain;
OpenPOWER on IntegriCloud