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/ia64 | |
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/ia64')
-rw-r--r-- | sys/ia64/isa/isa.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/ia64/isa/isa.c b/sys/ia64/isa/isa.c index 6467237..cdb93cc 100644 --- a/sys/ia64/isa/isa.c +++ b/sys/ia64/isa/isa.c @@ -135,25 +135,3 @@ isa_release_resource(device_t bus, device_t child, int type, int rid, struct resource_list *rl = &idev->id_resources; return resource_list_release(rl, bus, child, type, rid, r); } - -/* - * We can't use the bus_generic_* versions of these methods because those - * methods always pass the bus param as the requesting device, and we need - * to pass the child (the i386 nexus knows about this and is prepared to - * deal). - */ -int -isa_setup_intr(device_t bus, device_t child, struct resource *r, int flags, - driver_filter_t filter, void (*ihand)(void *), void *arg, - void **cookiep) -{ - return (BUS_SETUP_INTR(device_get_parent(bus), child, r, flags, - filter, ihand, arg, cookiep)); -} - -int -isa_teardown_intr(device_t bus, device_t child, struct resource *r, - void *cookie) -{ - return (BUS_TEARDOWN_INTR(device_get_parent(bus), child, r, cookie)); -} |