Deleted Added
full compact
central.c (153058) central.c (154870)
1/*-
2 * Copyright (c) 2003 Jake Burkholder.
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

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
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#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003 Jake Burkholder.
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

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
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#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/sparc64/central/central.c 153058 2005-12-03 18:14:47Z marius $");
28__FBSDID("$FreeBSD: head/sys/sparc64/central/central.c 154870 2006-01-26 21:14:32Z marius $");
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33#include <sys/kernel.h>
34#include <sys/malloc.h>
35#include <sys/module.h>
36

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

66static ofw_bus_get_devinfo_t central_get_devinfo;
67
68static int central_print_res(struct central_devinfo *);
69
70static device_method_t central_methods[] = {
71 /* Device interface. */
72 DEVMETHOD(device_probe, central_probe),
73 DEVMETHOD(device_attach, central_attach),
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33#include <sys/kernel.h>
34#include <sys/malloc.h>
35#include <sys/module.h>
36

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

66static ofw_bus_get_devinfo_t central_get_devinfo;
67
68static int central_print_res(struct central_devinfo *);
69
70static device_method_t central_methods[] = {
71 /* Device interface. */
72 DEVMETHOD(device_probe, central_probe),
73 DEVMETHOD(device_attach, central_attach),
74 DEVMETHOD(device_shutdown, bus_generic_shutdown),
75 DEVMETHOD(device_suspend, bus_generic_suspend),
76 DEVMETHOD(device_resume, bus_generic_resume),
74
75 /* Bus interface. */
76 DEVMETHOD(bus_print_child, central_print_child),
77 DEVMETHOD(bus_probe_nomatch, central_probe_nomatch),
78 DEVMETHOD(bus_setup_intr, bus_generic_setup_intr),
79 DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
80 DEVMETHOD(bus_alloc_resource, central_alloc_resource),
81 DEVMETHOD(bus_release_resource, bus_generic_rl_release_resource),

--- 202 unchanged lines hidden ---
77
78 /* Bus interface. */
79 DEVMETHOD(bus_print_child, central_print_child),
80 DEVMETHOD(bus_probe_nomatch, central_probe_nomatch),
81 DEVMETHOD(bus_setup_intr, bus_generic_setup_intr),
82 DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
83 DEVMETHOD(bus_alloc_resource, central_alloc_resource),
84 DEVMETHOD(bus_release_resource, bus_generic_rl_release_resource),

--- 202 unchanged lines hidden ---