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

Adrian Chadd adrian at FreeBSD.org
Mon Oct 24 14:23:41 UTC 2011


Author: adrian
Date: Mon Oct 24 14:23:40 2011
New Revision: 226689
URL: http://svn.freebsd.org/changeset/base/226689

Log:
  Introduce some new counters which will be used to track which parts
  of the codebase the driver is currently in.
  
  This is prepratory work for further locking/concurrency work.

Modified:
  user/adrian/if_ath_tx/sys/dev/ath/if_athvar.h

Modified: user/adrian/if_ath_tx/sys/dev/ath/if_athvar.h
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_athvar.h	Mon Oct 24 13:56:31 2011	(r226688)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_athvar.h	Mon Oct 24 14:23:40 2011	(r226689)
@@ -435,6 +435,10 @@ struct ath_softc {
 	uint32_t		sc_txq_active;	/* bitmap of active TXQs */
 	uint32_t		sc_kickpcu;	/* whether to kick the PCU */
 	uint32_t		sc_in_reset;	/* currently reset/chan change */
+	uint32_t		sc_in_rxtasklet;	/* currently in rx tasklet */
+	uint32_t		sc_in_rxproc;	/* currently in ath_rx_proc */
+	uint32_t		sc_in_txsend;	/* currently in ath_start / ath_raw_xmit */
+	uint32_t		sc_in_txproc;	/* currently in ath_tx_proc */
 
 	u_int			sc_keymax;	/* size of key cache */
 	u_int8_t		sc_keymap[ATH_KEYBYTES];/* key use bit map */


More information about the svn-src-user mailing list