From: miod Date: Mon, 25 May 2015 15:19:22 +0000 (+0000) Subject: Initialize ipa_ndrq in isascan() too... X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8a76d52f07c65a7967e01ed451dcf6b56866e6f3;p=openbsd Initialize ipa_ndrq in isascan() too... --- diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c index ee65a74721b..d5d6f846ed0 100644 --- a/sys/dev/isa/isa.c +++ b/sys/dev/isa/isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isa.c,v 1.45 2015/05/24 15:25:34 miod Exp $ */ +/* $OpenBSD: isa.c,v 1.46 2015/05/25 15:19:22 miod Exp $ */ /* $NetBSD: isa.c,v 1.85 1996/05/14 00:31:04 thorpej Exp $ */ /* @@ -214,6 +214,7 @@ isascan(parent, match) ia.ipa_nirq = ia.ia_irq == IRQUNK ? 0 : 1; ia.ia_drq = cf->cf_drq; ia.ia_drq2 = cf->cf_drq2; + ia.ipa_ndrq = 2; ia.ia_delaybah = sc->sc_delaybah; if (cf->cf_fstate == FSTATE_STAR) {