if_epvar.h (148164) | if_epvar.h (190908) |
---|---|
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 148164 2005-07-19 22:26:44Z imp $ | 22 * $FreeBSD: head/sys/dev/ep/if_epvar.h 190908 2009-04-11 04:30:38Z imp $ |
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}; --- 21 unchanged lines hidden (view full) --- 52 struct mbuf *mcur; 53 short cur_len; 54 55 int stat; /* some flags */ 56#define F_RX_FIRST 0x001 57#define F_ENADDR_SKIP 0x002 58#define F_PROMISC 0x008 59#define F_ACCESS_32_BITS 0x100 | 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}; --- 21 unchanged lines hidden (view full) --- 52 struct mbuf *mcur; 53 short cur_len; 54 55 int stat; /* some flags */ 56#define F_RX_FIRST 0x001 57#define F_ENADDR_SKIP 0x002 58#define F_PROMISC 0x008 59#define F_ACCESS_32_BITS 0x100 |
60#define F_HAS_TX_PLL 0x200 |
|
60 61 int gone; /* adapter is not present (for PCCARD) */ 62 struct ep_board epb; 63 uint8_t eaddr[6]; 64 65#ifdef EP_LOCAL_STATS 66 short tx_underrun; 67 short rx_no_first; --- 41 unchanged lines hidden --- | 61 62 int gone; /* adapter is not present (for PCCARD) */ 63 struct ep_board epb; 64 uint8_t eaddr[6]; 65 66#ifdef EP_LOCAL_STATS 67 short tx_underrun; 68 short rx_no_first; --- 41 unchanged lines hidden --- |