Deleted Added
full compact
sbus.c (152684) sbus.c (154870)
1/*-
2 * Copyright (c) 1998 The NetBSD Foundation, Inc.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The NetBSD Foundation
6 * by Paul Kranenburg.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

93 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
94 * SUCH DAMAGE.
95 *
96 * from: @(#)sbus.c 8.1 (Berkeley) 6/11/93
97 * from: NetBSD: sbus.c,v 1.46 2001/10/07 20:30:41 eeh Exp
98 */
99
100#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1998 The NetBSD Foundation, Inc.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The NetBSD Foundation
6 * by Paul Kranenburg.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

93 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
94 * SUCH DAMAGE.
95 *
96 * from: @(#)sbus.c 8.1 (Berkeley) 6/11/93
97 * from: NetBSD: sbus.c,v 1.46 2001/10/07 20:30:41 eeh Exp
98 */
99
100#include <sys/cdefs.h>
101__FBSDID("$FreeBSD: head/sys/sparc64/sbus/sbus.c 152684 2005-11-22 16:39:44Z marius $");
101__FBSDID("$FreeBSD: head/sys/sparc64/sbus/sbus.c 154870 2006-01-26 21:14:32Z marius $");
102
103/*
104 * SBus support.
105 */
106
107#include <sys/param.h>
108#include <sys/systm.h>
109#include <sys/bus.h>

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

214static void sbus_overtemp(void *);
215static void sbus_pwrfail(void *);
216static int sbus_print_res(struct sbus_devinfo *);
217
218static device_method_t sbus_methods[] = {
219 /* Device interface */
220 DEVMETHOD(device_probe, sbus_probe),
221 DEVMETHOD(device_attach, sbus_attach),
102
103/*
104 * SBus support.
105 */
106
107#include <sys/param.h>
108#include <sys/systm.h>
109#include <sys/bus.h>

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

214static void sbus_overtemp(void *);
215static void sbus_pwrfail(void *);
216static int sbus_print_res(struct sbus_devinfo *);
217
218static device_method_t sbus_methods[] = {
219 /* Device interface */
220 DEVMETHOD(device_probe, sbus_probe),
221 DEVMETHOD(device_attach, sbus_attach),
222 DEVMETHOD(device_shutdown, bus_generic_shutdown),
223 DEVMETHOD(device_suspend, bus_generic_suspend),
224 DEVMETHOD(device_resume, bus_generic_resume),
222
223 /* Bus interface */
224 DEVMETHOD(bus_print_child, sbus_print_child),
225 DEVMETHOD(bus_probe_nomatch, sbus_probe_nomatch),
226 DEVMETHOD(bus_read_ivar, sbus_read_ivar),
227 DEVMETHOD(bus_setup_intr, sbus_setup_intr),
228 DEVMETHOD(bus_teardown_intr, sbus_teardown_intr),
229 DEVMETHOD(bus_alloc_resource, sbus_alloc_resource),

--- 706 unchanged lines hidden ---
225
226 /* Bus interface */
227 DEVMETHOD(bus_print_child, sbus_print_child),
228 DEVMETHOD(bus_probe_nomatch, sbus_probe_nomatch),
229 DEVMETHOD(bus_read_ivar, sbus_read_ivar),
230 DEVMETHOD(bus_setup_intr, sbus_setup_intr),
231 DEVMETHOD(bus_teardown_intr, sbus_teardown_intr),
232 DEVMETHOD(bus_alloc_resource, sbus_alloc_resource),

--- 706 unchanged lines hidden ---