summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/hpib.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-01-12 15:13:47 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-01-12 15:13:47 +0000
commite661b0e07a7f4c778ac8e9b5eb341a7ad9795c2b (patch)
tree6158c02b8e503faa614ccff77b3cca01e9b912e4 /sys/arch/hp300/dev/hpib.c
parentd470dc6647ff9a7e3f6d00b205d12ab7428cc092 (diff)
Mostly sync to NetBSD-current of 011196. Compiles, links, boots to single
user. KNOWN NOT WORKING: * DIO-II devices * Dynamic executables NOT EVEN TRIED: * New config support
Diffstat (limited to 'sys/arch/hp300/dev/hpib.c')
-rw-r--r--sys/arch/hp300/dev/hpib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/hpib.c b/sys/arch/hp300/dev/hpib.c
index 4d39539f24f..fd8f0b969c8 100644
--- a/sys/arch/hp300/dev/hpib.c
+++ b/sys/arch/hp300/dev/hpib.c
@@ -1,4 +1,5 @@
-/* $NetBSD: hpib.c,v 1.9 1996/05/17 15:09:39 thorpej Exp $ */
+/* $OpenBSD: hpib.c,v 1.5 1997/01/12 15:12:45 downsj Exp $ */
+/* $NetBSD: hpib.c,v 1.12 1996/12/09 03:16:27 thorpej Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@@ -135,7 +136,8 @@ hpibattach(hc)
hs->sc_sq.dq_forw = hs->sc_sq.dq_back = &hs->sc_sq;
/* Establish the interrupt handler. */
- isrlink(hpibintr, hs, hc->hp_ipl, ISRPRI_BIO);
+ (void) isrlink(hpibintr, hs, hc->hp_ipl, ISRPRI_BIO);
+ dmacomputeipl();
/* Reset the controller, display what we've seen, and we're done. */
hpibreset(hc->hp_unit);