Deleted Added
full compact
ar5212_attach.c (224709) ar5212_attach.c (225444)
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 224709 2011-08-08 13:15:39Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c 225444 2011-09-08 01:23:05Z 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 "ar5212/ar5212.h"

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

146 .ah_setPowerMode = ar5212SetPowerMode,
147 .ah_getPowerMode = ar5212GetPowerMode,
148
149 /* Beacon Functions */
150 .ah_setBeaconTimers = ar5212SetBeaconTimers,
151 .ah_beaconInit = ar5212BeaconInit,
152 .ah_setStationBeaconTimers = ar5212SetStaBeaconTimers,
153 .ah_resetStationBeaconTimers = ar5212ResetStaBeaconTimers,
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"

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

146 .ah_setPowerMode = ar5212SetPowerMode,
147 .ah_getPowerMode = ar5212GetPowerMode,
148
149 /* Beacon Functions */
150 .ah_setBeaconTimers = ar5212SetBeaconTimers,
151 .ah_beaconInit = ar5212BeaconInit,
152 .ah_setStationBeaconTimers = ar5212SetStaBeaconTimers,
153 .ah_resetStationBeaconTimers = ar5212ResetStaBeaconTimers,
154 .ah_getNextTBTT = ar5212GetNextTBTT,
154
155 /* Interrupt Functions */
156 .ah_isInterruptPending = ar5212IsInterruptPending,
157 .ah_getPendingInterrupts = ar5212GetPendingInterrupts,
158 .ah_getInterrupts = ar5212GetInterrupts,
159 .ah_setInterrupts = ar5212SetInterrupts },
160
161 .ah_getChannelEdges = ar5212GetChannelEdges,

--- 746 unchanged lines hidden ---
155
156 /* Interrupt Functions */
157 .ah_isInterruptPending = ar5212IsInterruptPending,
158 .ah_getPendingInterrupts = ar5212GetPendingInterrupts,
159 .ah_getInterrupts = ar5212GetInterrupts,
160 .ah_setInterrupts = ar5212SetInterrupts },
161
162 .ah_getChannelEdges = ar5212GetChannelEdges,

--- 746 unchanged lines hidden ---