aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorSteve Passe <fsmp@FreeBSD.org>1997-08-21 07:36:44 +0000
committerSteve Passe <fsmp@FreeBSD.org>1997-08-21 07:36:44 +0000
commit21197eb2302730a288c4b38d6268dfe4ac4d53a9 (patch)
tree29b04104ec264f729b43aa6c52c21ce8b6a2df51 /sys/dev
parent99216c60619d74a60a5dc84a85d946c16a4a88a5 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/eisa/eisaconf.c5
-rw-r--r--sys/dev/vx/if_vx_eisa.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c
index 18f4681dbfe5d..7153df6ff03f2 100644
--- a/sys/dev/eisa/eisaconf.c
+++ b/sys/dev/eisa/eisaconf.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: eisaconf.c,v 1.27 1997/03/13 18:04:02 joerg Exp $
+ * $Id: eisaconf.c,v 1.28 1997/07/20 06:31:09 bde Exp $
*/
#include "opt_eisa.h"
@@ -42,6 +42,9 @@
#include <i386/isa/icu.h> /* Hmmm. Interrupt stuff? */
+#include <i386/isa/intr_machdep.h>
+#include <sys/interrupt.h>
+
struct eisa_device_node{
struct eisa_device dev;
struct eisa_device_node *next;
diff --git a/sys/dev/vx/if_vx_eisa.c b/sys/dev/vx/if_vx_eisa.c
index f185164674bb1..73735f5ce5a9d 100644
--- a/sys/dev/vx/if_vx_eisa.c
+++ b/sys/dev/vx/if_vx_eisa.c
@@ -163,7 +163,7 @@ vx_eisa_attach(e_dev)
level_intr = FALSE;
- if (eisa_reg_intr(e_dev, irq, vxintr, (void *) sc, &net_imask,
+ if (eisa_reg_intr(e_dev, irq, (void (*)(void *)) vxintr, (void *) sc, &net_imask,
/* shared == */ level_intr)) {
vxfree(sc);
return -1;
@@ -176,7 +176,7 @@ vx_eisa_attach(e_dev)
if (eisa_enable_intr(e_dev, irq)) {
vxfree(sc);
- eisa_release_intr(e_dev, irq, vxintr);
+ eisa_release_intr(e_dev, irq, (void (*)(void *)) vxintr);
return -1;
}
return 0;