diff options
| author | 2002-04-28 03:51:19 +0000 | |
|---|---|---|
| committer | 2002-04-28 03:51:19 +0000 | |
| commit | bc371eb782344e78f9692d4a1bc8cd60cd48cda7 (patch) | |
| tree | a2bfd3dcbdd31d15089237b580629027f6b4e1b1 /sys/arch/sparc/dev/magma.c | |
| parent | ip6 corrections; pb@sysfive.com (diff) | |
| download | wireguard-openbsd-bc371eb782344e78f9692d4a1bc8cd60cd48cda7.tar.xz wireguard-openbsd-bc371eb782344e78f9692d4a1bc8cd60cd48cda7.zip | |
Rename all PIL_* constants to IPL_* to match other archs and make them
usable in MD code in the future.
deraadt@ ok
Diffstat (limited to 'sys/arch/sparc/dev/magma.c')
| -rw-r--r-- | sys/arch/sparc/dev/magma.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c index 9a1ffefdb3c..be53eae701f 100644 --- a/sys/arch/sparc/dev/magma.c +++ b/sys/arch/sparc/dev/magma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magma.c,v 1.11 2002/03/14 03:48:56 jason Exp $ */ +/* $OpenBSD: magma.c,v 1.12 2002/04/28 03:51:19 art Exp $ */ /* * magma.c * @@ -71,11 +71,11 @@ /* * Select tty soft interrupt bit based on TTY ipl. (stole from zs.c) */ -#if PIL_TTY == 1 +#if IPL_TTY == 1 # define IE_MSOFT IE_L1 -#elif PIL_TTY == 4 +#elif IPL_TTY == 4 # define IE_MSOFT IE_L4 -#elif PIL_TTY == 6 +#elif IPL_TTY == 6 # define IE_MSOFT IE_L6 #else # error "no suitable software interrupt bit" @@ -396,7 +396,7 @@ void *base; } dprintf((" addr 0x%x", sc)); - printf(" pri %d softpri %d:", ra->ra_intr[0].int_pri, PIL_TTY); + printf(" pri %d softpri %d:", ra->ra_intr[0].int_pri, IPL_TTY); printf(" %s\n", card->mb_realname); sc->ms_board = card; @@ -469,7 +469,7 @@ void *base; sc->ms_softint.ih_fun = magma_soft; sc->ms_softint.ih_arg = sc; - intr_establish(PIL_TTY, &sc->ms_softint); + intr_establish(IPL_TTY, &sc->ms_softint); } /* @@ -686,7 +686,7 @@ int needsoftint = 0; if( needsoftint ) { /* trigger the soft interrupt */ #if defined(SUN4M) if( CPU_ISSUN4M ) - raise(0, PIL_TTY); + raise(0, IPL_TTY); else #endif ienab_bis(IE_MSOFT); |
