diff options
Diffstat (limited to 'sys/dev/ic/ar5212reg.h')
-rw-r--r-- | sys/dev/ic/ar5212reg.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sys/dev/ic/ar5212reg.h b/sys/dev/ic/ar5212reg.h index 5893f248984..f049a14885b 100644 --- a/sys/dev/ic/ar5212reg.h +++ b/sys/dev/ic/ar5212reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5212reg.h,v 1.5 2005/05/08 14:46:50 reyk Exp $ */ +/* $OpenBSD: ar5212reg.h,v 1.6 2005/07/30 17:13:17 reyk Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net> @@ -65,6 +65,7 @@ */ #define AR5K_AR5212_TXCFG 0x0030 #define AR5K_AR5212_TXCFG_SDMAMR 0x00000007 +#define AR5K_AR5212_TXCFG_SDMAMR_S 0 #define AR5K_AR5212_TXCFG_B_MODE 0x00000008 #define AR5K_AR5212_TXCFG_TXFULL 0x000003f0 #define AR5K_AR5212_TXCFG_TXFULL_S 4 @@ -74,6 +75,7 @@ #define AR5K_AR5212_TXCFG_TXFULL_192B 0x00000030 #define AR5K_AR5212_TXCFG_TXFULL_256B 0x00000040 #define AR5K_AR5212_TXCFG_TXCONT_ENABLE 0x00000080 +#define AR5K_AR5212_TXCFG_DMASIZE 0x00000100 #define AR5K_AR5212_TXCFG_JUMBO_TXE 0x00000400 #define AR5K_AR5212_TXCFG_RTSRND 0x00001000 #define AR5K_AR5212_TXCFG_FRMPAD_DIS 0x00002000 @@ -84,6 +86,7 @@ */ #define AR5K_AR5212_RXCFG 0x0034 #define AR5K_AR5212_RXCFG_SDMAMW 0x00000007 +#define AR5K_AR5212_RXCFG_SDMAMW_S 0 #define AR5K_AR5311_RXCFG_DEFAULT_ANTENNA 0x00000008 #define AR5K_AR5212_RXCFG_ZLFDMA 0x00000010 #define AR5K_AR5212_RXCFG_JUMBO_RXE 0x00000020 @@ -539,13 +542,13 @@ */ typedef enum { AR5K_AR5212_DMASIZE_4B = 0, - AR5K_AR5212_DMASIZE_8B, - AR5K_AR5212_DMASIZE_16B, - AR5K_AR5212_DMASIZE_32B, - AR5K_AR5212_DMASIZE_64B, - AR5K_AR5212_DMASIZE_128B, - AR5K_AR5212_DMASIZE_256B, - AR5K_AR5212_DMASIZE_512B + AR5K_AR5212_DMASIZE_8B = 1, + AR5K_AR5212_DMASIZE_16B = 2, + AR5K_AR5212_DMASIZE_32B = 3, + AR5K_AR5212_DMASIZE_64B = 4, + AR5K_AR5212_DMASIZE_128B = 5, + AR5K_AR5212_DMASIZE_256B = 6, + AR5K_AR5212_DMASIZE_512B = 7 } ar5k_ar5212_dmasize_t; /* |