summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-05-07 18:30:22 +0000
committeradrian <adrian@FreeBSD.org>2012-05-07 18:30:22 +0000
commit0803e21ea9f82f975c1f07f43b4e712e8454cd35 (patch)
treed4d156778fb75e298ba981165584c85a78244cdb /sys/dev/ath/if_ath.c
parent66daa7f73f48d38f5311353ab936d0395de10047 (diff)
downloadFreeBSD-src-0803e21ea9f82f975c1f07f43b4e712e8454cd35.zip
FreeBSD-src-0803e21ea9f82f975c1f07f43b4e712e8454cd35.tar.gz
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.
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 09fc812..4511203 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -5421,7 +5421,9 @@ ath_stoprecv(struct ath_softc *sc, int dodelay)
* 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)) {
OpenPOWER on IntegriCloud