summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1998-12-31 12:09:03 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1998-12-31 12:09:03 +0000
commita8cb0d2f1387653618a41895241569b09ac43bbc (patch)
treefe634f4ee590e8325a6499e11edd94cd1b238cb2 /sys/dev
parentf178eadad00deb410fd6d0bfa8d25c2536b78b3c (diff)
Don't panic if the pcic irq is defined in the config-file.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/i82365_isa.c7
1 files changed, 3 insertions, 4 deletions
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);