Deleted Added
full compact
if_anreg.h (69771) if_anreg.h (72200)
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. 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

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. 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

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/dev/an/if_anreg.h 69771 2000-12-08 19:00:10Z archie $
32 * $FreeBSD: head/sys/dev/an/if_anreg.h 72200 2001-02-09 06:11:45Z bmilekic $
33 */
34
35#define AN_TIMEOUT 65536
36
37/* Default network name: ANY */
38#define AN_DEFAULT_NETNAME "ANY"
39
40/* The nodename must be less than 16 bytes */

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

839 struct an_sigcache an_sigcache[MAXANCACHE];
840 int an_nextitem;
841#endif
842 struct callout_handle an_stat_ch;
843 struct mtx an_mtx;
844 device_t an_dev;
845};
846
33 */
34
35#define AN_TIMEOUT 65536
36
37/* Default network name: ANY */
38#define AN_DEFAULT_NETNAME "ANY"
39
40/* The nodename must be less than 16 bytes */

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

839 struct an_sigcache an_sigcache[MAXANCACHE];
840 int an_nextitem;
841#endif
842 struct callout_handle an_stat_ch;
843 struct mtx an_mtx;
844 device_t an_dev;
845};
846
847#define AN_LOCK(_sc) mtx_enter(&(_sc)->an_mtx, MTX_DEF)
848#define AN_UNLOCK(_sc) mtx_exit(&(_sc)->an_mtx, MTX_DEF)
847#define AN_LOCK(_sc) mtx_lock(&(_sc)->an_mtx)
848#define AN_UNLOCK(_sc) mtx_unlock(&(_sc)->an_mtx)
849
850void an_release_resources __P((device_t));
851int an_alloc_port __P((device_t, int, int));
852int an_alloc_memory __P((device_t, int, int));
853int an_alloc_irq __P((device_t, int, int));
854int an_probe __P((device_t));
855void an_shutdown __P((device_t));
856int an_attach __P((struct an_softc *, int, int));

--- 41 unchanged lines hidden ---
849
850void an_release_resources __P((device_t));
851int an_alloc_port __P((device_t, int, int));
852int an_alloc_memory __P((device_t, int, int));
853int an_alloc_irq __P((device_t, int, int));
854int an_probe __P((device_t));
855void an_shutdown __P((device_t));
856int an_attach __P((struct an_softc *, int, int));

--- 41 unchanged lines hidden ---