diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2011-11-08 22:50:28 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2011-11-08 22:50:28 +0000 |
commit | 31fdf3d6d27e50d8074ce4eae4366d175f461fd9 (patch) | |
tree | e48212686266192ed8e1ee9e9a1f3358d0ab8477 /etc/rc.subr | |
parent | eb6f0de09db233bf9b4b75b7aa79d9319b5fc7c1 (diff) | |
download | src-31fdf3d6d27e50d8074ce4eae4366d175f461fd9.tar.gz src-31fdf3d6d27e50d8074ce4eae4366d175f461fd9.zip |
Fix the KTR option to compile by default - it was referencing
some unmerged interrupt status debugging code from my branch.
* Add ah_intrstate[8] which will have the record of the last
call to ath_hal_getintr().
* Wrap the KTR code behind ATH_KTR_INTR_DEBUG.
* Add the HAL interrupt debugging behind AH_INTERRUPT_DEBUGGING.
This is only done for the AR5416 and later NICs but it will be
trivial to add to the earlier NICs if required.
Neither are enabled by default, although to minimise HAL binary
API differences, the ah_intrstate[] array is always compiled into
the ath_hal struct.
Notes
Notes:
svn path=/head/; revision=227365
Diffstat (limited to 'etc/rc.subr')
0 files changed, 0 insertions, 0 deletions