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 182062 2008-08-23 15:20:33Z 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) --- 242 "sbus", 243 sbus_methods, 244 sizeof(struct sbus_softc), 245}; 246 247static devclass_t sbus_devclass; 248 249DRIVER_MODULE(sbus, nexus, sbus_driver, sbus_devclass, 0, 0); |
250MODULE_VERSION(sbus, 1); |
251 252#define OFW_SBUS_TYPE "sbus" 253#define OFW_SBUS_NAME "sbus" 254 255static const struct intr_controller sbus_ic = { 256 sbus_intr_enable, 257 sbus_intr_disable, 258 sbus_intr_assign, --- 730 unchanged lines hidden --- |