From owner-svn-src-head@freebsd.org Sat Jul 4 03:15:42 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8C4599594E; Sat, 4 Jul 2015 03:15:42 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DA19A162D; Sat, 4 Jul 2015 03:15:42 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t643Fger032915; Sat, 4 Jul 2015 03:15:42 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t643FgTH032914; Sat, 4 Jul 2015 03:15:42 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201507040315.t643FgTH032914@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Sat, 4 Jul 2015 03:15:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285123 - head/sys/contrib/dev/ath/ath_hal/ar9300 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 03:15:43 -0000 Author: adrian Date: Sat Jul 4 03:15:42 2015 New Revision: 285123 URL: https://svnweb.freebsd.org/changeset/base/285123 Log: Quieten the scorpion SoC/WMAC reset path. Stuff the non-error stuff under HALDEBUG(). Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c ============================================================================== --- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c Sat Jul 4 03:07:28 2015 (r285122) +++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c Sat Jul 4 03:15:42 2015 (r285123) @@ -1774,12 +1774,12 @@ ar9300_set_reset(struct ath_hal *ah, int } data = DDR_REG_READ(ah,DDR_CTL_CONFIG_OFFSET); - ath_hal_printf(ah, "check DDR Activity - HIGH\n"); + HALDEBUG(ah, HAL_DEBUG_RESET, "check DDR Activity - HIGH\n"); count = 0; while (DDR_CTL_CONFIG_CLIENT_ACTIVITY_GET(data)) { // AVE_DEBUG(0,"DDR Activity - HIGH\n"); - ath_hal_printf(ah, "DDR Activity - HIGH\n"); + HALDEBUG(ah, HAL_DEBUG_RESET, "DDR Activity - HIGH\n"); count++; OS_DELAY(10); data = DDR_REG_READ(ah,DDR_CTL_CONFIG_OFFSET); @@ -1801,7 +1801,7 @@ ar9300_set_reset(struct ath_hal *ah, int OS_DELAY(10); OS_REG_WRITE(ah, AR_RTC_RESET, 1); OS_DELAY(10); - ath_hal_printf(ah,"%s: Scorpion SoC RTC reset done.\n", __func__); + HALDEBUG(ah, HAL_DEBUG_RESET, "%s: Scorpion SoC RTC reset done.\n", __func__); } #undef REG_READ #undef REG_WRITE