Deleted Added
full compact
ar5416_attach.c (234747) ar5416_attach.c (234873)
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/ar5416_attach.c 234747 2012-04-28 03:07:36Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c 234873 2012-05-01 14:48:51Z adrian $
18 */
19#include "opt_ah.h"
20
21#include "ah.h"
22#include "ah_internal.h"
23#include "ah_devid.h"
24
25#include "ah_eeprom_v14.h"

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

140 ah->ah_gpioSetIntr = ar5416GpioSetIntr;
141 ah->ah_getTsf64 = ar5416GetTsf64;
142 ah->ah_resetTsf = ar5416ResetTsf;
143 ah->ah_getRfGain = ar5416GetRfgain;
144 ah->ah_setAntennaSwitch = ar5416SetAntennaSwitch;
145 ah->ah_setDecompMask = ar5416SetDecompMask;
146 ah->ah_setCoverageClass = ar5416SetCoverageClass;
147 ah->ah_setQuiet = ar5416SetQuiet;
18 */
19#include "opt_ah.h"
20
21#include "ah.h"
22#include "ah_internal.h"
23#include "ah_devid.h"
24
25#include "ah_eeprom_v14.h"

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

140 ah->ah_gpioSetIntr = ar5416GpioSetIntr;
141 ah->ah_getTsf64 = ar5416GetTsf64;
142 ah->ah_resetTsf = ar5416ResetTsf;
143 ah->ah_getRfGain = ar5416GetRfgain;
144 ah->ah_setAntennaSwitch = ar5416SetAntennaSwitch;
145 ah->ah_setDecompMask = ar5416SetDecompMask;
146 ah->ah_setCoverageClass = ar5416SetCoverageClass;
147 ah->ah_setQuiet = ar5416SetQuiet;
148 ah->ah_getMibCycleCounts = ar5416GetMibCycleCounts;
148
149 ah->ah_resetKeyCacheEntry = ar5416ResetKeyCacheEntry;
150 ah->ah_setKeyCacheEntry = ar5416SetKeyCacheEntry;
151
152 /* DFS Functions */
153 ah->ah_enableDfs = ar5416EnableDfs;
154 ah->ah_getDfsThresh = ar5416GetDfsThresh;
155 ah->ah_procRadarEvent = ar5416ProcessRadarEvent;

--- 805 unchanged lines hidden ---
149
150 ah->ah_resetKeyCacheEntry = ar5416ResetKeyCacheEntry;
151 ah->ah_setKeyCacheEntry = ar5416SetKeyCacheEntry;
152
153 /* DFS Functions */
154 ah->ah_enableDfs = ar5416EnableDfs;
155 ah->ah_getDfsThresh = ar5416GetDfsThresh;
156 ah->ah_procRadarEvent = ar5416ProcessRadarEvent;

--- 805 unchanged lines hidden ---