isa.c (207241) | isa.c (221526) |
---|---|
1/*- 2 * Copyright (c) 1998 Doug Rabson 3 * Copyright (c) 2001 Thomas Moestl <tmm@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: --- 14 unchanged lines hidden (view full) --- 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * 27 * from: FreeBSD: src/sys/alpha/isa/isa.c,v 1.26 2001/07/11 28 */ 29 30#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1998 Doug Rabson 3 * Copyright (c) 2001 Thomas Moestl <tmm@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: --- 14 unchanged lines hidden (view full) --- 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * 27 * from: FreeBSD: src/sys/alpha/isa/isa.c,v 1.26 2001/07/11 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: head/sys/sparc64/isa/isa.c 207241 2010-04-26 18:49:06Z marius $"); | 31__FBSDID("$FreeBSD: head/sys/sparc64/isa/isa.c 221526 2011-05-06 13:48:53Z jhb $"); |
32 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/bus.h> 36 37#include <machine/bus.h> 38 39#include <sys/rman.h> --- 314 unchanged lines hidden (view full) --- 354 355int 356isa_release_resource(device_t bus, device_t child, int type, int rid, 357 struct resource *res) 358{ 359 360 return (bus_generic_rl_release_resource(bus, child, type, rid, res)); 361} | 32 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/bus.h> 36 37#include <machine/bus.h> 38 39#include <sys/rman.h> --- 314 unchanged lines hidden (view full) --- 354 355int 356isa_release_resource(device_t bus, device_t child, int type, int rid, 357 struct resource *res) 358{ 359 360 return (bus_generic_rl_release_resource(bus, child, type, rid, res)); 361} |
362 363int 364isa_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, 365 driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep) 366{ 367 368 /* 369 * Just pass through. This is going to be handled by either 370 * one of the parent PCI buses or the nexus device. 371 * The interrupt had been routed before it was added to the 372 * resource list of the child. 373 */ 374 return (bus_generic_setup_intr(dev, child, irq, flags, filter, intr, 375 arg, cookiep)); 376} 377 378int 379isa_teardown_intr(device_t dev, device_t child, struct resource *irq, 380 void *cookie) 381{ 382 383 return (bus_generic_teardown_intr(dev, child, irq, cookie)); 384} | |