diff options
author | adrian <adrian@FreeBSD.org> | 2012-11-08 18:11:31 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-11-08 18:11:31 +0000 |
commit | 2092e733094d0625768a248a7322b6457b81ae8f (patch) | |
tree | 5748256693582a5156ed3a762f0252b6854672b2 /sys/dev/ath/if_ath_tx.c | |
parent | 58a78bc1d751c4b99a36f956bf35766de093ab59 (diff) | |
download | FreeBSD-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_tx.c')
-rw-r--r-- | sys/dev/ath/if_ath_tx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath_tx.c b/sys/dev/ath/if_ath_tx.c index cf465c4..e18785e 100644 --- a/sys/dev/ath/if_ath_tx.c +++ b/sys/dev/ath/if_ath_tx.c @@ -101,6 +101,10 @@ __FBSDID("$FreeBSD$"); #include <dev/ath/if_ath_tx.h> #include <dev/ath/if_ath_tx_ht.h> +#ifdef ATH_DEBUG_ALQ +#include <dev/ath/if_ath_alq.h> +#endif + /* * How many retries to perform in software */ |