From owner-svn-src-projects@FreeBSD.ORG Sun Nov 30 07:24:37 2008 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C9D2106564A; Sun, 30 Nov 2008 07:24:37 +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 3A3738FC14; Sun, 30 Nov 2008 07:24:37 +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 mAU7ObjN078580; Sun, 30 Nov 2008 07:24:37 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAU7ObXm078579; Sun, 30 Nov 2008 07:24:37 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200811300724.mAU7ObXm078579@svn.freebsd.org> From: Sam Leffler Date: Sun, 30 Nov 2008 07:24:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r185469 - projects/ath_hal/ar5212 X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2008 07:24:37 -0000 Author: sam Date: Sun Nov 30 07:24:36 2008 New Revision: 185469 URL: http://svn.freebsd.org/changeset/base/185469 Log: make code compile Modified: projects/ath_hal/ar5212/ar5212_xmit.c Modified: projects/ath_hal/ar5212/ar5212_xmit.c ============================================================================== --- projects/ath_hal/ar5212/ar5212_xmit.c Sun Nov 30 05:55:24 2008 (r185468) +++ projects/ath_hal/ar5212/ar5212_xmit.c Sun Nov 30 07:24:36 2008 (r185469) @@ -548,10 +548,10 @@ ar5212NumTxPending(struct ath_hal *ah, u if (OS_REG_READ(ah, AR_Q_TXE) & (1 << q)) npend = 1; /* arbitrarily return 1 */ } -#ifdef DEBUG +#ifdef AH_DEBUG if (npend && (AH5212(ah)->ah_txq[q].tqi_type == HAL_TX_QUEUE_CAB)) { if (OS_REG_READ(ah, AR_Q_RDYTIMESHDN) & (1 << q)) { - isrPrintf("RTSD on CAB queue\n"); + ath_hal_printf(ah, "RTSD on CAB queue\n"); /* Clear the ReadyTime shutdown status bits */ OS_REG_WRITE(ah, AR_Q_RDYTIMESHDN, 1 << q); }