svn commit: r225527 - user/adrian/if_ath_tx/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Tue Sep 13 09:32:49 UTC 2011


Author: adrian
Date: Tue Sep 13 09:32:48 2011
New Revision: 225527
URL: http://svn.freebsd.org/changeset/base/225527

Log:
  Remove this bit of debugging; it's no longer needed as I think
  I've  finally found the source of the missing TX interrupts.
  (I'll fix that in a subsequent commit once I've verified the test
  actually does finally fix it.)

Modified:
  user/adrian/if_ath_tx/sys/dev/ath/if_ath.c

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath.c	Tue Sep 13 08:49:52 2011	(r225526)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath.c	Tue Sep 13 09:32:48 2011	(r225527)
@@ -1342,7 +1342,6 @@ ath_handle_intr(void *arg, int npending)
 	HAL_INT status;
 	struct ath_hal *ah = sc->sc_ah;
 	struct ifnet *ifp = sc->sc_ifp;
-	uint32_t txqs;
 
 	if (sc->sc_invalid) {
 		/*
@@ -1381,20 +1380,6 @@ ath_handle_intr(void *arg, int npending)
 	}
 
 	/*
-	 * If at this point, any of the TX interrupt status lines are
-	 * active, we've messed up. These should only be updated in
-	 * ath_intr().
-	 */
-	txqs = 0xff;
-	ath_hal_gettxintrtxqs(ah, &txqs);
-	if (txqs != 0) {
-		device_printf(sc->sc_dev,
-		    "%s: unserviced TXQs: txq mask=0x%.08x, int status=0x%.08x\n",
-		    __func__, txqs, status);
-		/* XXX since it's been cleared, there's no way to fix it.. */
-	}
-
-	/*
 	 * If TX or RX occured, call ath_start() if the interface
 	 * can grab some packets.
 	 */


More information about the svn-src-user mailing list