From 4bc0dcfe6919ce6f7b8fd1f229940c19bcba927b Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 19 May 2009 17:30:13 +0000 Subject: add HAL_CAP_INTRMASK to return the set of interrupts supported by the device --- sys/dev/ath/ath_hal/ah.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/ath/ath_hal/ah.c') 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; } -- cgit v1.1