1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Typo, use SYS_RES_IRQ when releasing the irq resource, not SYS_RES_IOPORT.

This commit is contained in:
Peter Wemm 1999-04-24 06:46:10 +00:00
parent 5d6d02b1e2
commit 0483b5b696
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45984
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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);
}