1/* 2 * Copyright (c) 1995, David Greenman 3 * All rights reserved. 4 * 5 * Modifications to support NetBSD: 6 * Copyright (c) 1997 Jason R. Thorpe. All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * |
30 * $Id: if_fxpvar.h,v 1.6 1998/08/02 00:29:15 dg Exp $ |
31 */ 32 33/* 34 * Misc. defintions for the Intel EtherExpress Pro/100B PCI Fast 35 * Ethernet driver 36 */ 37/* 38 * NOTE: Elements are ordered for optimal cacheline behavior, and NOT --- 4 unchanged lines hidden (view full) --- 43 struct device sc_dev; /* generic device structures */ 44 void *sc_ih; /* interrupt handler cookie */ 45 bus_space_tag_t sc_st; /* bus space tag */ 46 bus_space_handle_t sc_sh; /* bus space handle */ 47 struct ethercom sc_ethercom; /* ethernet common part */ 48#else 49 struct arpcom arpcom; /* per-interface network data */ 50 caddr_t csr; /* control/status registers */ |
51 struct resource *mem; /* resource descriptor for registers */ 52 struct resource *irq; /* resource descriptor for interrupt */ 53 void *ih; /* interrupt handler cookie */ |
54#endif /* __NetBSD__ */ 55 struct mbuf *rfa_headm; /* first mbuf in receive frame area */ 56 struct mbuf *rfa_tailm; /* last mbuf in receive frame area */ 57 struct fxp_cb_tx *cbl_first; /* first active TxCB in list */ 58 int tx_queued; /* # of active TxCB's */ 59 int need_mcsetup; /* multicast filter needs programming */ 60 struct fxp_cb_tx *cbl_last; /* last active TxCB in list */ 61 struct fxp_stats *fxp_stats; /* Pointer to interface stats */ --- 56 unchanged lines hidden --- |