diff options
author | sam <sam@FreeBSD.org> | 2009-05-19 17:30:13 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-05-19 17:30:13 +0000 |
commit | 4bc0dcfe6919ce6f7b8fd1f229940c19bcba927b (patch) | |
tree | 58667432ec8cd71cb526825526e7cbc578127480 /sys/dev/ath/ath_hal/ah.c | |
parent | ced59a6c968b490d5045e2d20066f919430494e2 (diff) | |
download | FreeBSD-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/ah.c')
-rw-r--r-- | sys/dev/ath/ath_hal/ah.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ath/ath_hal/ah.c b/sys/dev/ath/ath_hal/ah.c index 63165a5..616e19b 100644 --- a/sys/dev/ath/ath_hal/ah.c +++ b/sys/dev/ath/ath_hal/ah.c @@ -500,6 +500,9 @@ ath_hal_getcapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type, case HAL_CAP_RXTSTAMP_PREC: /* rx desc tstamp precision (bits) */ *result = pCap->halTstampPrecision; return HAL_OK; + case HAL_CAP_INTRMASK: /* mask of supported interrupts */ + *result = pCap->halIntrMask; + return HAL_OK; default: return HAL_EINVAL; } |