Deleted Added
full compact
ah.h (226767) ah.h (227365)
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/ah.h 226767 2011-10-25 23:33:54Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ah.h 227365 2011-11-08 22:50:28Z adrian $
18 */
19
20#ifndef _ATH_AH_H_
21#define _ATH_AH_H_
22/*
23 * Atheros Hardware Access Layer
24 *
25 * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal

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

805 uint16_t ah_macRev; /* MAC revision */
806 uint16_t ah_phyRev; /* PHY revision */
807 /* NB: when only one radio is present the rev is in 5Ghz */
808 uint16_t ah_analog5GhzRev;/* 5GHz radio revision */
809 uint16_t ah_analog2GhzRev;/* 2GHz radio revision */
810
811 uint16_t *ah_eepromdata; /* eeprom buffer, if needed */
812
18 */
19
20#ifndef _ATH_AH_H_
21#define _ATH_AH_H_
22/*
23 * Atheros Hardware Access Layer
24 *
25 * Clients of the HAL call ath_hal_attach to obtain a reference to an ath_hal

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

805 uint16_t ah_macRev; /* MAC revision */
806 uint16_t ah_phyRev; /* PHY revision */
807 /* NB: when only one radio is present the rev is in 5Ghz */
808 uint16_t ah_analog5GhzRev;/* 5GHz radio revision */
809 uint16_t ah_analog2GhzRev;/* 2GHz radio revision */
810
811 uint16_t *ah_eepromdata; /* eeprom buffer, if needed */
812
813 uint32_t ah_intrstate[8]; /* last int state */
814
813 HAL_OPS_CONFIG ah_config;
814 const HAL_RATE_TABLE *__ahdecl(*ah_getRateTable)(struct ath_hal *,
815 u_int mode);
816 void __ahdecl(*ah_detach)(struct ath_hal*);
817
818 /* Reset functions */
819 HAL_BOOL __ahdecl(*ah_reset)(struct ath_hal *, HAL_OPMODE,
820 struct ieee80211_channel *,

--- 344 unchanged lines hidden ---
815 HAL_OPS_CONFIG ah_config;
816 const HAL_RATE_TABLE *__ahdecl(*ah_getRateTable)(struct ath_hal *,
817 u_int mode);
818 void __ahdecl(*ah_detach)(struct ath_hal*);
819
820 /* Reset functions */
821 HAL_BOOL __ahdecl(*ah_reset)(struct ath_hal *, HAL_OPMODE,
822 struct ieee80211_channel *,

--- 344 unchanged lines hidden ---