summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-08-01 19:09:20 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-08-01 19:09:20 +0000
commitaa290e2b95d2b80a026e91c478595db5d81400d1 (patch)
tree466f6a77030103231da3914196875a3453656791 /sys/arch/mac68k
parent5b456408955576b0801bda69806de69270a22e13 (diff)
unmap correct size, oops
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/grf_iv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/grf_iv.c b/sys/arch/mac68k/dev/grf_iv.c
index 6e344b4b13e..c4335be40f5 100644
--- a/sys/arch/mac68k/dev/grf_iv.c
+++ b/sys/arch/mac68k/dev/grf_iv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grf_iv.c,v 1.24 2005/08/01 11:19:33 martin Exp $ */
+/* $OpenBSD: grf_iv.c,v 1.25 2005/08/01 19:09:19 martin Exp $ */
/* $NetBSD: grf_iv.c,v 1.17 1997/02/20 00:23:27 scottr Exp $ */
/*
@@ -177,7 +177,7 @@ grfiv_attach(parent, self, aux)
panic("failed to map space for DAFB regs.");
}
printf(": DAFB: Monitor sense %x.\n", R4(sc,0x1C)&7);
- bus_space_unmap(sc->sc_tag, sc->sc_regh, 0x1000);
+ bus_space_unmap(sc->sc_tag, sc->sc_regh, 0x20);
break;
default:
printf(": Internal Video\n");