summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar5211reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ar5211reg.h')
-rw-r--r--sys/dev/ic/ar5211reg.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/sys/dev/ic/ar5211reg.h b/sys/dev/ic/ar5211reg.h
index 01eb75339d4..d4d2d9cb8dc 100644
--- a/sys/dev/ic/ar5211reg.h
+++ b/sys/dev/ic/ar5211reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5211reg.h,v 1.5 2005/05/08 14:46:50 reyk Exp $ */
+/* $OpenBSD: ar5211reg.h,v 1.6 2005/07/30 17:13:17 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net>
@@ -91,6 +91,7 @@
*/
#define AR5K_AR5211_TXCFG 0x0030
#define AR5K_AR5211_TXCFG_SDMAMR 0x00000007
+#define AR5K_AR5211_TXCFG_SDMAMR_S 0
#define AR5K_AR5211_TXCFG_B_MODE 0x00000008
#define AR5K_AR5211_TXCFG_TXFULL 0x000003f0
#define AR5K_AR5211_TXCFG_TXFULL_S 4
@@ -100,6 +101,7 @@
#define AR5K_AR5211_TXCFG_TXFULL_192B 0x00000030
#define AR5K_AR5211_TXCFG_TXFULL_256B 0x00000040
#define AR5K_AR5211_TXCFG_TXCONT_ENABLE 0x00000080
+#define AR5K_AR5211_TXCFG_DMASIZE 0x00000100
#define AR5K_AR5211_TXCFG_JUMBO_TXE 0x00000400
#define AR5K_AR5211_TXCFG_RTSRND 0x00001000
#define AR5K_AR5211_TXCFG_FRMPAD_DIS 0x00002000
@@ -110,6 +112,7 @@
*/
#define AR5K_AR5211_RXCFG 0x0034
#define AR5K_AR5211_RXCFG_SDMAMW 0x00000007
+#define AR5K_AR5211_RXCFG_SDMAMW_S 0
#define AR5K_AR5311_RXCFG_DEFAULT_ANTENNA 0x00000008
#define AR5K_AR5211_RXCFG_ZLFDMA 0x00000010
#define AR5K_AR5211_RXCFG_JUMBO_RXE 0x00000020
@@ -524,13 +527,13 @@
*/
typedef enum {
AR5K_AR5211_DMASIZE_4B = 0,
- AR5K_AR5211_DMASIZE_8B,
- AR5K_AR5211_DMASIZE_16B,
- AR5K_AR5211_DMASIZE_32B,
- AR5K_AR5211_DMASIZE_64B,
- AR5K_AR5211_DMASIZE_128B,
- AR5K_AR5211_DMASIZE_256B,
- AR5K_AR5211_DMASIZE_512B
+ AR5K_AR5211_DMASIZE_8B = 1,
+ AR5K_AR5211_DMASIZE_16B = 2,
+ AR5K_AR5211_DMASIZE_32B = 3,
+ AR5K_AR5211_DMASIZE_64B = 4,
+ AR5K_AR5211_DMASIZE_128B = 5,
+ AR5K_AR5211_DMASIZE_256B = 6,
+ AR5K_AR5211_DMASIZE_512B = 7
} ar5k_ar5211_dmasize_t;
/*