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/ed | |
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/ed')
-rw-r--r-- | sys/dev/ed/if_ed.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index 1e0ae77..7851825 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -223,22 +223,16 @@ ed_release_resources(device_t dev) struct ed_softc *sc = device_get_softc(dev); if (sc->port_res) { - bus_deactivate_resource(dev, SYS_RES_IOPORT, - sc->port_rid, sc->port_res); bus_release_resource(dev, SYS_RES_IOPORT, sc->port_rid, sc->port_res); sc->port_res = 0; } if (sc->mem_res) { - bus_deactivate_resource(dev, SYS_RES_MEMORY, - sc->mem_rid, sc->mem_res); bus_release_resource(dev, SYS_RES_MEMORY, sc->mem_rid, sc->mem_res); sc->mem_res = 0; } if (sc->irq_res) { - bus_deactivate_resource(dev, SYS_RES_IRQ, - sc->irq_rid, sc->irq_res); bus_release_resource(dev, SYS_RES_IRQ, sc->irq_rid, sc->irq_res); sc->irq_res = 0; |