ruephy.c (221407) | ruephy.c (226154) |
---|---|
1/*- 2 * Copyright (c) 2001-2003, Shunsuke Akiyama <akiyama@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 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2003, Shunsuke Akiyama <akiyama@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 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/mii/ruephy.c 221407 2011-05-03 19:51:29Z marius $"); | 29__FBSDID("$FreeBSD: head/sys/dev/usb/net/ruephy.c 226154 2011-10-08 12:33:10Z marius $"); |
30 31/* 32 * driver for RealTek RTL8150 internal PHY 33 */ 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> --- 5 unchanged lines hidden (view full) --- 43#include <net/if.h> 44#include <net/if_arp.h> 45#include <net/if_media.h> 46 47#include <dev/mii/mii.h> 48#include <dev/mii/miivar.h> 49#include "miidevs.h" 50 | 30 31/* 32 * driver for RealTek RTL8150 internal PHY 33 */ 34 35#include <sys/param.h> 36#include <sys/systm.h> 37#include <sys/kernel.h> --- 5 unchanged lines hidden (view full) --- 43#include <net/if.h> 44#include <net/if_arp.h> 45#include <net/if_media.h> 46 47#include <dev/mii/mii.h> 48#include <dev/mii/miivar.h> 49#include "miidevs.h" 50 |
51#include <machine/bus.h> 52#include <dev/mii/ruephyreg.h> | 51#include <dev/usb/net/ruephyreg.h> |
53 54#include "miibus_if.h" 55 56static int ruephy_probe(device_t); 57static int ruephy_attach(device_t); 58 59static device_method_t ruephy_methods[] = { 60 /* device interface */ --- 173 unchanged lines hidden --- | 52 53#include "miibus_if.h" 54 55static int ruephy_probe(device_t); 56static int ruephy_attach(device_t); 57 58static device_method_t ruephy_methods[] = { 59 /* device interface */ --- 173 unchanged lines hidden --- |