if_vte.c (226478) | if_vte.c (227848) |
---|---|
1/*- 2 * Copyright (c) 2010, Pyun YongHyeon <yongari@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28/* Driver for DM&P Electronics, Inc, Vortex86 RDC R6040 FastEthernet. */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2010, Pyun YongHyeon <yongari@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28/* Driver for DM&P Electronics, Inc, Vortex86 RDC R6040 FastEthernet. */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/dev/vte/if_vte.c 226478 2011-10-17 19:49:00Z yongari $"); | 31__FBSDID("$FreeBSD: head/sys/dev/vte/if_vte.c 227848 2011-11-22 21:55:40Z marius $"); |
32 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/bus.h> 36#include <sys/endian.h> 37#include <sys/kernel.h> 38#include <sys/lock.h> 39#include <sys/malloc.h> --- 106 unchanged lines hidden (view full) --- 146 DEVMETHOD(device_suspend, vte_suspend), 147 DEVMETHOD(device_resume, vte_resume), 148 149 /* MII interface. */ 150 DEVMETHOD(miibus_readreg, vte_miibus_readreg), 151 DEVMETHOD(miibus_writereg, vte_miibus_writereg), 152 DEVMETHOD(miibus_statchg, vte_miibus_statchg), 153 | 32 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/bus.h> 36#include <sys/endian.h> 37#include <sys/kernel.h> 38#include <sys/lock.h> 39#include <sys/malloc.h> --- 106 unchanged lines hidden (view full) --- 146 DEVMETHOD(device_suspend, vte_suspend), 147 DEVMETHOD(device_resume, vte_resume), 148 149 /* MII interface. */ 150 DEVMETHOD(miibus_readreg, vte_miibus_readreg), 151 DEVMETHOD(miibus_writereg, vte_miibus_writereg), 152 DEVMETHOD(miibus_statchg, vte_miibus_statchg), 153 |
154 KOBJMETHOD_END | 154 DEVMETHOD_END |
155}; 156 157static driver_t vte_driver = { 158 "vte", 159 vte_methods, 160 sizeof(struct vte_softc) 161}; 162 --- 1888 unchanged lines hidden --- | 155}; 156 157static driver_t vte_driver = { 158 "vte", 159 vte_methods, 160 sizeof(struct vte_softc) 161}; 162 --- 1888 unchanged lines hidden --- |