Date: Wed, 3 Aug 2011 06:51:14 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r224624 - head/sys/dev/ath/ath_hal Message-ID: <201108030651.p736pELx090350@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Wed Aug 3 06:51:14 2011 New Revision: 224624 URL: http://svn.freebsd.org/changeset/base/224624 Log: Remove the EEPROM minor >= 19 check for txgaintype; that's only needed for Merlin / v14 eeprom formats. Approved by: re (kib, blanket) Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v4k.c Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v4k.c ============================================================================== --- head/sys/dev/ath/ath_hal/ah_eeprom_v4k.c Wed Aug 3 04:28:16 2011 (r224623) +++ head/sys/dev/ath/ath_hal/ah_eeprom_v4k.c Wed Aug 3 06:51:14 2011 (r224624) @@ -75,8 +75,7 @@ v4kEepromGet(struct ath_hal *ah, int par case AR_EEP_RXGAIN_TYPE: return AR5416_EEP_RXGAIN_ORIG; case AR_EEP_TXGAIN_TYPE: - return IS_VERS(>=, AR5416_EEP_MINOR_VER_19) ? - pBase->txGainType : AR5416_EEP_TXGAIN_ORIG; + return pBase->txGainType; case AR_EEP_OL_PWRCTRL: HALASSERT(val == AH_NULL); return HAL_EIO;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108030651.p736pELx090350>