summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar5210reg.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/ar5210reg.h
parent818508ef09189d005016d748d9c9e571593aa73d (diff)
fix silicon version number reporting. ie. ath0: mac 80.6 -> ath0: mac 5.6.
Diffstat (limited to 'sys/dev/ic/ar5210reg.h')
-rw-r--r--sys/dev/ic/ar5210reg.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/dev/ic/ar5210reg.h b/sys/dev/ic/ar5210reg.h
index 4adf1011745..fbc6b913c94 100644
--- a/sys/dev/ic/ar5210reg.h
+++ b/sys/dev/ic/ar5210reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5210reg.h,v 1.8 2005/03/20 04:21:55 reyk Exp $ */
+/* $OpenBSD: ar5210reg.h,v 1.9 2005/05/08 14:46:50 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net>
@@ -311,14 +311,10 @@ typedef enum {
* Silicon revision register
*/
#define AR5K_AR5210_SREV 0x4020
-#define AR5K_AR5210_SREV_ID_M 0x000000ff
-#define AR5K_AR5210_SREV_FPGA 1
-#define AR5K_AR5210_SREV_PHYPLUS 2
-#define AR5K_AR5210_SREV_PHYPLUS_MS 3
-#define AR5K_AR5210_SREV_CRETE 4
-#define AR5K_AR5210_SREV_CRETE_MS 5
-#define AR5K_AR5210_SREV_CRETE_MS23 7
-#define AR5K_AR5210_SREV_CRETE_23 8
+#define AR5K_AR5210_SREV_REV 0x0000000f
+#define AR5K_AR5210_SREV_REV_S 0
+#define AR5K_AR5210_SREV_VER 0x000000ff
+#define AR5K_AR5210_SREV_VER_S 4
/*
* EEPROM access registers