Deleted Added
full compact
ar5416_attach.c (302408) ar5416_attach.c (305614)
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: stable/11/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c 289099 2015-10-10 00:13:45Z adrian $
17 * $FreeBSD: stable/11/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c 305614 2016-09-08 15:05:25Z pfg $
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"

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

98
99 /* Reset functions */
100 ah->ah_reset = ar5416Reset;
101 ah->ah_phyDisable = ar5416PhyDisable;
102 ah->ah_disable = ar5416Disable;
103 ah->ah_configPCIE = ar5416ConfigPCIE;
104 ah->ah_disablePCIE = ar5416DisablePCIE;
105 ah->ah_perCalibration = ar5416PerCalibration;
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"

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

98
99 /* Reset functions */
100 ah->ah_reset = ar5416Reset;
101 ah->ah_phyDisable = ar5416PhyDisable;
102 ah->ah_disable = ar5416Disable;
103 ah->ah_configPCIE = ar5416ConfigPCIE;
104 ah->ah_disablePCIE = ar5416DisablePCIE;
105 ah->ah_perCalibration = ar5416PerCalibration;
106 ah->ah_perCalibrationN = ar5416PerCalibrationN,
107 ah->ah_resetCalValid = ar5416ResetCalValid,
106 ah->ah_perCalibrationN = ar5416PerCalibrationN;
107 ah->ah_resetCalValid = ar5416ResetCalValid;
108 ah->ah_setTxPowerLimit = ar5416SetTxPowerLimit;
109 ah->ah_setTxPower = ar5416SetTransmitPower;
110 ah->ah_setBoardValues = ar5416SetBoardValues;
111
112 /* Transmit functions */
113 ah->ah_stopTxDma = ar5416StopTxDma;
114 ah->ah_setupTxDesc = ar5416SetupTxDesc;
115 ah->ah_setupXTxDesc = ar5416SetupXTxDesc;

--- 960 unchanged lines hidden ---
108 ah->ah_setTxPowerLimit = ar5416SetTxPowerLimit;
109 ah->ah_setTxPower = ar5416SetTransmitPower;
110 ah->ah_setBoardValues = ar5416SetBoardValues;
111
112 /* Transmit functions */
113 ah->ah_stopTxDma = ar5416StopTxDma;
114 ah->ah_setupTxDesc = ar5416SetupTxDesc;
115 ah->ah_setupXTxDesc = ar5416SetupXTxDesc;

--- 960 unchanged lines hidden ---