summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/grf_mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mac68k/dev/grf_mv.c')
-rw-r--r--sys/arch/mac68k/dev/grf_mv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mac68k/dev/grf_mv.c b/sys/arch/mac68k/dev/grf_mv.c
index d4e66911792..fe08c3715e6 100644
--- a/sys/arch/mac68k/dev/grf_mv.c
+++ b/sys/arch/mac68k/dev/grf_mv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grf_mv.c,v 1.23 2005/06/12 20:51:29 martin Exp $ */
+/* $OpenBSD: grf_mv.c,v 1.24 2005/07/23 23:28:58 martin Exp $ */
/* $NetBSD: grf_nubus.c,v 1.62 2001/01/22 20:27:02 briggs Exp $ */
/*
@@ -69,7 +69,7 @@ static int grfmv_intr_radius_gsc(void *vsc);
static int grfmv_intr_radius_gx(void *vsc);
static int grfmv_mode(struct grf_softc *gp, int cmd, void *arg);
-static caddr_t grfmv_phys(struct grf_softc *gp, vm_offset_t addr);
+static caddr_t grfmv_phys(struct grf_softc *gp, vaddr_t addr);
static int grfmv_match(struct device *, void *, void *);
static void grfmv_attach(struct device *, struct device *, void *);
@@ -400,7 +400,7 @@ grfmv_mode(gp, cmd, arg)
static caddr_t
grfmv_phys(gp, addr)
struct grf_softc *gp;
- vm_offset_t addr;
+ vaddr_t addr;
{
return (caddr_t)(NUBUS_SLOT2PA(gp->sc_slot->slot) +
(addr - gp->sc_regh)); /* XXX evil hack */