From d580a5c063fae7dde1355e1b4cb0847f837fca78 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sat, 24 Dec 2005 04:42:20 +0000 Subject: establish interrupt at IPL_TTY instead of IPL_HIGH, so it doesn't reenter comstart; pr #4947 and fix from Kudo Takashi, ok deraadt@ --- sys/dev/puc/com_puc.c | 4 ++-- 1 file 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"); -- cgit v1.2.3