summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-10-17 10:55:08 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-10-17 10:55:08 +0000
commit627e3326fa418bb4d387b606cc9b7c7025022323 (patch)
tree6987a1abeb56e368286968e7d884a4b757421517 /sys
parent39fabf35216b41e26fde1267b94c91b0684dcba2 (diff)
define a mask to extract the result from status.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/if_wireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/if_wireg.h b/sys/dev/ic/if_wireg.h
index b21c3d97bc3..935d2cc6c5c 100644
--- a/sys/dev/ic/if_wireg.h
+++ b/sys/dev/ic/if_wireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wireg.h,v 1.36 2005/10/15 00:20:49 fgsch Exp $ */
+/* $OpenBSD: if_wireg.h,v 1.37 2005/10/17 10:55:07 fgsch Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -198,6 +198,7 @@
#define WI_CMD_WRITE_MIF 0x0031 /* prism2 */
#define WI_CMD_CODE_MASK 0x003F
+#define WI_CMD_RESULT_MASK 0x7F00
/*
* Reclaim qualifier bit, applicable to the