Deleted Added
full compact
ar5211.h (238278) ar5211.h (238607)
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 238278 2012-07-09 07:19:11Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar5211/ar5211.h 238607 2012-07-19 02:25:14Z adrian $
18 */
19#ifndef _ATH_AR5211_H_
20#define _ATH_AR5211_H_
21
22#include "ah_eeprom.h"
23
24#define AR5211_MAGIC 0x19570405
25

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

199 u_int segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg,
200 const struct ath_desc *ds0);
201extern HAL_STATUS ar5211ProcTxDesc(struct ath_hal *,
202 struct ath_desc *, struct ath_tx_status *);
203extern void ar5211GetTxIntrQueue(struct ath_hal *ah, uint32_t *);
204extern void ar5211IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *);
205extern HAL_BOOL ar5211GetTxCompletionRates(struct ath_hal *ah,
206 const struct ath_desc *ds0, int *rates, int *tries);
18 */
19#ifndef _ATH_AR5211_H_
20#define _ATH_AR5211_H_
21
22#include "ah_eeprom.h"
23
24#define AR5211_MAGIC 0x19570405
25

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

199 u_int segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg,
200 const struct ath_desc *ds0);
201extern HAL_STATUS ar5211ProcTxDesc(struct ath_hal *,
202 struct ath_desc *, struct ath_tx_status *);
203extern void ar5211GetTxIntrQueue(struct ath_hal *ah, uint32_t *);
204extern void ar5211IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *);
205extern HAL_BOOL ar5211GetTxCompletionRates(struct ath_hal *ah,
206 const struct ath_desc *ds0, int *rates, int *tries);
207extern void ar5211SetTxDescLink(struct ath_hal *ah, void *ds,
208 uint32_t link);
209extern void ar5211GetTxDescLink(struct ath_hal *ah, void *ds,
210 uint32_t *link);
211extern void ar5211GetTxDescLinkPtr(struct ath_hal *ah, void *ds,
212 uint32_t **linkptr);
207
208extern uint32_t ar5211GetRxDP(struct ath_hal *, HAL_RX_QUEUE);
209extern void ar5211SetRxDP(struct ath_hal *, uint32_t rxdp, HAL_RX_QUEUE);
210extern void ar5211EnableReceive(struct ath_hal *);
211extern HAL_BOOL ar5211StopDmaReceive(struct ath_hal *);
212extern void ar5211StartPcuReceive(struct ath_hal *);
213extern void ar5211StopPcuReceive(struct ath_hal *);
214extern void ar5211SetMulticastFilter(struct ath_hal *,

--- 104 unchanged lines hidden ---
213
214extern uint32_t ar5211GetRxDP(struct ath_hal *, HAL_RX_QUEUE);
215extern void ar5211SetRxDP(struct ath_hal *, uint32_t rxdp, HAL_RX_QUEUE);
216extern void ar5211EnableReceive(struct ath_hal *);
217extern HAL_BOOL ar5211StopDmaReceive(struct ath_hal *);
218extern void ar5211StartPcuReceive(struct ath_hal *);
219extern void ar5211StopPcuReceive(struct ath_hal *);
220extern void ar5211SetMulticastFilter(struct ath_hal *,

--- 104 unchanged lines hidden ---