Deleted Added
full compact
ar5416reg.h (225925) ar5416reg.h (226759)
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 225925 2011-10-02 14:08:56Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h 226759 2011-10-25 23:09:07Z 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

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

255#define AR_ISR_RXINTM 0x80000000 /* Rx int after mitigation */
256
257#define AR_ISR_S2_CST 0x00400000 /* Carrier sense timeout */
258#define AR_ISR_S2_GTT 0x00800000 /* Global transmit timeout */
259#define AR_ISR_S2_TSFOOR 0x40000000 /* RX TSF out of range */
260
261#define AR_ISR_S5 0x0098
262#define AR_ISR_S5_S 0x00d8
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

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

255#define AR_ISR_RXINTM 0x80000000 /* Rx int after mitigation */
256
257#define AR_ISR_S2_CST 0x00400000 /* Carrier sense timeout */
258#define AR_ISR_S2_GTT 0x00800000 /* Global transmit timeout */
259#define AR_ISR_S2_TSFOOR 0x40000000 /* RX TSF out of range */
260
261#define AR_ISR_S5 0x0098
262#define AR_ISR_S5_S 0x00d8
263#define AR_ISR_S5_TIM_TIMER 0x00000010
263#define AR_ISR_S5_GENTIMER7 0x00000080 // Mask for timer 7 trigger
264#define AR_ISR_S5_TIM_TIMER 0x00000010 // TIM Timer ISR
265#define AR_ISR_S5_DTIM_TIMER 0x00000020 // DTIM Timer ISR
266#define AR_ISR_S5_GENTIMER_TRIG 0x0000FF80 // ISR for generic timer trigger 7-15
267#define AR_ISR_S5_GENTIMER_TRIG_S 0
268#define AR_ISR_S5_GENTIMER_THRESH 0xFF800000 // ISR for generic timer threshold 7-15
269#define AR_ISR_S5_GENTIMER_THRESH_S 16
264
265#define AR_INTR_SPURIOUS 0xffffffff
266#define AR_INTR_RTC_IRQ 0x00000001 /* rtc in shutdown state */
267#define AR_INTR_MAC_IRQ 0x00000002 /* pending mac interrupt */
268#define AR_INTR_EEP_PROT_ACCESS 0x00000004 /* eeprom protected access */
269#define AR_INTR_MAC_AWAKE 0x00020000 /* mac is awake */
270#define AR_INTR_MAC_ASLEEP 0x00040000 /* mac is asleep */
271

--- 451 unchanged lines hidden ---
270
271#define AR_INTR_SPURIOUS 0xffffffff
272#define AR_INTR_RTC_IRQ 0x00000001 /* rtc in shutdown state */
273#define AR_INTR_MAC_IRQ 0x00000002 /* pending mac interrupt */
274#define AR_INTR_EEP_PROT_ACCESS 0x00000004 /* eeprom protected access */
275#define AR_INTR_MAC_AWAKE 0x00020000 /* mac is awake */
276#define AR_INTR_MAC_ASLEEP 0x00040000 /* mac is asleep */
277

--- 451 unchanged lines hidden ---