Date: Thu, 10 Mar 2011 06:09:55 +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: r219445 - head/sys/dev/ath/ath_hal/ar9002 Message-ID: <201103100609.p2A69tjZ033410@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu Mar 10 06:09:55 2011 New Revision: 219445 URL: http://svn.freebsd.org/changeset/base/219445 Log: Now that the power curve adjustment code is in, disable the error check I introduced earlier, and turn it into debugging output. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c Modified: head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c Thu Mar 10 06:08:24 2011 (r219444) +++ head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c Thu Mar 10 06:09:55 2011 (r219445) @@ -266,12 +266,9 @@ ar9280Attach(uint16_t devid, HAL_SOFTC s * This can occur with eeprom minor V21 or greater on Merlin. */ (void) ath_hal_eepromGet(ah, AR_EEP_PWR_TABLE_OFFSET, &pwr_table_offset); - if (pwr_table_offset != AR5416_PWR_TABLE_OFFSET_DB) { - ath_hal_printf(ah, "ERROR: default pwr offset: %d dBm != EEPROM pwr offset: %d dBm\n", + if (pwr_table_offset != AR5416_PWR_TABLE_OFFSET_DB) + ath_hal_printf(ah, "[ath]: default pwr offset: %d dBm != EEPROM pwr offset: %d dBm; curves will be adjusted.\n", AR5416_PWR_TABLE_OFFSET_DB, (int) pwr_table_offset); - ecode = HAL_ENOTSUPP; - goto bad; - } if (AR_SREV_MERLIN_20_OR_LATER(ah)) { /* setup rxgain table */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103100609.p2A69tjZ033410>