if_epvar.h (52549) | if_epvar.h (56017) |
---|---|
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 52549 1999-10-27 06:25:16Z mdodd $ | 22 * $FreeBSD: head/sys/dev/ep/if_epvar.h 56017 2000-01-15 05:21:43Z 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}; --- 45 unchanged lines hidden (view full) --- 76}; 77 78int ep_alloc (device_t); 79void ep_free (device_t); 80void ep_get_media (struct ep_softc *); 81int ep_attach (struct ep_softc *); 82void ep_intr (void *); 83u_int16_t get_e (struct ep_softc *, int); | 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}; --- 45 unchanged lines hidden (view full) --- 76}; 77 78int ep_alloc (device_t); 79void ep_free (device_t); 80void ep_get_media (struct ep_softc *); 81int ep_attach (struct ep_softc *); 82void ep_intr (void *); 83u_int16_t get_e (struct ep_softc *, int); |
84void ep_get_macaddr (struct ep_softc *, u_char *); |
|