svn commit: r225456 - user/adrian/if_ath_tx/sys/dev/ath/ath_hal/ar5212

Adrian Chadd adrian at FreeBSD.org
Fri Sep 9 04:41:15 UTC 2011


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);


More information about the svn-src-user mailing list