From owner-svn-src-all@FreeBSD.ORG Thu Mar 10 06:09:56 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32DDF1065672; Thu, 10 Mar 2011 06:09:56 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 215028FC1E; Thu, 10 Mar 2011 06:09:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p2A69tDF033412; Thu, 10 Mar 2011 06:09:55 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p2A69tjZ033410; Thu, 10 Mar 2011 06:09:55 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201103100609.p2A69tjZ033410@svn.freebsd.org> From: Adrian Chadd Date: Thu, 10 Mar 2011 06:09:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219445 - head/sys/dev/ath/ath_hal/ar9002 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Mar 2011 06:09:56 -0000 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 */