summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar5212reg.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-06-05 15:21:44 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-06-05 15:21:44 +0000
commit8b1c64a214730681f95b5dc8e97f30f19084ad22 (patch)
treedb20c3846af7b00d24fcb6530a26fea505cdebc1 /sys/dev/ic/ar5212reg.h
parentb365c53bc7d3c5ad10356afb55134dc40a71d75e (diff)
start to sync some changes and fixes from various "openhal" ports of
this driver. thanks for contribution (even if i didn't get much feedback from these projects...). tested by many during c2k6, like aanriot@ and ian@
Diffstat (limited to 'sys/dev/ic/ar5212reg.h')
-rw-r--r--sys/dev/ic/ar5212reg.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/ar5212reg.h b/sys/dev/ic/ar5212reg.h
index 43af0889100..a2b3cbc665e 100644
--- a/sys/dev/ic/ar5212reg.h
+++ b/sys/dev/ic/ar5212reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5212reg.h,v 1.7 2005/12/18 17:59:58 reyk Exp $ */
+/* $OpenBSD: ar5212reg.h,v 1.8 2006/06/05 15:21:43 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@openbsd.org>
@@ -1217,6 +1217,13 @@ typedef enum {
#define AR5K_AR5212_PHY_MODE_XR 0x00000010
/*
+ * PHY CCK transmit control register
+ */
+#define AR5K_AR5212_PHY_CCKTXCTL 0xa204
+#define AR5K_AR5212_PHY_CCKTXCTL_WORLD 0x00000000
+#define AR5K_AR5212_PHY_CCKTXCTL_JAPAN 0x00000010
+
+/*
* PHY 2GHz gain register
*/
#define AR5K_AR5212_PHY_GAIN_2GHZ 0xa20c