Deleted Added
full compact
if_ath_misc.h (238432) if_ath_misc.h (238729)
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 238432 2012-07-14 02:07:51Z adrian $
29 * $FreeBSD: head/sys/dev/ath/if_ath_misc.h 238729 2012-07-23 23:40: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 *

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

80
81extern void ath_mode_init(struct ath_softc *sc);
82
83extern void ath_setdefantenna(struct ath_softc *sc, u_int antenna);
84
85extern void ath_setslottime(struct ath_softc *sc);
86
87extern int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
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 *

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

80
81extern void ath_mode_init(struct ath_softc *sc);
82
83extern void ath_setdefantenna(struct ath_softc *sc, u_int antenna);
84
85extern void ath_setslottime(struct ath_softc *sc);
86
87extern int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
88 ath_bufhead *head, const char *name, int nbuf, int ndesc);
88 ath_bufhead *head, const char *name, int ds_size, int nbuf,
89 int ndesc);
89extern int ath_descdma_setup_rx_edma(struct ath_softc *sc,
90 struct ath_descdma *dd, ath_bufhead *head, const char *name,
91 int nbuf, int desclen);
92extern void ath_descdma_cleanup(struct ath_softc *sc,
93 struct ath_descdma *dd, ath_bufhead *head);
94
95/*
96 * This is only here so that the RX proc function can call it.

--- 15 unchanged lines hidden ---
90extern int ath_descdma_setup_rx_edma(struct ath_softc *sc,
91 struct ath_descdma *dd, ath_bufhead *head, const char *name,
92 int nbuf, int desclen);
93extern void ath_descdma_cleanup(struct ath_softc *sc,
94 struct ath_descdma *dd, ath_bufhead *head);
95
96/*
97 * This is only here so that the RX proc function can call it.

--- 15 unchanged lines hidden ---