if_hmevar.h (108834) | if_hmevar.h (108976) |
---|---|
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 108834 2003-01-06 22:12:57Z tmm $ | 38 * $FreeBSD: head/sys/dev/hme/if_hmevar.h 108976 2003-01-09 00:45:10Z tmm $ |
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 --- 98 unchanged lines hidden (view full) --- 145 struct hme_ring sc_rb; 146 147 int sc_debug; 148}; 149 150extern devclass_t hme_devclass; 151 152int hme_config(struct hme_softc *); | 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 --- 98 unchanged lines hidden (view full) --- 145 struct hme_ring sc_rb; 146 147 int sc_debug; 148}; 149 150extern devclass_t hme_devclass; 151 152int hme_config(struct hme_softc *); |
153void hme_detach(struct hme_softc *); 154void hme_suspend(struct hme_softc *); 155void hme_resume(struct hme_softc *); |
|
153void hme_intr(void *); 154 155/* MII methods & callbacks */ 156int hme_mii_readreg(device_t, int, int); 157int hme_mii_writereg(device_t, int, int, int); 158void hme_mii_statchg(device_t); | 156void hme_intr(void *); 157 158/* MII methods & callbacks */ 159int hme_mii_readreg(device_t, int, int); 160int hme_mii_writereg(device_t, int, int, int); 161void hme_mii_statchg(device_t); |