Deleted Added
full compact
if_bce.c (227309) if_bce.c (227843)
1/*-
2 * Copyright (c) 2006-2010 Broadcom Corporation
3 * David Christensen <davidch@broadcom.com>. 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 *

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

24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28 * THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2006-2010 Broadcom Corporation
3 * David Christensen <davidch@broadcom.com>. 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 *

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

24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28 * THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/dev/bce/if_bce.c 227309 2011-11-07 15:43:11Z ed $");
32__FBSDID("$FreeBSD: head/sys/dev/bce/if_bce.c 227843 2011-11-22 21:28:20Z marius $");
33
34/*
35 * The following controllers are supported by this driver:
36 * BCM5706C A2, A3
37 * BCM5706S A2, A3
38 * BCM5708C B1, B2
39 * BCM5708S B1, B2
40 * BCM5709C A1, C0

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

450 DEVMETHOD(device_detach, bce_detach),
451 DEVMETHOD(device_shutdown, bce_shutdown),
452/* Supported by device interface but not used here. */
453/* DEVMETHOD(device_identify, bce_identify), */
454/* DEVMETHOD(device_suspend, bce_suspend), */
455/* DEVMETHOD(device_resume, bce_resume), */
456/* DEVMETHOD(device_quiesce, bce_quiesce), */
457
33
34/*
35 * The following controllers are supported by this driver:
36 * BCM5706C A2, A3
37 * BCM5706S A2, A3
38 * BCM5708C B1, B2
39 * BCM5708S B1, B2
40 * BCM5709C A1, C0

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

450 DEVMETHOD(device_detach, bce_detach),
451 DEVMETHOD(device_shutdown, bce_shutdown),
452/* Supported by device interface but not used here. */
453/* DEVMETHOD(device_identify, bce_identify), */
454/* DEVMETHOD(device_suspend, bce_suspend), */
455/* DEVMETHOD(device_resume, bce_resume), */
456/* DEVMETHOD(device_quiesce, bce_quiesce), */
457
458 /* Bus interface (bus_if.h) */
459 DEVMETHOD(bus_print_child, bus_generic_print_child),
460 DEVMETHOD(bus_driver_added, bus_generic_driver_added),
461
462 /* MII interface (miibus_if.h) */
463 DEVMETHOD(miibus_readreg, bce_miibus_read_reg),
464 DEVMETHOD(miibus_writereg, bce_miibus_write_reg),
465 DEVMETHOD(miibus_statchg, bce_miibus_statchg),
466/* Supported by MII interface but not used here. */
467/* DEVMETHOD(miibus_linkchg, bce_miibus_linkchg), */
468/* DEVMETHOD(miibus_mediainit, bce_miibus_mediainit), */
469
458 /* MII interface (miibus_if.h) */
459 DEVMETHOD(miibus_readreg, bce_miibus_read_reg),
460 DEVMETHOD(miibus_writereg, bce_miibus_write_reg),
461 DEVMETHOD(miibus_statchg, bce_miibus_statchg),
462/* Supported by MII interface but not used here. */
463/* DEVMETHOD(miibus_linkchg, bce_miibus_linkchg), */
464/* DEVMETHOD(miibus_mediainit, bce_miibus_mediainit), */
465
470 { 0, 0 }
466 DEVMETHOD_END
471};
472
473static driver_t bce_driver = {
474 "bce",
475 bce_methods,
476 sizeof(struct bce_softc)
477};
478

--- 10814 unchanged lines hidden ---
467};
468
469static driver_t bce_driver = {
470 "bce",
471 bce_methods,
472 sizeof(struct bce_softc)
473};
474

--- 10814 unchanged lines hidden ---