summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
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);