summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/ipic.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-11 10:12:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-06-11 10:12:59 +0000
commitbdd1db152fb75eb7de037e218459b5e7116ceb22 (patch)
treecf8883f1e11daa6cb55dbf36720f013240aca74b /sys/arch/mvme68k/dev/ipic.c
parent30df4bbf6866a844e07d0bfe7dd841dcbf4e0419 (diff)
use intr_findvec()
Diffstat (limited to 'sys/arch/mvme68k/dev/ipic.c')
-rw-r--r--sys/arch/mvme68k/dev/ipic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/ipic.c b/sys/arch/mvme68k/dev/ipic.c
index 9b21d7794f4..b84736f65e1 100644
--- a/sys/arch/mvme68k/dev/ipic.c
+++ b/sys/arch/mvme68k/dev/ipic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipic.c,v 1.3 1996/04/28 11:06:06 deraadt Exp $ */
+/* $OpenBSD: ipic.c,v 1.4 1996/06/11 10:12:58 deraadt Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -138,7 +138,7 @@ ipicscan(parent, child, args)
oca.ca_ipl = cf->cf_loc[2];
oca.ca_vec = cf->cf_loc[3];
if (oca.ca_ipl > 0 && oca.ca_vec == -1)
- oca.ca_vec = intr_freevec();
+ oca.ca_vec = intr_findvec(255, 0);
oca.ca_master = (void *)sc;
oca.ca_name = cf->cf_driver->cd_name;