ar5416.h (188971) | ar5416.h (188972) |
---|---|
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/ar5416/ar5416.h 188971 2009-02-23 23:54:08Z sam $ | 17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5416/ar5416.h 188972 2009-02-23 23:58:37Z sam $ |
18 */ 19#ifndef _ATH_AR5416_H_ 20#define _ATH_AR5416_H_ 21 22#include "ar5212/ar5212.h" 23#include "ar5416_cal.h" 24 25#define AR5416_MAGIC 0x20065416 --- 52 unchanged lines hidden (view full) --- 78#define IS_5416_PCIE(ah) ((AH_PRIVATE(ah)->ah_macVersion) == AR_SREV_VERSION_OWL_PCIE) 79#undef IS_PCIE 80#define IS_PCIE(ah) (IS_5416_PCIE(ah)) 81 82extern HAL_BOOL ar2133RfAttach(struct ath_hal *, HAL_STATUS *); 83 84struct ath_hal; 85 | 18 */ 19#ifndef _ATH_AR5416_H_ 20#define _ATH_AR5416_H_ 21 22#include "ar5212/ar5212.h" 23#include "ar5416_cal.h" 24 25#define AR5416_MAGIC 0x20065416 --- 52 unchanged lines hidden (view full) --- 78#define IS_5416_PCIE(ah) ((AH_PRIVATE(ah)->ah_macVersion) == AR_SREV_VERSION_OWL_PCIE) 79#undef IS_PCIE 80#define IS_PCIE(ah) (IS_5416_PCIE(ah)) 81 82extern HAL_BOOL ar2133RfAttach(struct ath_hal *, HAL_STATUS *); 83 84struct ath_hal; 85 |
86extern struct ath_hal * ar5416Attach(uint16_t devid, HAL_SOFTC sc, 87 HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status); | |
88extern uint32_t ar5416GetRadioRev(struct ath_hal *ah); 89extern void ar5416InitState(struct ath_hal_5416 *, uint16_t devid, 90 HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, 91 HAL_STATUS *status); 92extern void ar5416Detach(struct ath_hal *ah); 93extern HAL_BOOL ar5416FillCapabilityInfo(struct ath_hal *ah); 94 95#define IS_5GHZ_FAST_CLOCK_EN(_ah, _c) \ --- 102 unchanged lines hidden --- | 86extern uint32_t ar5416GetRadioRev(struct ath_hal *ah); 87extern void ar5416InitState(struct ath_hal_5416 *, uint16_t devid, 88 HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, 89 HAL_STATUS *status); 90extern void ar5416Detach(struct ath_hal *ah); 91extern HAL_BOOL ar5416FillCapabilityInfo(struct ath_hal *ah); 92 93#define IS_5GHZ_FAST_CLOCK_EN(_ah, _c) \ --- 102 unchanged lines hidden --- |