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:53:53 +0000
committersam <sam@FreeBSD.org>2009-05-19 17:53:53 +0000
commit74ad0d13c4278506577442c7d516b6d9f49c7c8a (patch)
tree314680fde4f657f27c46cfd9ede29cbde780d7c7 /sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
parentd0d8d4716c24049c9e1757028ab3c62c0a0830bb (diff)
downloadFreeBSD-src-74ad0d13c4278506577442c7d516b6d9f49c7c8a.zip
FreeBSD-src-74ad0d13c4278506577442c7d516b6d9f49c7c8a.tar.gz
add TBTT interrupt support; this was added in Griffin so consumers should
check HAL_CAP_INTRMASK before using it NB: didn't test 11n parts yet so supported only for 5212-class parts
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5212/ar5212_attach.c')
-rw-r--r--sys/dev/ath/ath_hal/ar5212/ar5212_attach.c2
1 files changed, 2 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 63856a4..60e1521 100644
--- a/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
+++ b/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
@@ -847,6 +847,8 @@ ar5212FillCapabilityInfo(struct ath_hal *ah)
| HAL_INT_BNR
| HAL_INT_BMISC
;
+ if (AH_PRIVATE(ah)->ah_macVersion < AR_SREV_VERSION_GRIFFIN)
+ pCap->halIntrMask &= ~HAL_INT_TBTT;
return AH_TRUE;
#undef IS_COBRA
OpenPOWER on IntegriCloud