aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wl
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2007-03-21 03:38:37 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2007-03-21 03:38:37 +0000
commit41f5bd0f6dc8a92fde5135b6c674e35d4b96501e (patch)
tree5c965b8611d1f2f75d505701ac1bd411682b8d13 /sys/dev/wl
parent4eaa43e6f4518e4b81e5b18e160ed2f177b749a9 (diff)
downloadsrc-41f5bd0f6dc8a92fde5135b6c674e35d4b96501e.tar.gz
src-41f5bd0f6dc8a92fde5135b6c674e35d4b96501e.zip
Don't call bus_deactivate_resource() explicitly before calling
bus_release_resource(). This is needed for pc98 by upcoming nexus related change.
Notes
Notes: svn path=/head/; revision=167753
Diffstat (limited to 'sys/dev/wl')
-rw-r--r--sys/dev/wl/if_wl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c
index 474235ebb76d..17ad81a3e2fa 100644
--- a/sys/dev/wl/if_wl.c
+++ b/sys/dev/wl/if_wl.c
@@ -639,15 +639,11 @@ wl_deallocate_resources(device_t device)
struct wl_softc *sc = device_get_softc(device);
if (sc->res_irq != 0) {
- bus_deactivate_resource(device, SYS_RES_IRQ,
- sc->rid_irq, sc->res_irq);
bus_release_resource(device, SYS_RES_IRQ,
sc->rid_irq, sc->res_irq);
sc->res_irq = 0;
}
if (sc->res_ioport != 0) {
- bus_deactivate_resource(device, SYS_RES_IOPORT,
- sc->rid_ioport, sc->res_ioport);
bus_release_resource(device, SYS_RES_IOPORT,
sc->rid_ioport, sc->res_ioport);
sc->res_ioport = 0;