diff options
author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2007-03-21 03:38:37 +0000 |
---|---|---|
committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2007-03-21 03:38:37 +0000 |
commit | 41f5bd0f6dc8a92fde5135b6c674e35d4b96501e (patch) | |
tree | 5c965b8611d1f2f75d505701ac1bd411682b8d13 /sys/dev/cx | |
parent | 4eaa43e6f4518e4b81e5b18e160ed2f177b749a9 (diff) | |
download | src-41f5bd0f6dc8a92fde5135b6c674e35d4b96501e.tar.gz src-41f5bd0f6dc8a92fde5135b6c674e35d4b96501e.zip |
Notes
Diffstat (limited to 'sys/dev/cx')
-rw-r--r-- | sys/dev/cx/if_cx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index 7eedee771d72..2bfbf2279522 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -957,13 +957,10 @@ static int cx_detach (device_t dev) } CX_UNLOCK (bd); bus_teardown_intr (dev, bd->irq_res, bd->intrhand); - bus_deactivate_resource (dev, SYS_RES_IRQ, bd->irq_rid, bd->irq_res); bus_release_resource (dev, SYS_RES_IRQ, bd->irq_rid, bd->irq_res); - bus_deactivate_resource (dev, SYS_RES_DRQ, bd->drq_rid, bd->drq_res); bus_release_resource (dev, SYS_RES_DRQ, bd->drq_rid, bd->drq_res); - bus_deactivate_resource (dev, SYS_RES_IOPORT, bd->base_rid, bd->irq_res); bus_release_resource (dev, SYS_RES_IOPORT, bd->base_rid, bd->base_res); CX_LOCK (bd); |