sbus.c (200816) | sbus.c (200874) |
---|---|
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 --- 85 unchanged lines hidden (view full) --- 94 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 95 * SUCH DAMAGE. 96 * 97 * from: @(#)sbus.c 8.1 (Berkeley) 6/11/93 98 * from: NetBSD: sbus.c,v 1.46 2001/10/07 20:30:41 eeh Exp 99 */ 100 101#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 --- 85 unchanged lines hidden (view full) --- 94 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 95 * SUCH DAMAGE. 96 * 97 * from: @(#)sbus.c 8.1 (Berkeley) 6/11/93 98 * from: NetBSD: sbus.c,v 1.46 2001/10/07 20:30:41 eeh Exp 99 */ 100 101#include <sys/cdefs.h> |
102__FBSDID("$FreeBSD: head/sys/sparc64/sbus/sbus.c 200816 2009-12-21 21:41:33Z marius $"); | 102__FBSDID("$FreeBSD: head/sys/sparc64/sbus/sbus.c 200874 2009-12-22 21:02:46Z marius $"); |
103 104/* 105 * SBus support. 106 */ 107 108#include <sys/param.h> 109#include <sys/systm.h> 110#include <sys/bus.h> --- 131 unchanged lines hidden (view full) --- 242static driver_t sbus_driver = { 243 "sbus", 244 sbus_methods, 245 sizeof(struct sbus_softc), 246}; 247 248static devclass_t sbus_devclass; 249 | 103 104/* 105 * SBus support. 106 */ 107 108#include <sys/param.h> 109#include <sys/systm.h> 110#include <sys/bus.h> --- 131 unchanged lines hidden (view full) --- 242static driver_t sbus_driver = { 243 "sbus", 244 sbus_methods, 245 sizeof(struct sbus_softc), 246}; 247 248static devclass_t sbus_devclass; 249 |
250DRIVER_MODULE(sbus, nexus, sbus_driver, sbus_devclass, 0, 0); | 250EARLY_DRIVER_MODULE(sbus, nexus, sbus_driver, sbus_devclass, 0, 0, 251 BUS_PASS_BUS); |
251MODULE_DEPEND(sbus, nexus, 1, 1, 1); 252MODULE_VERSION(sbus, 1); 253 254#define OFW_SBUS_TYPE "sbus" 255#define OFW_SBUS_NAME "sbus" 256 257static const struct intr_controller sbus_ic = { 258 sbus_intr_enable, --- 736 unchanged lines hidden --- | 252MODULE_DEPEND(sbus, nexus, 1, 1, 1); 253MODULE_VERSION(sbus, 1); 254 255#define OFW_SBUS_TYPE "sbus" 256#define OFW_SBUS_NAME "sbus" 257 258static const struct intr_controller sbus_ic = { 259 sbus_intr_enable, --- 736 unchanged lines hidden --- |