summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/sio_pic.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1998-06-29 05:32:58 +0000
committerJason Downs <downsj@cvs.openbsd.org>1998-06-29 05:32:58 +0000
commitd4c61825b8a47a2b5d7376e28809ece79a1746ef (patch)
treef35af3b84fcf9b572bbb9e129031db3644a32409 /sys/arch/alpha/pci/sio_pic.c
parenta064358b7620366ced78ca694ebc5e2bfcf073cc (diff)
isa_intr_check(), alpha style.
Diffstat (limited to 'sys/arch/alpha/pci/sio_pic.c')
-rw-r--r--sys/arch/alpha/pci/sio_pic.c13
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;