From owner-svn-src-head@FreeBSD.ORG Tue Feb 24 01:16:41 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4BBB106566B; Tue, 24 Feb 2009 01:16:41 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 884818FC19; Tue, 24 Feb 2009 01:16:41 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1O1Gfkw046619; Tue, 24 Feb 2009 01:16:41 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1O1GfXv046616; Tue, 24 Feb 2009 01:16:41 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200902240116.n1O1GfXv046616@svn.freebsd.org> From: Sam Leffler Date: Tue, 24 Feb 2009 01:16:41 +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: r188980 - head/sys/dev/ath/ath_hal/ar5416 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 24 Feb 2009 01:16:42 -0000 Author: sam Date: Tue Feb 24 01:16:40 2009 New Revision: 188980 URL: http://svn.freebsd.org/changeset/base/188980 Log: move attach debug msg to the rf backend Modified: head/sys/dev/ath/ath_hal/ar5416/ar2133.c head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c head/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar2133.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar2133.c Tue Feb 24 01:07:06 2009 (r188979) +++ head/sys/dev/ath/ath_hal/ar5416/ar2133.c Tue Feb 24 01:16:40 2009 (r188980) @@ -415,6 +415,8 @@ ar2133RfAttach(struct ath_hal *ah, HAL_S struct ar2133State *priv; uint32_t *bankData; + HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s: attach AR2133 radio\n", __func__); + HALASSERT(ahp->ah_rfHal == AH_NULL); priv = ath_hal_malloc(sizeof(struct ar2133State) + AH5416(ah)->ah_ini_bank0.rows * sizeof(uint32_t) Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Tue Feb 24 01:07:06 2009 (r188979) +++ head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c Tue Feb 24 01:16:40 2009 (r188980) @@ -336,8 +336,6 @@ ar5416Attach(uint16_t devid, HAL_SOFTC s if (ahp->ah_miscMode != 0) OS_REG_WRITE(ah, AR_MISC_MODE, ahp->ah_miscMode); - HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s: Attaching AR2133 radio\n", - __func__); rfStatus = ar2133RfAttach(ah, &ecode); if (!rfStatus) { HALDEBUG(ah, HAL_DEBUG_ANY, "%s: RF setup failed, status %u\n", Modified: head/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c ============================================================================== --- head/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c Tue Feb 24 01:07:06 2009 (r188979) +++ head/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c Tue Feb 24 01:16:40 2009 (r188980) @@ -215,8 +215,6 @@ ar9160Attach(uint16_t devid, HAL_SOFTC s goto bad; #endif } - HALDEBUG(ah, HAL_DEBUG_ATTACH, "%s: Attaching AR2133 radio\n", - __func__); rfStatus = ar2133RfAttach(ah, &ecode); if (!rfStatus) { HALDEBUG(ah, HAL_DEBUG_ANY, "%s: RF setup failed, status %u\n",