diff options
author | peter <peter@FreeBSD.org> | 1999-04-24 06:46:10 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-04-24 06:46:10 +0000 |
commit | 57d6459b704f1bf2f77dc59b4dc0c6b25511a238 (patch) | |
tree | 62f8803e2a927c47be5900ef698d7b2d027d38c8 /sys/dev | |
parent | f0dd940a69b014ba40d7bb3c5bda6b2b50c24331 (diff) | |
download | FreeBSD-src-57d6459b704f1bf2f77dc59b4dc0c6b25511a238.zip FreeBSD-src-57d6459b704f1bf2f77dc59b4dc0c6b25511a238.tar.gz |
Typo, use SYS_RES_IRQ when releasing the irq resource, not SYS_RES_IOPORT.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/buslogic/bt_eisa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/buslogic/bt_eisa.c b/sys/dev/buslogic/bt_eisa.c index 06cba3a..19cdd8c 100644 --- a/sys/dev/buslogic/bt_eisa.c +++ b/sys/dev/buslogic/bt_eisa.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bt_eisa.c,v 1.4 1999/04/18 15:50:33 peter Exp $ + * $Id: bt_eisa.c,v 1.5 1999/04/20 09:53:05 dfr Exp $ */ #include "eisa.h" @@ -152,7 +152,7 @@ bt_eisa_release_resources(device_t dev) if (bt->port) bus_release_resource(dev, SYS_RES_IOPORT, 0, bt->port); if (bt->irq) - bus_release_resource(dev, SYS_RES_IOPORT, 0, bt->irq); + bus_release_resource(dev, SYS_RES_IRQ, 0, bt->irq); bt_free_softc(dev); } |