svn commit: r185469 - projects/ath_hal/ar5212
Sam Leffler
sam at FreeBSD.org
Sat Nov 29 23:24:37 PST 2008
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);
}
More information about the svn-src-projects
mailing list