diff options
author | nyan <nyan@FreeBSD.org> | 2007-03-21 03:38:37 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2007-03-21 03:38:37 +0000 |
commit | 3f9dd9edcb00155dff6a9b7686ce432606296d79 (patch) | |
tree | 5c965b8611d1f2f75d505701ac1bd411682b8d13 /sys/dev/cp | |
parent | 44a4513fbb23c88c7e68606d39119590d7a81382 (diff) | |
download | FreeBSD-src-3f9dd9edcb00155dff6a9b7686ce432606296d79.zip FreeBSD-src-3f9dd9edcb00155dff6a9b7686ce432606296d79.tar.gz |
Don't call bus_deactivate_resource() explicitly before calling
bus_release_resource(). This is needed for pc98 by upcoming nexus related
change.
Diffstat (limited to 'sys/dev/cp')
-rw-r--r-- | sys/dev/cp/if_cp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index 95b372a..540f7ab 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -650,7 +650,6 @@ static int cp_detach (device_t dev) b->sys = NULL; CP_UNLOCK (bd); - bus_deactivate_resource (dev, SYS_RES_IRQ, 0, bd->cp_irq); bus_release_resource (dev, SYS_RES_IRQ, 0, bd->cp_irq); bus_release_resource (dev, SYS_RES_MEMORY, PCIR_BAR(0), bd->cp_res); |