ar5416_attach.c (222020) | ar5416_attach.c (222265) |
---|---|
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 222020 2011-05-17 11:52:53Z adrian $ | 17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c 222265 2011-05-24 18:25:40Z 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" --- 169 unchanged lines hidden (view full) --- 195 /* 196 * Start by setting all Owl devices to 2x2 197 */ 198 AH5416(ah)->ah_rx_chainmask = AR5416_DEFAULT_RXCHAINMASK; 199 AH5416(ah)->ah_tx_chainmask = AR5416_DEFAULT_TXCHAINMASK; 200 201 /* Enable all ANI functions to begin with */ 202 AH5416(ah)->ah_ani_function = HAL_ANI_ALL; | 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" --- 169 unchanged lines hidden (view full) --- 195 /* 196 * Start by setting all Owl devices to 2x2 197 */ 198 AH5416(ah)->ah_rx_chainmask = AR5416_DEFAULT_RXCHAINMASK; 199 AH5416(ah)->ah_tx_chainmask = AR5416_DEFAULT_TXCHAINMASK; 200 201 /* Enable all ANI functions to begin with */ 202 AH5416(ah)->ah_ani_function = HAL_ANI_ALL; |
203 204 /* Set overridable ANI methods */ 205 AH5212(ah)->ah_aniControl = ar5416AniControl; |
|
203} 204 205uint32_t 206ar5416GetRadioRev(struct ath_hal *ah) 207{ 208 uint32_t val; 209 int i; 210 --- 689 unchanged lines hidden --- | 206} 207 208uint32_t 209ar5416GetRadioRev(struct ath_hal *ah) 210{ 211 uint32_t val; 212 int i; 213 --- 689 unchanged lines hidden --- |