summaryrefslogtreecommitdiff
path: root/src/ath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ath.h')
-rw-r--r--src/ath.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ath.h b/src/ath.h
index a75c4f1c..3c9e56a0 100644
--- a/src/ath.h
+++ b/src/ath.h
@@ -67,7 +67,13 @@ enum ath_thread_option
struct ath_ops
{
- enum ath_thread_option option;
+ /* The OPTION field encodes the thread model and the version number
+ of this structure.
+ Bits 7 - 0 are used for the thread model
+ Bits 15 - 8 are used for the version number.
+ */
+ unsigned int option;
+
int (*init) (void);
int (*mutex_init) (void **priv);
int (*mutex_destroy) (void *priv);