Deleted Added
full compact
brgphy.c (166037) brgphy.c (166049)
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

--- 17 unchanged lines hidden (view full) ---

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
33#include <sys/cdefs.h>
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

--- 17 unchanged lines hidden (view full) ---

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
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/mii/brgphy.c 166037 2007-01-16 00:52:26Z jkim $");
34__FBSDID("$FreeBSD: head/sys/dev/mii/brgphy.c 166049 2007-01-16 17:48:57Z jkim $");
35
36/*
37 * Driver for the Broadcom BCR5400 1000baseTX PHY.
38 */
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>

--- 38 unchanged lines hidden (view full) ---

81 { 0, 0 }
82};
83
84static devclass_t brgphy_devclass;
85
86static driver_t brgphy_driver = {
87 "brgphy",
88 brgphy_methods,
35
36/*
37 * Driver for the Broadcom BCR5400 1000baseTX PHY.
38 */
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>

--- 38 unchanged lines hidden (view full) ---

81 { 0, 0 }
82};
83
84static devclass_t brgphy_devclass;
85
86static driver_t brgphy_driver = {
87 "brgphy",
88 brgphy_methods,
89 sizeof(struct mii_softc)
89 sizeof(struct brgphy_softc)
90};
91
92DRIVER_MODULE(brgphy, miibus, brgphy_driver, brgphy_devclass, 0, 0);
93
94static int brgphy_service(struct mii_softc *, struct mii_data *, int);
95static void brgphy_setmedia(struct mii_softc *, int, int);
96static void brgphy_status(struct mii_softc *);
97static int brgphy_mii_phy_auto(struct mii_softc *);

--- 620 unchanged lines hidden ---
90};
91
92DRIVER_MODULE(brgphy, miibus, brgphy_driver, brgphy_devclass, 0, 0);
93
94static int brgphy_service(struct mii_softc *, struct mii_data *, int);
95static void brgphy_setmedia(struct mii_softc *, int, int);
96static void brgphy_status(struct mii_softc *);
97static int brgphy_mii_phy_auto(struct mii_softc *);

--- 620 unchanged lines hidden ---