summaryrefslogtreecommitdiff
path: root/sys/dev/ic/athnreg.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2010-06-03 18:02:51 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2010-06-03 18:02:51 +0000
commit73ac8b7862c80ac91b46d7dd4286a0ddf58b57e0 (patch)
tree5d07a5d6a6bc42b038e9cfa923545642f962a462 /sys/dev/ic/athnreg.h
parent5cb09fd1fdef5fecaba99e19b3dbaee81b9e9162 (diff)
enable async fifo for >=AR9287 1.3 only.
from ath9k.
Diffstat (limited to 'sys/dev/ic/athnreg.h')
-rw-r--r--sys/dev/ic/athnreg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/athnreg.h b/sys/dev/ic/athnreg.h
index 4fcc16ca510..e499b4aa831 100644
--- a/sys/dev/ic/athnreg.h
+++ b/sys/dev/ic/athnreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: athnreg.h,v 1.11 2010/05/16 09:19:48 damien Exp $ */
+/* $OpenBSD: athnreg.h,v 1.12 2010/06/03 18:02:50 damien Exp $ */
/*-
* Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -779,6 +779,7 @@
#define AR_SREV_REVISION_9287_10 0
#define AR_SREV_REVISION_9287_11 1
#define AR_SREV_REVISION_9287_12 2
+#define AR_SREV_REVISION_9287_13 3
#define AR_SREV_VERSION_9380 0x1c0
#define AR_SREV_REVISION_9380_10 0
#define AR_SREV_REVISION_9380_20 2
@@ -1372,6 +1373,9 @@
#define AR_SREV_9287_12_OR_LATER(sc) \
((sc)->mac_ver > AR_SREV_VERSION_9287 || \
(AR_SREV_9287(sc) && (sc)->mac_rev >= AR_SREV_REVISION_9287_12))
+#define AR_SREV_9287_13_OR_LATER(sc) \
+ ((sc)->mac_ver > AR_SREV_VERSION_9287 || \
+ (AR_SREV_9287(sc) && (sc)->mac_rev >= AR_SREV_REVISION_9287_13))
#define AR_SREV_9380(sc) \
((sc)->mac_ver == AR_SREV_VERSION_9380)