ar5211.h (187831) | ar5211.h (188972) |
---|---|
1/* 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * Copyright (c) 2002-2006 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-2006 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/ar5211/ar5211.h 187831 2009-01-28 18:00:22Z sam $ | 17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5211/ar5211.h 188972 2009-02-23 23:58:37Z sam $ |
18 */ 19#ifndef _ATH_AR5211_H_ 20#define _ATH_AR5211_H_ 21 22#include "ah_eeprom.h" 23 24#define AR5211_MAGIC 0x19570405 25 --- 113 unchanged lines hidden (view full) --- 139 uint32_t ah_gpioSelect; /* GPIO pin to use */ 140 uint32_t ah_polarity; /* polarity to disable RF */ 141 uint32_t ah_gpioBit; /* after init, prev value */ 142}; 143#define AH5211(ah) ((struct ath_hal_5211 *)(ah)) 144 145struct ath_hal; 146 | 18 */ 19#ifndef _ATH_AR5211_H_ 20#define _ATH_AR5211_H_ 21 22#include "ah_eeprom.h" 23 24#define AR5211_MAGIC 0x19570405 25 --- 113 unchanged lines hidden (view full) --- 139 uint32_t ah_gpioSelect; /* GPIO pin to use */ 140 uint32_t ah_polarity; /* polarity to disable RF */ 141 uint32_t ah_gpioBit; /* after init, prev value */ 142}; 143#define AH5211(ah) ((struct ath_hal_5211 *)(ah)) 144 145struct ath_hal; 146 |
147extern struct ath_hal *ar5211Attach(uint16_t, HAL_SOFTC, 148 HAL_BUS_TAG, HAL_BUS_HANDLE, HAL_STATUS *); | |
149extern void ar5211Detach(struct ath_hal *); 150 151extern HAL_BOOL ar5211Reset(struct ath_hal *, HAL_OPMODE, 152 struct ieee80211_channel *, HAL_BOOL bChannelChange, 153 HAL_STATUS *); 154extern HAL_BOOL ar5211PhyDisable(struct ath_hal *); 155extern HAL_BOOL ar5211Disable(struct ath_hal *); 156extern HAL_BOOL ar5211ChipReset(struct ath_hal *, --- 154 unchanged lines hidden --- | 147extern void ar5211Detach(struct ath_hal *); 148 149extern HAL_BOOL ar5211Reset(struct ath_hal *, HAL_OPMODE, 150 struct ieee80211_channel *, HAL_BOOL bChannelChange, 151 HAL_STATUS *); 152extern HAL_BOOL ar5211PhyDisable(struct ath_hal *); 153extern HAL_BOOL ar5211Disable(struct ath_hal *); 154extern HAL_BOOL ar5211ChipReset(struct ath_hal *, --- 154 unchanged lines hidden --- |