diff options
author | jhb <jhb@FreeBSD.org> | 2011-05-06 13:48:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-05-06 13:48:53 +0000 |
commit | 5512bf549dc23b7d0e0d59660060cefb227d0653 (patch) | |
tree | dbce2b758f3f51f1617069fff1d5e800b8ebc8cf /sys/sparc64/isa | |
parent | d9f6c6f0db07c8d124233be72cca0e9bfe6a5a45 (diff) | |
download | FreeBSD-src-5512bf549dc23b7d0e0d59660060cefb227d0653.zip FreeBSD-src-5512bf549dc23b7d0e0d59660060cefb227d0653.tar.gz |
Retire isa_setup_intr() and isa_teardown_intr() and use the generic bus
versions instead. They were never needed as bus_generic_intr() and
bus_teardown_intr() had been changed to pass the original child device up
in 42734, but the ISA bus was not converted to new-bus until 45720.
Diffstat (limited to 'sys/sparc64/isa')
-rw-r--r-- | sys/sparc64/isa/isa.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/sparc64/isa/isa.c b/sys/sparc64/isa/isa.c index 9159cda..6e22133 100644 --- a/sys/sparc64/isa/isa.c +++ b/sys/sparc64/isa/isa.c @@ -359,26 +359,3 @@ isa_release_resource(device_t bus, device_t child, int type, int rid, return (bus_generic_rl_release_resource(bus, child, type, rid, res)); } - -int -isa_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, - driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep) -{ - - /* - * Just pass through. This is going to be handled by either - * one of the parent PCI buses or the nexus device. - * The interrupt had been routed before it was added to the - * resource list of the child. - */ - return (bus_generic_setup_intr(dev, child, irq, flags, filter, intr, - arg, cookiep)); -} - -int -isa_teardown_intr(device_t dev, device_t child, struct resource *irq, - void *cookie) -{ - - return (bus_generic_teardown_intr(dev, child, irq, cookie)); -} |