From owner-svn-src-head@FreeBSD.ORG Mon May 7 18:30:22 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 E7246106579D; Mon, 7 May 2012 18:30:22 +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 D35998FC0A; Mon, 7 May 2012 18:30:22 +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 q47IUMsv077140; Mon, 7 May 2012 18:30:22 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q47IUMKa077138; Mon, 7 May 2012 18:30:22 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201205071830.q47IUMKa077138@svn.freebsd.org> From: Adrian Chadd Date: Mon, 7 May 2012 18:30:22 +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: r235134 - 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: Mon, 07 May 2012 18:30:23 -0000 Author: adrian Date: Mon May 7 18:30:22 2012 New Revision: 235134 URL: http://svn.freebsd.org/changeset/base/235134 Log: Re-enable this particular DELAY() for now, at least until the TX and RX PCU stop/drain routines have been thoroughly debugged. It's also very likely that I should add hooks back up to the interface glue (if_ath_pci / if_ath_ahb) to do any relevant bus flushes that are required. A WMAC DDR flush may be required for the AR9130 SoC. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Mon May 7 17:13:36 2012 (r235133) +++ head/sys/dev/ath/if_ath.c Mon May 7 18:30:22 2012 (r235134) @@ -5421,7 +5421,9 @@ ath_stoprecv(struct ath_softc *sc, int d * TODO: see if this particular DELAY() is required; it may be * masking some missing FIFO flush or DMA sync. */ +#if 0 if (dodelay) +#endif DELAY(3000); /* 3ms is long enough for 1 frame */ #ifdef ATH_DEBUG if (sc->sc_debug & (ATH_DEBUG_RESET | ATH_DEBUG_FATAL)) {