Deleted Added
full compact
if_ath_misc.h (248745) if_ath_misc.h (248988)
1/*-
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
1/*-
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
29 * $FreeBSD: head/sys/dev/ath/if_ath_misc.h 248745 2013-03-26 19:46:51Z adrian $
29 * $FreeBSD: head/sys/dev/ath/if_ath_misc.h 248988 2013-04-01 20:57:13Z adrian $
30 */
31#ifndef __IF_ATH_MISC_H__
32#define __IF_ATH_MISC_H__
33
34/*
35 * This is where definitions for "public things" in if_ath.c
36 * will go for the time being.
37 *

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

54
55extern int ath_tx_findrix(const struct ath_softc *sc, uint8_t rate);
56
57extern struct ath_buf * ath_getbuf(struct ath_softc *sc,
58 ath_buf_type_t btype);
59extern struct ath_buf * _ath_getbuf_locked(struct ath_softc *sc,
60 ath_buf_type_t btype);
61extern struct ath_buf * ath_buf_clone(struct ath_softc *sc,
30 */
31#ifndef __IF_ATH_MISC_H__
32#define __IF_ATH_MISC_H__
33
34/*
35 * This is where definitions for "public things" in if_ath.c
36 * will go for the time being.
37 *

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

54
55extern int ath_tx_findrix(const struct ath_softc *sc, uint8_t rate);
56
57extern struct ath_buf * ath_getbuf(struct ath_softc *sc,
58 ath_buf_type_t btype);
59extern struct ath_buf * _ath_getbuf_locked(struct ath_softc *sc,
60 ath_buf_type_t btype);
61extern struct ath_buf * ath_buf_clone(struct ath_softc *sc,
62 const struct ath_buf *bf);
62 struct ath_buf *bf);
63/* XXX change this to NULL the buffer pointer? */
64extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf);
65extern void ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf);
66extern void ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf);
67
68extern int ath_reset(struct ifnet *, ATH_RESET_TYPE);
69extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf,
70 int fail);

--- 80 unchanged lines hidden ---
63/* XXX change this to NULL the buffer pointer? */
64extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf);
65extern void ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf);
66extern void ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf);
67
68extern int ath_reset(struct ifnet *, ATH_RESET_TYPE);
69extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf,
70 int fail);

--- 80 unchanged lines hidden ---