summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/pci/sio_pic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/alpha/pci/sio_pic.c b/sys/arch/alpha/pci/sio_pic.c
index b082b42304d..4b35058438e 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.22 2003/05/11 19:41:09 deraadt Exp $ */
+/* $OpenBSD: sio_pic.c,v 1.23 2004/06/18 21:33:42 miod Exp $ */
/* $NetBSD: sio_pic.c,v 1.28 2000/06/06 03:10:13 thorpej Exp $ */
/*-
@@ -548,7 +548,7 @@ sio_iointr(framep, vec)
irq = (vec - 0x800) >> 4;
#ifdef DIAGNOSTIC
- if (irq > ICU_LEN || irq < 0)
+ if (irq >= ICU_LEN || irq < 0)
panic("sio_iointr: irq out of range (%d)", irq);
#endif