summaryrefslogtreecommitdiff
path: root/sys/dev/puc/com_puc.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2005-12-24 04:42:20 +0000
committerDamien Miller <djm@cvs.openbsd.org>2005-12-24 04:42:20 +0000
commitd580a5c063fae7dde1355e1b4cb0847f837fca78 (patch)
tree19f13e62744a2499a9a39db8f87de8140ee7d3e8 /sys/dev/puc/com_puc.c
parentd145f33f654a052ec3f7347248ec50be1f628f35 (diff)
establish interrupt at IPL_TTY instead of IPL_HIGH, so it doesn't
reenter comstart; pr #4947 and fix from Kudo Takashi, ok deraadt@
Diffstat (limited to 'sys/dev/puc/com_puc.c')
-rw-r--r--sys/dev/puc/com_puc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/puc/com_puc.c b/sys/dev/puc/com_puc.c
index 13ce0303bae..281398e4070 100644
--- a/sys/dev/puc/com_puc.c
+++ b/sys/dev/puc/com_puc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_puc.c,v 1.10 2005/11/21 18:16:42 millert Exp $ */
+/* $OpenBSD: com_puc.c,v 1.11 2005/12/24 04:42:19 djm Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
@@ -109,7 +109,7 @@ com_puc_attach(parent, self, aux)
/* Grab a PCI interrupt. */
intrstr = pci_intr_string(pa->pc, pa->intrhandle);
sc->sc_ih = pci_intr_establish(pa->pc, pa->intrhandle,
- IPL_HIGH, comintr, sc,
+ IPL_TTY, comintr, sc,
sc->sc_dev.dv_xname);
if (sc->sc_ih == NULL) {
printf(": couldn't establish interrupt");