From owner-svn-src-head@FreeBSD.ORG Thu Sep 20 03:04:20 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED3E4106566C; Thu, 20 Sep 2012 03:04:19 +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 D967E8FC14; Thu, 20 Sep 2012 03:04:19 +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 q8K34J9H027511; Thu, 20 Sep 2012 03:04:19 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8K34Jen027509; Thu, 20 Sep 2012 03:04:19 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201209200304.q8K34Jen027509@svn.freebsd.org> From: Adrian Chadd Date: Thu, 20 Sep 2012 03:04:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r240722 - head/sys/dev/ath X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2012 03:04:20 -0000 Author: adrian Date: Thu Sep 20 03:04:19 2012 New Revision: 240722 URL: http://svn.freebsd.org/changeset/base/240722 Log: Place the comment where it should be. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_tx.c ============================================================================== --- head/sys/dev/ath/if_ath_tx.c Thu Sep 20 03:03:01 2012 (r240721) +++ head/sys/dev/ath/if_ath_tx.c Thu Sep 20 03:04:19 2012 (r240722) @@ -1289,8 +1289,18 @@ ath_tx_xmit_normal(struct ath_softc *sc, ath_tx_handoff(sc, txq, bf); } - - +/* + * Do the basic frame setup stuff that's required before the frame + * is added to a software queue. + * + * All frames get mostly the same treatment and it's done once. + * Retransmits fiddle with things like the rate control setup, + * setting the retransmit bit in the packet; doing relevant DMA/bus + * syncing and relinking it (back) into the hardware TX queue. + * + * Note that this may cause the mbuf to be reallocated, so + * m0 may not be valid. + */ static int ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf, struct mbuf *m0, struct ath_txq *txq) @@ -2701,20 +2711,6 @@ ath_tx_swq(struct ath_softc *sc, struct } /* - * Do the basic frame setup stuff that's required before the frame - * is added to a software queue. - * - * All frames get mostly the same treatment and it's done once. - * Retransmits fiddle with things like the rate control setup, - * setting the retransmit bit in the packet; doing relevant DMA/bus - * syncing and relinking it (back) into the hardware TX queue. - * - * Note that this may cause the mbuf to be reallocated, so - * m0 may not be valid. - */ - - -/* * Configure the per-TID node state. * * This likely belongs in if_ath_node.c but I can't think of anywhere