summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/fd.c')
-rw-r--r--sys/arch/sparc/dev/fd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c
index 29af5b3073b..11ee021ee3c 100644
--- a/sys/arch/sparc/dev/fd.c
+++ b/sys/arch/sparc/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.26 2002/03/14 01:26:42 millert Exp $ */
+/* $OpenBSD: fd.c,v 1.27 2002/04/28 03:51:19 art Exp $ */
/* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */
/*-
@@ -250,7 +250,7 @@ void fd_do_eject(struct fd_softc *);
void fd_mountroot_hook(struct device *);
static void fdconf(struct fdc_softc *);
-#if PIL_FDSOFT == 4
+#if IPL_FDSOFT == 4
#define IE_FDSOFT IE_L4
#else
#error 4
@@ -260,7 +260,7 @@ static void fdconf(struct fdc_softc *);
#if defined(SUN4M)
#define FD_SET_SWINTR do { \
if (CPU_ISSUN4M) \
- raise(0, PIL_FDSOFT); \
+ raise(0, IPL_FDSOFT); \
else \
ienab_bis(IE_L4); \
} while(0)
@@ -395,7 +395,7 @@ fdcattach(parent, self, aux)
#endif
fdc->sc_sih.ih_fun = (void *)fdcswintr;
fdc->sc_sih.ih_arg = fdc;
- intr_establish(PIL_FDSOFT, &fdc->sc_sih);
+ intr_establish(IPL_FDSOFT, &fdc->sc_sih);
/* Assume a 82077 */
fdc->sc_reg_msr = &((struct fdreg_77 *)fdc->sc_reg)->fd_msr;
@@ -446,7 +446,7 @@ fdcattach(parent, self, aux)
evcnt_attach(&fdc->sc_dev, "intr", &fdc->sc_intrcnt);
- printf(" pri %d, softpri %d: chip 8207%c\n", pri, PIL_FDSOFT, code);
+ printf(" pri %d, softpri %d: chip 8207%c\n", pri, IPL_FDSOFT, code);
/*
* Controller and drives are represented by one and the same