From owner-svn-src-user@FreeBSD.ORG Fri Sep 9 04:42:12 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BB8C106564A; Fri, 9 Sep 2011 04:42:12 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8BD268FC12; Fri, 9 Sep 2011 04:42:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p894gCcl021800; Fri, 9 Sep 2011 04:42:12 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p894gC4Z021798; Fri, 9 Sep 2011 04:42:12 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201109090442.p894gC4Z021798@svn.freebsd.org> From: Adrian Chadd Date: Fri, 9 Sep 2011 04:42:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225457 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2011 04:42:12 -0000 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);