summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pccbb.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-12-23 20:52:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-12-23 20:52:24 +0000
commit062f023f951d71abb566790fa2f2a7d42fc84499 (patch)
tree279bd72b0403893578977d99295f3a872ecea4ea /sys/dev/pci/pccbb.c
parentcb7b67b814a44f86b442ef859c4c35e383e93d3c (diff)
do not panic if there is no IPL_IMP
Diffstat (limited to 'sys/dev/pci/pccbb.c')
-rw-r--r--sys/dev/pci/pccbb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c
index 9bbb07f4462..c6b01874fae 100644
--- a/sys/dev/pci/pccbb.c
+++ b/sys/dev/pci/pccbb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccbb.c,v 1.32 2003/06/25 21:53:45 mickey Exp $ */
+/* $OpenBSD: pccbb.c,v 1.33 2003/12/23 20:52:23 mickey Exp $ */
/* $NetBSD: pccbb.c,v 1.42 2000/06/16 23:41:35 cgd Exp $ */
/*
@@ -1024,8 +1024,10 @@ pccbbintr_function(sc)
s = splclock();
} else if (pil->pil_level == IPL_AUDIO) {
s = splaudio();
+#ifdef IPL_IMP
} else if (pil->pil_level == IPL_IMP) {
s = splimp();
+#endif
} else if (pil->pil_level == IPL_TTY) {
s = spltty();
#if 0