Date: Fri, 9 Sep 2011 04:41:15 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r225456 - user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5212 Message-ID: <201109090441.p894fFE1021736@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Fri Sep 9 04:41:14 2011 New Revision: 225456 URL: http://svn.freebsd.org/changeset/base/225456 Log: Disable the current debugging and add something of my own; just to point out if something stupid is occuring. This shouldn't be merged back into -HEAD. Modified: user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c Modified: user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c ============================================================================== --- user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c Fri Sep 9 04:40:20 2011 (r225455) +++ user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c Fri Sep 9 04:41:14 2011 (r225456) @@ -522,7 +522,11 @@ ar5212StartTxDma(struct ath_hal *ah, u_i HALASSERT(AH5212(ah)->ah_txq[q].tqi_type != HAL_TX_QUEUE_INACTIVE); - HALDEBUG(ah, HAL_DEBUG_TXQUEUE, "%s: queue %u\n", __func__, q); +// HALDEBUG(ah, HAL_DEBUG_TXQUEUE, "%s: queue %u\n", __func__, q); + if (OS_REG_READ(ah, AR_Q_TXD) & (1 << q)) { + ath_hal_printf(ah, "%s: TXQ: %d: disabled?\n", + __func__, q); + } /* Check to be sure we're not enabling a q that has its TXD bit set. */ HALASSERT((OS_REG_READ(ah, AR_Q_TXD) & (1 << q)) == 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109090441.p894fFE1021736>