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/arch/i386/isa/isa_machdep.c | |
parent | b8fb19a05702431b353055a718f2de5401350912 (diff) |
semantic change: prefer unshared intr, settle for level shared. this will still fail in some cases
Diffstat (limited to 'sys/arch/i386/isa/isa_machdep.c')
-rw-r--r-- | sys/arch/i386/isa/isa_machdep.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/isa_machdep.c b/sys/arch/i386/isa/isa_machdep.c index 2193fddeb99..79019138dc7 100644 --- a/sys/arch/i386/isa/isa_machdep.c +++ b/sys/arch/i386/isa/isa_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isa_machdep.c,v 1.32 1998/12/27 00:27:16 deraadt Exp $ */ +/* $OpenBSD: isa_machdep.c,v 1.33 1998/12/31 09:17:52 deraadt Exp $ */ /* $NetBSD: isa_machdep.c,v 1.22 1997/06/12 23:57:32 thorpej Exp $ */ #define ISA_DMA_STATS @@ -446,7 +446,9 @@ isa_intr_alloc(ic, mask, type, irq) /* * Just check to see if an IRQ is available/can be shared. - * 0 = no match, 1 = ok match, 2 = great match + * 0 = interrupt not available + * 1 = interrupt shareable + * 2 = interrupt all to ourself */ int isa_intr_check(ic, irq, type) @@ -464,7 +466,7 @@ isa_intr_check(ic, irq, type) case IST_LEVEL: if (type != intrtype[irq]) return (0); - return (2); + return (1); break; case IST_EDGE: case IST_PULSE: |