Deleted Added
full compact
if_epvar.h (60536) if_epvar.h (112822)
1/*
2 * Copyright (c) 1993 Herb Peyerl (hpeyerl@novatel.ca) All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: 1. Redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer. 2. The name
8 * of the author may not be used to endorse or promote products derived from

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

14 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
15 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
16 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
17 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
18 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
19 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21 *
1/*
2 * Copyright (c) 1993 Herb Peyerl (hpeyerl@novatel.ca) All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: 1. Redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer. 2. The name
8 * of the author may not be used to endorse or promote products derived from

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

14 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
15 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
16 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
17 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
18 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
19 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21 *
22 * $FreeBSD: head/sys/dev/ep/if_epvar.h 60536 2000-05-14 02:18:43Z archie $
22 * $FreeBSD: head/sys/dev/ep/if_epvar.h 112822 2003-03-29 21:44:46Z mdodd $
23 */
24
25struct ep_board {
26 u_short prod_id; /* product ID */
27 int cmd_off; /* command offset (bit shift) */
28 int mii_trans; /* activate MII transiever */
29 u_short res_cfg; /* resource configuration */
30};

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

74#endif
75};
76
77int ep_alloc (device_t);
78void ep_free (device_t);
79void ep_get_media (struct ep_softc *);
80int ep_attach (struct ep_softc *);
81void ep_intr (void *);
23 */
24
25struct ep_board {
26 u_short prod_id; /* product ID */
27 int cmd_off; /* command offset (bit shift) */
28 int mii_trans; /* activate MII transiever */
29 u_short res_cfg; /* resource configuration */
30};

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

74#endif
75};
76
77int ep_alloc (device_t);
78void ep_free (device_t);
79void ep_get_media (struct ep_softc *);
80int ep_attach (struct ep_softc *);
81void ep_intr (void *);
82u_int16_t get_e (struct ep_softc *, int);
83void ep_get_macaddr (struct ep_softc *, u_char *);
82int get_e (struct ep_softc *, u_int16_t, u_int16_t *);
83int ep_get_macaddr (struct ep_softc *, u_char *);