summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
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/ar5212/ar5212_attach.c
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/ar5212/ar5212_attach.c')
-rw-r--r--sys/dev/ath/ath_hal/ar5212/ar5212_attach.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c b/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
index 300c0a3..63856a4 100644
--- a/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
+++ b/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
@@ -840,6 +840,13 @@ ar5212FillCapabilityInfo(struct ath_hal *ah)
AH_PRIVATE(ah)->ah_macVersion > AR_SREV_VERSION_VENICE;
pCap->halTstampPrecision = 15;
+ pCap->halIntrMask = HAL_INT_COMMON
+ | HAL_INT_RX
+ | HAL_INT_TX
+ | HAL_INT_FATAL
+ | HAL_INT_BNR
+ | HAL_INT_BMISC
+ ;
return AH_TRUE;
#undef IS_COBRA
OpenPOWER on IntegriCloud