diff options
author | 2015-05-24 15:25:34 +0000 | |
---|---|---|
committer | 2015-05-24 15:25:34 +0000 | |
commit | 60dbe9c75a7010593f778888cf1f110e740994f8 (patch) | |
tree | 2024801b63bc80474caf91e779050f903d553a2f | |
parent | add the chromebook board id the exynos code uses (diff) | |
download | wireguard-openbsd-60dbe9c75a7010593f778888cf1f110e740994f8.tar.xz wireguard-openbsd-60dbe9c75a7010593f778888cf1f110e740994f8.zip |
Initialize ipa_nirq in isascan(). Gets rid of spurious irq locators being
printed for isadma(4).
-rw-r--r-- | sys/dev/isa/isa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c index d9474f9471f..ee65a74721b 100644 --- a/sys/dev/isa/isa.c +++ b/sys/dev/isa/isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isa.c,v 1.44 2015/05/21 19:29:31 miod Exp $ */ +/* $OpenBSD: isa.c,v 1.45 2015/05/24 15:25:34 miod Exp $ */ /* $NetBSD: isa.c,v 1.85 1996/05/14 00:31:04 thorpej Exp $ */ /* @@ -211,6 +211,7 @@ isascan(parent, match) ia.ia_maddr = cf->cf_maddr; ia.ia_msize = cf->cf_msize; ia.ia_irq = cf->cf_irq == 2 ? 9 : cf->cf_irq; + ia.ipa_nirq = ia.ia_irq == IRQUNK ? 0 : 1; ia.ia_drq = cf->cf_drq; ia.ia_drq2 = cf->cf_drq2; ia.ia_delaybah = sc->sc_delaybah; |