rdcphy.c (221407) | rdcphy.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 --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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#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 --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 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#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/mii/rdcphy.c 221407 2011-05-03 19:51:29Z marius $"); | 29__FBSDID("$FreeBSD: head/sys/dev/mii/rdcphy.c 227848 2011-11-22 21:55:40Z marius $"); |
30 31/* 32 * Driver for the RDC Semiconductor R6040 10/100 PHY. 33 */ 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> --- 22 unchanged lines hidden (view full) --- 60}; 61 62static device_method_t rdcphy_methods[] = { 63 /* device interface */ 64 DEVMETHOD(device_probe, rdcphy_probe), 65 DEVMETHOD(device_attach, rdcphy_attach), 66 DEVMETHOD(device_detach, mii_phy_detach), 67 DEVMETHOD(device_shutdown, bus_generic_shutdown), | 30 31/* 32 * Driver for the RDC Semiconductor R6040 10/100 PHY. 33 */ 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> --- 22 unchanged lines hidden (view full) --- 60}; 61 62static device_method_t rdcphy_methods[] = { 63 /* device interface */ 64 DEVMETHOD(device_probe, rdcphy_probe), 65 DEVMETHOD(device_attach, rdcphy_attach), 66 DEVMETHOD(device_detach, mii_phy_detach), 67 DEVMETHOD(device_shutdown, bus_generic_shutdown), |
68 KOBJMETHOD_END | 68 DEVMETHOD_END |
69}; 70 71static devclass_t rdcphy_devclass; 72 73static driver_t rdcphy_driver = { 74 "rdcphy", 75 rdcphy_methods, 76 sizeof(struct rdcphy_softc) --- 164 unchanged lines hidden --- | 69}; 70 71static devclass_t rdcphy_devclass; 72 73static driver_t rdcphy_driver = { 74 "rdcphy", 75 rdcphy_methods, 76 sizeof(struct rdcphy_softc) --- 164 unchanged lines hidden --- |