svn commit: r225457 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Fri Sep 9 04:42:12 UTC 2011
Author: adrian
Date: Fri Sep 9 04:42:11 2011
New Revision: 225457
URL: http://svn.freebsd.org/changeset/base/225457
Log:
.. add this little gem of a reminder. Yes, why is sc_lastrx being updated
in the TX handler?
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 Fri Sep 9 04:41:14 2011 (r225456)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath.c Fri Sep 9 04:42:11 2011 (r225457)
@@ -4455,6 +4455,7 @@ ath_tx_proc_q0(void *arg, int npending)
struct ifnet *ifp = sc->sc_ifp;
if (txqactive(sc->sc_ah, 0) && ath_tx_processq(sc, &sc->sc_txq[0]))
+ /* XXX why is lastrx updated in tx code? */
sc->sc_lastrx = ath_hal_gettsf64(sc->sc_ah);
if (txqactive(sc->sc_ah, sc->sc_cabq->axq_qnum))
ath_tx_processq(sc, sc->sc_cabq);
More information about the svn-src-user
mailing list