Deleted Added
full compact
ar5416reg.h (240445) ar5416reg.h (244943)
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2008 Atheros Communications, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 *
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2008 Atheros Communications, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 *
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h 240445 2012-09-13 07:17:58Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h 244943 2013-01-02 00:38:01Z adrian $
18 */
19#ifndef _DEV_ATH_AR5416REG_H
20#define _DEV_ATH_AR5416REG_H
21
22#include <dev/ath/ath_hal/ar5212/ar5212reg.h>
23
24/*
25 * Register added starting with the AR5416

--- 148 unchanged lines hidden (view full) ---

174#define AR_SLP32_WAKE 0x8248
175#define AR_SLP32_INC 0x824c
176#define AR_SLP_CNT 0x8250 /* 32kHz cycles with mac asleep */
177#define AR_SLP_CYCLE_CNT 0x8254 /* absolute number of 32kHz cycles */
178#define AR_SLP_MIB_CTRL 0x8258
179#define AR_2040_MODE 0x8318
180#define AR_EXTRCCNT 0x8328 /* extension channel rx clear count */
181#define AR_SELFGEN_MASK 0x832c /* rx and cal chain masks */
18 */
19#ifndef _DEV_ATH_AR5416REG_H
20#define _DEV_ATH_AR5416REG_H
21
22#include <dev/ath/ath_hal/ar5212/ar5212reg.h>
23
24/*
25 * Register added starting with the AR5416

--- 148 unchanged lines hidden (view full) ---

174#define AR_SLP32_WAKE 0x8248
175#define AR_SLP32_INC 0x824c
176#define AR_SLP_CNT 0x8250 /* 32kHz cycles with mac asleep */
177#define AR_SLP_CYCLE_CNT 0x8254 /* absolute number of 32kHz cycles */
178#define AR_SLP_MIB_CTRL 0x8258
179#define AR_2040_MODE 0x8318
180#define AR_EXTRCCNT 0x8328 /* extension channel rx clear count */
181#define AR_SELFGEN_MASK 0x832c /* rx and cal chain masks */
182#define AR_PHY_ERR_MASK_REG 0x8338
182#define AR_PCU_TXBUF_CTRL 0x8340
183#define AR_PCU_MISC_MODE2 0x8344
184
185/* DMA & PCI Registers in PCI space (usable during sleep)*/
186#define AR_RC_AHB 0x00000001 /* AHB reset */
187#define AR_RC_APB 0x00000002 /* APB reset */
188#define AR_RC_HOSTIF 0x00000100 /* host interface reset */
189

--- 603 unchanged lines hidden ---
183#define AR_PCU_TXBUF_CTRL 0x8340
184#define AR_PCU_MISC_MODE2 0x8344
185
186/* DMA & PCI Registers in PCI space (usable during sleep)*/
187#define AR_RC_AHB 0x00000001 /* AHB reset */
188#define AR_RC_APB 0x00000002 /* APB reset */
189#define AR_RC_HOSTIF 0x00000100 /* host interface reset */
190

--- 603 unchanged lines hidden ---