if_hmevar.h (147256) | if_hmevar.h (151639) |
---|---|
1/*- 2 * Copyright (c) 1999 The NetBSD Foundation, Inc. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The NetBSD Foundation 6 * by Paul Kranenburg. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 34 * POSSIBILITY OF SUCH DAMAGE. 35 * 36 * from: NetBSD: hmevar.h,v 1.5 2000/06/25 01:10:04 eeh Exp 37 * | 1/*- 2 * Copyright (c) 1999 The NetBSD Foundation, Inc. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to The NetBSD Foundation 6 * by Paul Kranenburg. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 32 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 34 * POSSIBILITY OF SUCH DAMAGE. 35 * 36 * from: NetBSD: hmevar.h,v 1.5 2000/06/25 01:10:04 eeh Exp 37 * |
38 * $FreeBSD: head/sys/dev/hme/if_hmevar.h 147256 2005-06-10 16:49:24Z brooks $ | 38 * $FreeBSD: head/sys/dev/hme/if_hmevar.h 151639 2005-10-25 03:56:21Z yongari $ |
39 */ 40 41#include <sys/callout.h> 42 43/* 44 * Number of receive and transmit descriptors. For each receive descriptor, 45 * an mbuf cluster is allocated and set up to receive a packet, and a dma map 46 * is created. Therefore, this number should not be too high to not waste --- 48 unchanged lines hidden (view full) --- 95 /* Ring Descriptor state */ 96 int rb_tdhead, rb_tdtail; 97 int rb_rdtail; 98 int rb_td_nbusy; 99 100 /* Descriptors */ 101 struct hme_rxdesc rb_rxdesc[HME_NRXDESC]; 102 struct hme_txdesc rb_txdesc[HME_NTXQ]; | 39 */ 40 41#include <sys/callout.h> 42 43/* 44 * Number of receive and transmit descriptors. For each receive descriptor, 45 * an mbuf cluster is allocated and set up to receive a packet, and a dma map 46 * is created. Therefore, this number should not be too high to not waste --- 48 unchanged lines hidden (view full) --- 95 /* Ring Descriptor state */ 96 int rb_tdhead, rb_tdtail; 97 int rb_rdtail; 98 int rb_td_nbusy; 99 100 /* Descriptors */ 101 struct hme_rxdesc rb_rxdesc[HME_NRXDESC]; 102 struct hme_txdesc rb_txdesc[HME_NTXQ]; |
103 bus_dma_segment_t rb_txsegs[HME_NTXQ]; |
|
103 104 struct hme_txdq rb_txfreeq; 105 struct hme_txdq rb_txbusyq; 106 107 bus_dmamap_t rb_spare_dmamap; 108}; 109 110struct hme_softc { --- 53 unchanged lines hidden --- | 104 105 struct hme_txdq rb_txfreeq; 106 struct hme_txdq rb_txbusyq; 107 108 bus_dmamap_t rb_spare_dmamap; 109}; 110 111struct hme_softc { --- 53 unchanged lines hidden --- |