summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar5212reg.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-03-18 20:46:33 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-03-18 20:46:33 +0000
commit99ffeb3c9aafd7dabf66291b3be26609a7f8e9ed (patch)
treea8394d50a1890b9821645b57970b3ec4843a3309 /sys/dev/ic/ar5212reg.h
parentea9eb4ece3f4d505a09c29777bef563ce7262826 (diff)
improve ar5212 init on reset
Diffstat (limited to 'sys/dev/ic/ar5212reg.h')
-rw-r--r--sys/dev/ic/ar5212reg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/ic/ar5212reg.h b/sys/dev/ic/ar5212reg.h
index bf3e76bc861..89cca021405 100644
--- a/sys/dev/ic/ar5212reg.h
+++ b/sys/dev/ic/ar5212reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5212reg.h,v 1.2 2005/03/10 08:30:56 reyk Exp $ */
+/* $OpenBSD: ar5212reg.h,v 1.3 2005/03/18 20:46:32 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net>
@@ -611,6 +611,9 @@ typedef enum {
#define AR5K_AR5212_PCICFG_LEDBLINK 0x00700000
#define AR5K_AR5212_PCICFG_LEDBLINK_S 20
#define AR5K_AR5212_PCICFG_LEDSLOW 0x00800000
+#define AR5K_AR5212_PCICFG_LEDSTATE \
+ (AR5K_AR5212_PCICFG_LED | AR5K_AR5212_PCICFG_LEDMODE | \
+ AR5K_AR5212_PCICFG_LEDBLINK | AR5K_AR5212_PCICFG_LEDSLOW)
/*
* "General Purpose Input/Output" (GPIO) control register
@@ -1123,6 +1126,11 @@ typedef enum {
#define AR5K_AR5212_PHY_PAPD_PROBE_TXPOWER 0x00007e00
#define AR5K_AR5212_PHY_PAPD_PROBE_TXPOWER_S 9
#define AR5K_AR5212_PHY_PAPD_PROBE_TX_NEXT 0x00008000
+#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE 0x01800000
+#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_S 23
+#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_OFDM 0
+#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_XR 1
+#define AR5K_AR5212_PHY_PAPD_PROBE_TYPE_CCK 2
#define AR5K_AR5212_PHY_PAPD_PROBE_GAINF 0xfe000000
#define AR5K_AR5212_PHY_PAPD_PROBE_GAINF_S 25