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/cm | |
parent | 4eaa43e6f4518e4b81e5b18e160ed2f177b749a9 (diff) | |
download | src-test2-41f5bd0f6dc8a92fde5135b6c674e35d4b96501e.tar.gz src-test2-41f5bd0f6dc8a92fde5135b6c674e35d4b96501e.zip |
Notes
Diffstat (limited to 'sys/dev/cm')
-rw-r--r-- | sys/dev/cm/smc90cx6.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/cm/smc90cx6.c b/sys/dev/cm/smc90cx6.c index e1722ec9c5c8..e8645ca007a7 100644 --- a/sys/dev/cm/smc90cx6.c +++ b/sys/dev/cm/smc90cx6.c @@ -139,22 +139,16 @@ cm_release_resources(dev) struct cm_softc *sc = device_get_softc(dev); if (sc->port_res != NULL) { - bus_deactivate_resource(dev, SYS_RES_IOPORT, - 0, sc->port_res); bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port_res); sc->port_res = NULL; } if (sc->mem_res != NULL) { - bus_deactivate_resource(dev, SYS_RES_MEMORY, - 0, sc->mem_res); bus_release_resource(dev, SYS_RES_MEMORY, 0, sc->mem_res); sc->mem_res = NULL; } if (sc->irq_res != NULL) { - bus_deactivate_resource(dev, SYS_RES_IRQ, - 0, sc->irq_res); bus_release_resource(dev, SYS_RES_IRQ, 0, sc->irq_res); sc->irq_res = NULL; |