Deleted Added
full compact
ar5212_attach.c (190096) ar5212_attach.c (192396)
1/*
2 * Copyright (c) 2002-2009 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-2009 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/ar5212/ar5212_attach.c 190096 2009-03-19 19:29:10Z sam $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c 192396 2009-05-19 17:30:13Z sam $
18 */
19#include "opt_ah.h"
20
21#include "ah.h"
22#include "ah_internal.h"
23#include "ah_devid.h"
24
25#include "ar5212/ar5212.h"

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

835
836 /* h/w phy counters first appeared in Hainan */
837 pCap->halHwPhyCounterSupport =
838 (AH_PRIVATE(ah)->ah_macVersion == AR_SREV_VERSION_VENICE &&
839 AH_PRIVATE(ah)->ah_macRev == AR_SREV_HAINAN) ||
840 AH_PRIVATE(ah)->ah_macVersion > AR_SREV_VERSION_VENICE;
841
842 pCap->halTstampPrecision = 15;
18 */
19#include "opt_ah.h"
20
21#include "ah.h"
22#include "ah_internal.h"
23#include "ah_devid.h"
24
25#include "ar5212/ar5212.h"

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

835
836 /* h/w phy counters first appeared in Hainan */
837 pCap->halHwPhyCounterSupport =
838 (AH_PRIVATE(ah)->ah_macVersion == AR_SREV_VERSION_VENICE &&
839 AH_PRIVATE(ah)->ah_macRev == AR_SREV_HAINAN) ||
840 AH_PRIVATE(ah)->ah_macVersion > AR_SREV_VERSION_VENICE;
841
842 pCap->halTstampPrecision = 15;
843 pCap->halIntrMask = HAL_INT_COMMON
844 | HAL_INT_RX
845 | HAL_INT_TX
846 | HAL_INT_FATAL
847 | HAL_INT_BNR
848 | HAL_INT_BMISC
849 ;
843
844 return AH_TRUE;
845#undef IS_COBRA
846#undef IS_GRIFFIN_LITE
847#undef AR_KEYTABLE_SIZE
848}
849
850static const char*

--- 25 unchanged lines hidden ---
850
851 return AH_TRUE;
852#undef IS_COBRA
853#undef IS_GRIFFIN_LITE
854#undef AR_KEYTABLE_SIZE
855}
856
857static const char*

--- 25 unchanged lines hidden ---