diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-14 04:22:52 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-14 04:22:52 +0000 |
commit | 57e913724565c7748bfae4ac709c1e3363bc2c59 (patch) | |
tree | bd7a35fe262b45f383a3c2b38b0e6c0f1887c20e /sys | |
parent | e53592829c4a7be8d00e6b67504c839b9974b40b (diff) |
fix debug printfs, ipl name
Diffstat (limited to 'sys')
-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); |