Deleted Added
full compact
if_snvar.h (199414) if_snvar.h (199559)
1/*-
2 * Copyright (c) 1999 M. Warner Losh <imp@village.org>
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

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

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
1/*-
2 * Copyright (c) 1999 M. Warner Losh <imp@village.org>
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

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

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD: head/sys/dev/sn/if_snvar.h 199414 2009-11-17 18:22:14Z jhb $
25 * $FreeBSD: head/sys/dev/sn/if_snvar.h 199559 2009-11-19 22:06:40Z jhb $
26 */
27
28#ifndef _IF_SNVAR_H
29#define _IF_SNVAR_H
30
31#include <net/if_arp.h>
32
33struct sn_softc {
34 struct ifnet *ifp;
35 struct mtx sc_mtx;
26 */
27
28#ifndef _IF_SNVAR_H
29#define _IF_SNVAR_H
30
31#include <net/if_arp.h>
32
33struct sn_softc {
34 struct ifnet *ifp;
35 struct mtx sc_mtx;
36 struct callout watchdog;
37 int timer;
36 int pages_wanted; /* Size of outstanding MMU ALLOC */
37 int intr_mask; /* Most recently set interrupt mask */
38 device_t dev;
39 void *intrhand;
40 struct resource *irq_res;
41 int irq_rid;
42 struct resource *port_res;
43 int port_rid;

--- 37 unchanged lines hidden ---
38 int pages_wanted; /* Size of outstanding MMU ALLOC */
39 int intr_mask; /* Most recently set interrupt mask */
40 device_t dev;
41 void *intrhand;
42 struct resource *irq_res;
43 int irq_rid;
44 struct resource *port_res;
45 int port_rid;

--- 37 unchanged lines hidden ---