summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath_rx.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-11-08 18:11:31 +0000
committeradrian <adrian@FreeBSD.org>2012-11-08 18:11:31 +0000
commit2092e733094d0625768a248a7322b6457b81ae8f (patch)
tree5748256693582a5156ed3a762f0252b6854672b2 /sys/dev/ath/if_ath_rx.c
parent58a78bc1d751c4b99a36f956bf35766de093ab59 (diff)
downloadFreeBSD-src-2092e733094d0625768a248a7322b6457b81ae8f.zip
FreeBSD-src-2092e733094d0625768a248a7322b6457b81ae8f.tar.gz
Add some hooks into the driver to attach, detach and record EDMA descriptor
events. This is primarily for the TX EDMA and TX EDMA completion. I haven't yet tied it into the EDMA RX path or the legacy TX/RX path. Things that I don't quite like: * Make the pointer type 'void' in ath_softc and have if_ath_alq*() return a malloc'ed buffer. That would remove the need to include if_ath_alq.h in if_athvar.h. * The sysctl setup needs to be cleaned up.
Diffstat (limited to 'sys/dev/ath/if_ath_rx.c')
-rw-r--r--sys/dev/ath/if_ath_rx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_rx.c b/sys/dev/ath/if_ath_rx.c
index d614d5b..ff160b9 100644
--- a/sys/dev/ath/if_ath_rx.c
+++ b/sys/dev/ath/if_ath_rx.c
@@ -115,6 +115,10 @@ __FBSDID("$FreeBSD$");
#include <dev/ath/ath_tx99/ath_tx99.h>
#endif
+#ifdef ATH_DEBUG_ALQ
+#include <dev/ath/if_ath_alq.h>
+#endif
+
/*
* Calculate the receive filter according to the
* operating mode and state:
OpenPOWER on IntegriCloud