diff options
Diffstat (limited to 'sys/arch/alpha/pci/sio_pic.c')
-rw-r--r-- | sys/arch/alpha/pci/sio_pic.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/arch/alpha/pci/sio_pic.c b/sys/arch/alpha/pci/sio_pic.c index b92e263e395..a219f89a30c 100644 --- a/sys/arch/alpha/pci/sio_pic.c +++ b/sys/arch/alpha/pci/sio_pic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sio_pic.c,v 1.10 1998/03/18 00:48:29 angelos Exp $ */ +/* $OpenBSD: sio_pic.c,v 1.11 1998/06/29 05:32:55 downsj Exp $ */ /* $NetBSD: sio_pic.c,v 1.16 1996/11/17 02:05:26 cgd Exp $ */ /* @@ -270,6 +270,17 @@ sio_intr_string(v, irq) return (irqstr); } +int +sio_intr_check(v, irq, type) + void *v; + int irq, type; +{ + if (irq > ICU_LEN || type == IST_NONE) + return (0); + + return (alpha_shared_intr_check(sio_intr, irq, type)); +} + void * sio_intr_establish(v, irq, type, level, fn, arg, name) void *v, *arg; |