summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar5212reg.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-05-08 14:46:51 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-05-08 14:46:51 +0000
commit77113f167c741e3eff29b39abdd0cd4270233779 (patch)
treeebaddc0c3ae17f160cae259022e33f79cb59f152 /sys/dev/ic/ar5212reg.h
parent818508ef09189d005016d748d9c9e571593aa73d (diff)
fix silicon version number reporting. ie. ath0: mac 80.6 -> ath0: mac 5.6.
Diffstat (limited to 'sys/dev/ic/ar5212reg.h')
-rw-r--r--sys/dev/ic/ar5212reg.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ic/ar5212reg.h b/sys/dev/ic/ar5212reg.h
index 7f11d5de49d..5893f248984 100644
--- a/sys/dev/ic/ar5212reg.h
+++ b/sys/dev/ic/ar5212reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5212reg.h,v 1.4 2005/03/20 04:21:55 reyk Exp $ */
+/* $OpenBSD: ar5212reg.h,v 1.5 2005/05/08 14:46:50 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net>
@@ -645,9 +645,10 @@ typedef enum {
* Silicon revision register
*/
#define AR5K_AR5212_SREV 0x4020
-#define AR5K_AR5212_SREV_M 0x000000ff
-#define AR5K_AR5212_SREV_REVISION 0x0000000f
-#define AR5K_AR5212_SREV_VERSION 0x000000f0
+#define AR5K_AR5212_SREV_REV 0x0000000f
+#define AR5K_AR5212_SREV_REV_S 0
+#define AR5K_AR5212_SREV_VER 0x000000ff
+#define AR5K_AR5212_SREV_VER_S 4
/*
* EEPROM access registers