1/*-
2 * Copyright (c) 2016 Michael Zhilin <mizhka@gmail.com>
3 * Copyright (c) 2015-2016 Landon Fuller <landon@freebsd.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
--- 13 unchanged lines hidden (view full) ---
22 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
23 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
26 * IN 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 DAMAGES.
29 *
30 * $FreeBSD: head/sys/dev/bhnd/bcma/bcma_nexus.c 301698 2016-06-08 21:38:51Z landonf $
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/bhnd/bcma/bcma_nexus.c 301698 2016-06-08 21:38:51Z landonf $");
35
36#include <sys/param.h>
37#include <sys/kernel.h>
38#include <sys/bus.h>
39#include <sys/module.h>
40
41#include <machine/bus.h>
42#include <sys/rman.h>
--- 87 unchanged lines hidden (view full) ---
130 DEVMETHOD(bhnd_bus_get_chipid, bcma_nexus_get_chipid),
131
132 DEVMETHOD_END
133};
134
135DEFINE_CLASS_2(bhnd, bcma_nexus_driver, bcma_nexus_methods,
136 sizeof(struct bcma_nexus_softc), bhnd_nexus_driver, bcma_driver);
137
138EARLY_DRIVER_MODULE(bcma_nexus, nexus, bcma_nexus_driver, bhnd_devclass, 0, 0,
139 BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
2 * Copyright (c) 2016 Michael Zhilin <mizhka@gmail.com>
3 * Copyright (c) 2015-2016 Landon Fuller <landon@freebsd.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
--- 13 unchanged lines hidden (view full) ---
22 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
23 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
26 * IN 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 DAMAGES.
29 *
30 * $FreeBSD: head/sys/dev/bhnd/bcma/bcma_nexus.c 301698 2016-06-08 21:38:51Z landonf $
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/bhnd/bcma/bcma_nexus.c 301698 2016-06-08 21:38:51Z landonf $");
35
36#include <sys/param.h>
37#include <sys/kernel.h>
38#include <sys/bus.h>
39#include <sys/module.h>
40
41#include <machine/bus.h>
42#include <sys/rman.h>
--- 87 unchanged lines hidden (view full) ---
130 DEVMETHOD(bhnd_bus_get_chipid, bcma_nexus_get_chipid),
131
132 DEVMETHOD_END
133};
134
135DEFINE_CLASS_2(bhnd, bcma_nexus_driver, bcma_nexus_methods,
136 sizeof(struct bcma_nexus_softc), bhnd_nexus_driver, bcma_driver);
137
138EARLY_DRIVER_MODULE(bcma_nexus, nexus, bcma_nexus_driver, bhnd_devclass, 0, 0,
139 BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);