brgphy.c (106107) | brgphy.c (109514) |
---|---|
1/* 2 * Copyright (c) 2000 3 * Bill Paul <wpaul@ee.columbia.edu>. 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 --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * | 1/* 2 * Copyright (c) 2000 3 * Bill Paul <wpaul@ee.columbia.edu>. 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 --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/dev/mii/brgphy.c 106107 2002-10-29 00:20:47Z semenu $ | 32 * $FreeBSD: head/sys/dev/mii/brgphy.c 109514 2003-01-19 02:59:34Z obrien $ |
33 */ 34 35/* 36 * Driver for the Broadcom BCR5400 1000baseTX PHY. Speed is always 37 * 1000mbps; all we need to negotiate here is full or half duplex. 38 */ 39 40#include <sys/param.h> --- 4 unchanged lines hidden (view full) --- 45 46#include <machine/clock.h> 47 48#include <net/if.h> 49#include <net/if_media.h> 50 51#include <dev/mii/mii.h> 52#include <dev/mii/miivar.h> | 33 */ 34 35/* 36 * Driver for the Broadcom BCR5400 1000baseTX PHY. Speed is always 37 * 1000mbps; all we need to negotiate here is full or half duplex. 38 */ 39 40#include <sys/param.h> --- 4 unchanged lines hidden (view full) --- 45 46#include <machine/clock.h> 47 48#include <net/if.h> 49#include <net/if_media.h> 50 51#include <dev/mii/mii.h> 52#include <dev/mii/miivar.h> |
53#include <dev/mii/miidevs.h> | 53#include "miidevs.h" |
54 55#include <dev/mii/brgphyreg.h> 56 57#include "miibus_if.h" 58 59#if !defined(lint) 60static const char rcsid[] = | 54 55#include <dev/mii/brgphyreg.h> 56 57#include "miibus_if.h" 58 59#if !defined(lint) 60static const char rcsid[] = |
61 "$FreeBSD: head/sys/dev/mii/brgphy.c 106107 2002-10-29 00:20:47Z semenu $"; | 61 "$FreeBSD: head/sys/dev/mii/brgphy.c 109514 2003-01-19 02:59:34Z obrien $"; |
62#endif 63 64static int brgphy_probe(device_t); 65static int brgphy_attach(device_t); 66 67static device_method_t brgphy_methods[] = { 68 /* device interface */ 69 DEVMETHOD(device_probe, brgphy_probe), --- 349 unchanged lines hidden --- | 62#endif 63 64static int brgphy_probe(device_t); 65static int brgphy_attach(device_t); 66 67static device_method_t brgphy_methods[] = { 68 /* device interface */ 69 DEVMETHOD(device_probe, brgphy_probe), --- 349 unchanged lines hidden --- |