From 8a76d52f07c65a7967e01ed451dcf6b56866e6f3 Mon Sep 17 00:00:00 2001 From: miod Date: Mon, 25 May 2015 15:19:22 +0000 Subject: [PATCH] Initialize ipa_ndrq in isascan() too... --- sys/dev/isa/isa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.20.1