diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-31 09:17:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-31 09:17:59 +0000 |
commit | 2e3726e915ae695604a012b2f1e6e60ac3754ceb (patch) | |
tree | 19dd80533d24969f106acd95c5cd7fef567768f3 /sys/dev | |
parent | b8fb19a05702431b353055a718f2de5401350912 (diff) |
semantic change: prefer unshared intr, settle for level shared. this will still fail in some cases
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isa/i82365_isa.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/i82365_isasubr.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/i82365_isa.c b/sys/dev/isa/i82365_isa.c index 1bd07bead49..5275da4d448 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.2 1998/12/27 00:27:18 deraadt Exp $ */ +/* $OpenBSD: i82365_isa.c,v 1.3 1998/12/31 09:17:43 deraadt Exp $ */ /* $NetBSD: i82365_isa.c,v 1.11 1998/06/09 07:25:00 thorpej Exp $ */ /* @@ -212,7 +212,7 @@ pcic_isa_attach(parent, self, aux) if (isa_intr_check(ic, pcic_isa_intr_list[i], ist) == 2) goto found; for (i = 0; i < npcic_isa_intr_list; i++) - if (isa_intr_check(ic, pcic_isa_intr_list[i], ist)) + if (isa_intr_check(ic, pcic_isa_intr_list[i], ist) == 1) goto found; printf("\n%s: can't allocate interrupt\n", sc->dev.dv_xname); return; diff --git a/sys/dev/isa/i82365_isasubr.c b/sys/dev/isa/i82365_isasubr.c index a4c853500ca..5c335864e97 100644 --- a/sys/dev/isa/i82365_isasubr.c +++ b/sys/dev/isa/i82365_isasubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_isasubr.c,v 1.3 1998/12/27 00:27:18 deraadt Exp $ */ +/* $OpenBSD: i82365_isasubr.c,v 1.4 1998/12/31 09:17:44 deraadt Exp $ */ /* $NetBSD: i82365_isasubr.c,v 1.1 1998/06/07 18:28:31 sommerfe Exp $ */ /* @@ -226,7 +226,7 @@ pcic_isa_chip_intr_establish(pch, pf, ipl, fct, arg) if (isa_intr_check(ic, pcic_isa_intr_list[i], ist) == 2) goto found; for (i = 0; i < npcic_isa_intr_list; i++) - if (isa_intr_check(ic, pcic_isa_intr_list[i], ist)) + if (isa_intr_check(ic, pcic_isa_intr_list[i], ist) == 1) goto found; return (NULL); |