From a8cb0d2f1387653618a41895241569b09ac43bbc Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Thu, 31 Dec 1998 12:09:03 +0000 Subject: Don't panic if the pcic irq is defined in the config-file. --- sys/dev/isa/i82365_isa.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/dev/isa/i82365_isa.c b/sys/dev/isa/i82365_isa.c index 5275da4d448..4d15eba4a1f 100644 --- a/sys/dev/isa/i82365_isa.c +++ b/sys/dev/isa/i82365_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_isa.c,v 1.3 1998/12/31 09:17:43 deraadt Exp $ */ +/* $OpenBSD: i82365_isa.c,v 1.4 1998/12/31 12:09:02 fgsch Exp $ */ /* $NetBSD: i82365_isa.c,v 1.11 1998/06/09 07:25:00 thorpej Exp $ */ /* @@ -216,10 +216,9 @@ pcic_isa_attach(parent, self, aux) goto found; printf("\n%s: can't allocate interrupt\n", sc->dev.dv_xname); return; - } - found: - sc->irq = pcic_isa_intr_list[i]; + sc->irq = pcic_isa_intr_list[i]; + } printf(": using irq %d", sc->irq); -- cgit v1.2.3