diff options
author | 1999-08-14 04:22:51 +0000 | |
---|---|---|
committer | 1999-08-14 04:22:51 +0000 | |
commit | 0a7c46e8f6e63e8e16a03bd0da45b3aa8942bc99 (patch) | |
tree | 175238b7567b5685232f2bf4b9e2ce4401aa2bbd | |
parent | this work, smirk, rock, sock (rhymes by fries@ ;) (diff) | |
download | wireguard-openbsd-0a7c46e8f6e63e8e16a03bd0da45b3aa8942bc99.tar.xz wireguard-openbsd-0a7c46e8f6e63e8e16a03bd0da45b3aa8942bc99.zip |
fix debug printfs, ipl name
-rw-r--r-- | sys/arch/hppa/gsc/gscbus.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/hppa/gsc/gscbus.c b/sys/arch/hppa/gsc/gscbus.c index 4352671d75f..78495e92430 100644 --- a/sys/arch/hppa/gsc/gscbus.c +++ b/sys/arch/hppa/gsc/gscbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gscbus.c,v 1.5 1999/07/12 18:10:35 mickey Exp $ */ +/* $OpenBSD: gscbus.c,v 1.6 1999/08/14 04:22:51 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -142,7 +142,7 @@ gscattach(parent, self, aux) printf ("\n"); - sc->sc_ih = cpu_intr_establish(IPL_HIGH, ga->ga_irq, + sc->sc_ih = cpu_intr_establish(IPL_IO, ga->ga_irq, gsc_intr, sc, sc->sc_dev.dv_xname); /* DMA guts */ sc->sc_dmatag._cookie = sc; @@ -230,7 +230,7 @@ gsc_intr(v) register u_int32_t mask; int ret; -#ifdef GSCDEBUG +#ifdef GSCDEBUG_INTR printf("gsc_intr(%p)\n", v); #endif ret = 0; @@ -241,12 +241,12 @@ gsc_intr(v) i = ffs(mask) - 1; iv = &sc->sc_intrvs[i]; -#ifdef GSCDEBUG +#ifdef GSCDEBUG_INTR printf("gsc_intr: got mask=0x%08x i=%d iv=%p\n", mask, i, iv); #endif if (iv->handler) { int s; -#ifdef GSCDEBUG +#ifdef GSCDEBUG_INTR printf("gsc_intr: calling %p for irq %d\n", v, i); #endif s = splx(iv->pri); |