diff options
author | adrian <adrian@FreeBSD.org> | 2011-09-07 03:00:58 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2011-09-07 03:00:58 +0000 |
commit | cdf7076d7118db16c38beae26c3306791fd6fe7f (patch) | |
tree | c8afd2446601721b69e6d105af8c68e6183a6edd | |
parent | e24f96d4f67806600feb1a785480c940c688bf2d (diff) | |
download | FreeBSD-src-cdf7076d7118db16c38beae26c3306791fd6fe7f.zip FreeBSD-src-cdf7076d7118db16c38beae26c3306791fd6fe7f.tar.gz |
Add a definition for ASYNC_CAUSE_CLR. It's not used yet, but the
reference driver does clear the async interrupts after each service.
I'll tinker with this in a future commit.
Obtained from: Atheros
Approved by: re (kib)
-rw-r--r-- | sys/dev/ath/ath_hal/ar5416/ar5416reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416reg.h b/sys/dev/ath/ath_hal/ar5416/ar5416reg.h index 6d1c272..c18c26f 100644 --- a/sys/dev/ath/ath_hal/ar5416/ar5416reg.h +++ b/sys/dev/ath/ath_hal/ar5416/ar5416reg.h @@ -40,6 +40,7 @@ #define AR_INTR_ASYNC_MASK 0x4030 /* asynchronous interrupt mask */ #define AR_INTR_SYNC_MASK 0x4034 /* synchronous interrupt mask */ #define AR_INTR_ASYNC_CAUSE 0x4038 /* check pending interrupts */ +#define AR_INTR_ASYNC_CAUSE_CLR 0x4038 /* clear pending interrupts */ #define AR_INTR_ASYNC_ENABLE 0x403c /* enable interrupts */ #define AR5416_PCIE_SERDES 0x4040 #define AR5416_PCIE_SERDES2 0x4044 |