summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5416
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-05-19 17:30:13 +0000
committersam <sam@FreeBSD.org>2009-05-19 17:30:13 +0000
commit4bc0dcfe6919ce6f7b8fd1f229940c19bcba927b (patch)
tree58667432ec8cd71cb526825526e7cbc578127480 /sys/dev/ath/ath_hal/ar5416
parentced59a6c968b490d5045e2d20066f919430494e2 (diff)
downloadFreeBSD-src-4bc0dcfe6919ce6f7b8fd1f229940c19bcba927b.zip
FreeBSD-src-4bc0dcfe6919ce6f7b8fd1f229940c19bcba927b.tar.gz
add HAL_CAP_INTRMASK to return the set of interrupts supported by the device
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5416')
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_attach.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c b/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
index 1130529..01859d0 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
@@ -781,6 +781,17 @@ ar5416FillCapabilityInfo(struct ath_hal *ah)
pCap->halTstampPrecision = 32;
pCap->halHwPhyCounterSupport = AH_TRUE;
+ pCap->halIntrMask = HAL_INT_COMMON
+ | HAL_INT_RX
+ | HAL_INT_TX
+ | HAL_INT_FATAL
+ | HAL_INT_BNR
+ | HAL_INT_BMISC
+ | HAL_INT_DTIMSYNC
+ | HAL_INT_TSFOOR
+ | HAL_INT_CST
+ | HAL_INT_GTT
+ ;
pCap->halFastCCSupport = AH_TRUE;
pCap->halNumGpioPins = 6;
OpenPOWER on IntegriCloud